From a53f55d8dc0f06d47e6b1cded01c851d0d66a093 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sun, 28 Dec 2008 23:35:52 +0000 Subject: [PATCH] * gdbint.texinfo (gdbarch_cannot_fetch_register): Don't mention FETCH_INFERIOR_REGISTERS. (Native Conditionals): Remove obsolete CHILD_PREPARE_TO_STORE, FETCH_INFERIOR_REGISTERS descriptions. Remove gdbarch_get_longjmp_target descrition, since already described in Target Conditionals. Move gdbarch_fp0_regnum description to ... (Target Conditionals): ... here. --- gdb/doc/ChangeLog | 10 ++++++++++ gdb/doc/gdbint.texinfo | 39 ++++++--------------------------------- 2 files changed, 16 insertions(+), 33 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 94fc296..b79252c 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,13 @@ +2008-12-28 Pedro Alves + + * gdbint.texinfo (gdbarch_cannot_fetch_register): Don't mention + FETCH_INFERIOR_REGISTERS. + (Native Conditionals): Remove obsolete CHILD_PREPARE_TO_STORE, + FETCH_INFERIOR_REGISTERS descriptions. Remove + gdbarch_get_longjmp_target descrition, since already described in + Target Conditionals. Move gdbarch_fp0_regnum description to ... + (Target Conditionals): ... here. + 2008-12-16 Joel Brobecker * gdb.texinfo (Omissions from Ada): Add missing GDB prompt in diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 88dd7f9..f4d47ed 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -3509,8 +3509,7 @@ This method has been replaced by @code{gdbarch_push_dummy_code} @item int gdbarch_cannot_fetch_register (@var{gdbarch}, @var{regum}) @findex gdbarch_cannot_fetch_register This function should return nonzero if @var{regno} cannot be fetched -from an inferior process. This is only relevant if -@code{FETCH_INFERIOR_REGISTERS} is not defined. +from an inferior process. @item int gdbarch_cannot_store_register (@var{gdbarch}, @var{regnum}) @findex gdbarch_cannot_store_register @@ -3525,6 +3524,11 @@ Return non-zero if register @var{regnum} represents data values of type @var{type} in a non-standard form. @xref{Target Architecture Definition, , Using Different Register and Memory Data Representations}. +@item int gdbarch_fp0_regnum (@var{gdbarch}) +@findex gdbarch_fp0_regnum +This function returns the number of the first floating point register, +if the machine has such registers. Otherwise, it returns -1. + @item CORE_ADDR gdbarch_decr_pc_after_break (@var{gdbarch}) @findex gdbarch_decr_pc_after_break This function shall return the amount by which to decrement the PC after the @@ -4517,37 +4521,6 @@ undefined) in @file{nm-@var{system}.h}. @table @code -@item CHILD_PREPARE_TO_STORE -@findex CHILD_PREPARE_TO_STORE -If the machine stores all registers at once in the child process, then -define this to ensure that all values are correct. This usually entails -a read from the child. - -[Note that this is incorrectly defined in @file{xm-@var{system}.h} files -currently.] - -@item FETCH_INFERIOR_REGISTERS -@findex FETCH_INFERIOR_REGISTERS -Define this if the native-dependent code will provide its own routines -@code{fetch_inferior_registers} and @code{store_inferior_registers} in -@file{@var{host}-nat.c}. If this symbol is @emph{not} defined, and -@file{infptrace.c} is included in this configuration, the default -routines in @file{infptrace.c} are used for these functions. - -@item int gdbarch_fp0_regnum (@var{gdbarch}) -@findex gdbarch_fp0_regnum -This functions normally returns the number of the first floating -point register, if the machine has such registers. As such, it would -appear only in target-specific code. However, @file{/proc} support uses this -to decide whether floats are in use on this target. - -@item int gdbarch_get_longjmp_target (@var{gdbarch}) -@findex gdbarch_get_longjmp_target -This function determines the target PC address that @code{longjmp} will jump to, -assuming that we have just stopped at a longjmp breakpoint. It takes a -@code{CORE_ADDR *} as argument, and stores the target PC value through this -pointer. It examines the current state of the machine as needed. - @item I386_USE_GENERIC_WATCHPOINTS An x86-based machine can define this to use the generic x86 watchpoint support; see @ref{Algorithms, I386_USE_GENERIC_WATCHPOINTS}. -- 2.7.4