]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdbint.texinfo: Rename formal parameters to gdbarch function
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 4 Jun 2009 15:15:48 +0000 (15:15 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Thu, 4 Jun 2009 15:15:48 +0000 (15:15 +0000)
protoypes from "current_gdbarch" to "gdbarch".

gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo

index e29f63a4ad49f26377b5b5ba2f953757fdde6121..8f51f179f293e075b6e226a75e6eedfc17059797 100644 (file)
@@ -1,3 +1,8 @@
+2009-06-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbint.texinfo: Rename formal parameters to gdbarch function
+       protoypes from "current_gdbarch" to "gdbarch".
+
 2009-05-28  Tom Tromey  <tromey@redhat.com>
 
        * gdb.texinfo (Basic Python): Change get_parameter to parameter.
index c25a18013ba1f8d91b9485033b8904ef0c5d2fc4..7acdf2c13025aff72b7895bf9490b8b37b4f6b33 100644 (file)
@@ -3313,7 +3313,7 @@ relationship between pointers and addresses.  These have default
 definitions, appropriate for architectures on which all pointers are
 simple unsigned byte addresses.
 
-@deftypefun CORE_ADDR gdbarch_pointer_to_address (struct gdbarch *@var{current_gdbarch}, struct type *@var{type}, char *@var{buf})
+@deftypefun CORE_ADDR gdbarch_pointer_to_address (struct gdbarch *@var{gdbarch}, struct type *@var{type}, char *@var{buf})
 Assume that @var{buf} holds a pointer of type @var{type}, in the
 appropriate format for the current architecture.  Return the byte
 address the pointer refers to.
@@ -3322,7 +3322,7 @@ This function may safely assume that @var{type} is either a pointer or a
 C@t{++} reference type.
 @end deftypefun
 
-@deftypefun void gdbarch_address_to_pointer (struct gdbarch *@var{current_gdbarch}, struct type *@var{type}, char *@var{buf}, CORE_ADDR @var{addr})
+@deftypefun void gdbarch_address_to_pointer (struct gdbarch *@var{gdbarch}, struct type *@var{type}, char *@var{buf}, CORE_ADDR @var{addr})
 Store in @var{buf} a pointer of type @var{type} representing the address
 @var{addr}, in the appropriate format for the current architecture.
 
@@ -3346,18 +3346,18 @@ following macros should be defined in order to disambiguate these
 types within @value{GDBN} as well as provide the added information to
 a @value{GDBN} user when printing type expressions.
 
-@deftypefun int gdbarch_address_class_type_flags (struct gdbarch *@var{current_gdbarch}, int @var{byte_size}, int @var{dwarf2_addr_class})
+@deftypefun int gdbarch_address_class_type_flags (struct gdbarch *@var{gdbarch}, int @var{byte_size}, int @var{dwarf2_addr_class})
 Returns the type flags needed to construct a pointer type whose size
 is @var{byte_size} and whose address class is @var{dwarf2_addr_class}.
 This function is normally called from within a symbol reader.  See
 @file{dwarf2read.c}.
 @end deftypefun
 
-@deftypefun {char *} gdbarch_address_class_type_flags_to_name (struct gdbarch *@var{current_gdbarch}, int @var{type_flags})
+@deftypefun {char *} gdbarch_address_class_type_flags_to_name (struct gdbarch *@var{gdbarch}, int @var{type_flags})
 Given the type flags representing an address class qualifier, return
 its name.
 @end deftypefun
-@deftypefun int gdbarch_address_class_name_to_type_flags (struct gdbarch *@var{current_gdbarch}, int @var{name}, int *@var{type_flags_ptr})
+@deftypefun int gdbarch_address_class_name_to_type_flags (struct gdbarch *@var{gdbarch}, int @var{name}, int *@var{type_flags_ptr})
 Given an address qualifier name, set the @code{int} referenced by @var{type_flags_ptr} to the type flags
 for that address class qualifier.
 @end deftypefun