aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-12-23 18:53:16 +0000
committerMark Kettenis <kettenis@gnu.org>2002-12-23 18:53:16 +0000
commitc133ab7a4106e56d51f61dda8ab0598eb9dcd955 (patch)
treed39af3d153522dbd952a07628ad55c7d352a6073 /gdb/doc
parent1086bc0938c82a66fcd42433debba17dabd494af (diff)
downloadgdb-c133ab7a4106e56d51f61dda8ab0598eb9dcd955.zip
gdb-c133ab7a4106e56d51f61dda8ab0598eb9dcd955.tar.gz
gdb-c133ab7a4106e56d51f61dda8ab0598eb9dcd955.tar.bz2
* gdbint.texinfo (Target Architecture Definition): Update
description of gdbarch_register_osabi.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdbint.texinfo7
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 9e3e6b4..cbf6143 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-22 Mark Kettenis <kettenis@gnu.org>
+
+ * gdbint.texinfo (Target Architecture Definition): Update
+ description of gdbarch_register_osabi.
+
2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
* agentexpr.texi: Fix typos.
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 26fd523..19d0491 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -2424,9 +2424,12 @@ Here are the functions that make up the OS ABI framework:
Return the name of the OS ABI corresponding to @var{osabi}.
@end deftypefun
-@deftypefun void gdbarch_register_osabi (enum bfd_architecture @var{arch}, enum gdb_osabi @var{osabi}, void (*@var{init_osabi})(struct gdbarch_info @var{info}, struct gdbarch *@var{gdbarch}))
+@deftypefun void gdbarch_register_osabi (enum bfd_architecture @var{arch}, unsigned long @var{machine}, enum gdb_osabi @var{osabi}, void (*@var{init_osabi})(struct gdbarch_info @var{info}, struct gdbarch *@var{gdbarch}))
Register the OS ABI handler specified by @var{init_osabi} for the
-architecture/OS ABI pair specified by @var{arch} and @var{osabi}.
+architecture, machine type and OS ABI specified by @var{arch},
+@var{machine} and @var{osabi}. In most cases, a value of zero for the
+machine type, which implies the architecture's default machine type,
+will suffice.
@end deftypefun
@deftypefun void gdbarch_register_osabi_sniffer (enum bfd_architecture @var{arch}, enum bfd_flavour @var{flavour}, enum gdb_osabi (*@var{sniffer})(bfd *@var{abfd}))