ChangeLog:
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 2 Jul 2009 12:14:01 +0000 (12:14 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 2 Jul 2009 12:14:01 +0000 (12:14 +0000)
commit5d3729b5d11ada0b369a965d4dcb40ace00e8d84
treef91748320ad3e1a17d87d5aed851ba2261126a07
parent78267919d631833aaba8deb8c2febf119f653227
ChangeLog:

* printcmd.c (next_gdbarch): New static variable.
(set_next_address, do_examine, x_command): Set it.
(decode_format): Use 'a' size to indicate width of an address.
(do_examine): Add GDBARCH argument.  Handle 'a' size.
(x_command): Pass architecture to do_examine.
Error if called without argument the first time.
(do_one_display): Pass architecture to do_examine.

(examine_i_type, examine_b_type, examine_h_type, examine_w_type,
examine_g_type): Remove.
(_initialize_printcmd): Do not initialize them.
(do_examine): Use builin_type_int... instead of examine_..._type.

testsuite/ChangeLog:

* gdb.base/default.exp: Update test case for "x" changes.
gdb/ChangeLog
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/default.exp