diff options
author | Tom Tromey <tromey@redhat.com> | 2013-08-20 15:12:53 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-08-20 15:12:53 +0000 |
commit | df30244622aff60b2b7a316ae9baa36ef22e5685 (patch) | |
tree | 026cbd1446dea70f896f9905576123641e62d0e7 /gdb/ChangeLog | |
parent | df6d5441760d6744b7c9e2cc0af4e234417c61b0 (diff) | |
download | gdb-df30244622aff60b2b7a316ae9baa36ef22e5685.zip gdb-df30244622aff60b2b7a316ae9baa36ef22e5685.tar.gz gdb-df30244622aff60b2b7a316ae9baa36ef22e5685.tar.bz2 |
fix PR python/15816
This fixes PR python/15816.
The bug here is that python-selftest.exp can fail:
No symbol "RETURN_MASK_ALL" in current context.
RETURN_MASK_ALL is a macro, so if macros do not end up in the
debuginfo (very typical) then the test fails.
It seemed simplest to me to simply turn the RETURN_MASK_ defines into
enum constants. This way they end up in the debuginfo and all is
well.
PR python/15816:
* exceptions.h (return_mask): Now an enum.
(RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL): Now
enum constants.
Built and regtested on x86-64 Fedora 18.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d11e226..2e0109e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2013-08-20 Tom Tromey <tromey@redhat.com> + PR python/15816: + * exceptions.h (return_mask): Now an enum. + (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL): Now + enum constants. + +2013-08-20 Tom Tromey <tromey@redhat.com> + * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use get_objfile_arch. * elfread.c (elf_rel_plt_read, elf_gnu_ifunc_record_cache) |