From c133ab7a4106e56d51f61dda8ab0598eb9dcd955 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 23 Dec 2002 18:53:16 +0000 Subject: [PATCH] * gdbint.texinfo (Target Architecture Definition): Update description of gdbarch_register_osabi. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdbint.texinfo | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 9e3e6b448b3..cbf61436b28 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2002-12-22 Mark Kettenis + + * gdbint.texinfo (Target Architecture Definition): Update + description of gdbarch_register_osabi. + 2002-12-20 Kazu Hirata * agentexpr.texi: Fix typos. diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 26fd5236c11..19d0491df43 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})) -- 2.30.2