]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR exp/13907:
authorTom Tromey <tromey@redhat.com>
Fri, 18 May 2012 15:31:42 +0000 (15:31 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 18 May 2012 15:31:42 +0000 (15:31 +0000)
commit9cb709b6ba0111234528d4ead138d5b54fed6095
treea7f5ace4300361d3c46c18e28cf185fc50e8db98
parentb012acddd87cb89dc4b357adf458511232c58bfe
PR exp/13907:
* valprint.h (struct value_print_options) <symbol_print>: New
field.
* valprint.c (user_print_options): Add default for symbol_print.
(show_symbol_print): New function.
(generic_val_print): Respect symbol_print.
(_initialize_valprint): Add "print symbol" setting.
* f-valprint.c (f_val_print): Respect symbol_print.
* c-valprint.c (c_val_print): Respect symbol_print.
* NEWS: Update.
* printcmd.c (print_address_symbolic): Return int.  Ignore some
zero-size symbols.
(print_address_demangle): Return int.
* defs.h: (print_address_symbolic): Return int.
* value.h (print_address_demangle): Return int.
doc
* gdb.texinfo (Print Settings): Document 'set print symbol'.
testsuite
* gdb.mi/mi-var-cmd.exp: Update.
* gdb.objc/basicclass.exp (do_objc_tests): Update.
* gdb.cp/virtbase.exp: Update.
* gdb.cp/classes.exp (test_static_members): Update.
* gdb.cp/casts.exp: Update.
* gdb.base/pointers.exp: Update.
* gdb.base/funcargs.exp (pointer_args): Update.
(structs_by_reference): Update.
* gdb.base/find.exp: Update.
* gdb.base/call-strs.exp: Send "set print symbol off".
* gdb.base/call-ar-st.exp: Update.
* gdb.ada/fun_addr.exp: Update.
* gdb.base/printcmds.exp (test_print_symbol): New proc.
Call it.
(test_print_repeats_10, test_print_strings)
(test_print_char_arrays): Update.
25 files changed:
gdb/ChangeLog
gdb/NEWS
gdb/c-valprint.c
gdb/defs.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/f-valprint.c
gdb/p-valprint.c
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/fun_addr.exp
gdb/testsuite/gdb.base/call-ar-st.exp
gdb/testsuite/gdb.base/call-strs.exp
gdb/testsuite/gdb.base/find.exp
gdb/testsuite/gdb.base/funcargs.exp
gdb/testsuite/gdb.base/pointers.exp
gdb/testsuite/gdb.base/printcmds.exp
gdb/testsuite/gdb.cp/casts.exp
gdb/testsuite/gdb.cp/classes.exp
gdb/testsuite/gdb.cp/virtbase.exp
gdb/testsuite/gdb.mi/mi-var-cmd.exp
gdb/testsuite/gdb.objc/basicclass.exp
gdb/valprint.c
gdb/valprint.h
gdb/value.h