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] [3/8] Remove macro DECR_PC_AFTER_BREAK


Markus Deuling wrote:

> 	* gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
> 	gdbarch_decr_pc_after_break.
> 	* tracepoint.c (trace_dump_command): Likewise.
> 	* solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
> 	* linux-thread-db.c (check_event): Likewise.
> 	* linux-nat.c (cancel_breakpoints_callback): Likewise.
> 	* infrun.c (adjust_pc_after_break, normal_stop): Likewise.
> 	* frame.h: Likewise (comment).
> 	* dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
> 	* aix-thread.c (aix_thread_wait): Likewise.
> 	* gdbarch.c, gdbarch.h: Regenerate.

I've committed this, exepct for the following diff in gdbarch.c:

> @@ -1198,12 +1193,6 @@
>    fprintf_unfiltered (file,
>                        "gdbarch_dump: read_pc = <0x%lx>\n",
>                        (long) current_gdbarch->read_pc);
> -#ifdef REGISTER_NAME
> -  fprintf_unfiltered (file,
> -                      "gdbarch_dump: %s # %s\n",
> -                      "REGISTER_NAME(regnr)",
> -                      XSTRING (REGISTER_NAME (regnr)));
> -#endif
>    fprintf_unfiltered (file,
>                        "gdbarch_dump: register_name = <0x%lx>\n",
>                        (long) current_gdbarch->register_name);

which looks like the one that was missing from the REGISTER_NAME patch ;-)

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]