This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Some changes to the examine ("x") command


> 	* 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/gdb.base/default.exp: Update test case.

And this one checked in as well.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]