From 125309b22a595cec0804bd4eaf0c40c688c5972f Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 21 May 2003 19:52:39 +0000 Subject: [PATCH] 2003-05-21 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Delete references to "extract_address" and "store_address". --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdbint.texinfo | 29 ----------------------------- 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 3ec3958226d..2cd0984205b 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-05-21 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Delete + references to "extract_address" and "store_address". + 2003-05-16 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Replace diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 3dbb81d1252..90b25750ca7 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -2601,35 +2601,6 @@ This function performs architecture-specific conversions as described above for @code{store_typed_address}. @end deftypefun - -@value{GDBN} also provides functions that do the same tasks, but assume -that pointers are simply byte addresses; they aren't sensitive to the -current architecture, beyond knowing the appropriate endianness. - -@deftypefun CORE_ADDR extract_address (void *@var{addr}, int len) -Extract a @var{len}-byte number from @var{addr} in the appropriate -endianness for the current architecture, and return it. Note that -@var{addr} refers to @value{GDBN}'s memory, not the inferior's. - -This function should only be used in architecture-specific code; it -doesn't have enough information to turn bits into a true address in the -appropriate way for the current architecture. If you can, use -@code{extract_typed_address} instead. -@end deftypefun - -@deftypefun void store_address (void *@var{addr}, int @var{len}, LONGEST @var{val}) -Store @var{val} at @var{addr} as a @var{len}-byte integer, in the -appropriate endianness for the current architecture. Note that -@var{addr} refers to a buffer in @value{GDBN}'s memory, not the -inferior's. - -This function should only be used in architecture-specific code; it -doesn't have enough information to turn a true address into bits in the -appropriate way for the current architecture. If you can, use -@code{store_typed_address} instead. -@end deftypefun - - Here are some macros which architectures can define to indicate the relationship between pointers and addresses. These have default definitions, appropriate for architectures on which all pointers are -- 2.30.2