aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-01-01 16:29:43 +0000
committerMark Kettenis <kettenis@gnu.org>2002-01-01 16:29:43 +0000
commitd2a7c97aaf1154bca6881f791d6e487788d2ea21 (patch)
treed14dcbc0f3a5e7e66290edf0aa14462b8a8db73a /gdb/i386-tdep.h
parentc5ad026aef17d7a0d7a5b938e5d5349af3cb7d04 (diff)
downloadgdb-d2a7c97aaf1154bca6881f791d6e487788d2ea21.zip
gdb-d2a7c97aaf1154bca6881f791d6e487788d2ea21.tar.gz
gdb-d2a7c97aaf1154bca6881f791d6e487788d2ea21.tar.bz2
* i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
* i386-tdep.c: Include "elf-bfd.h". (process_note_abi_tag_sections): New function. (i386_gdbarch_init): Add code to recognize various OS/ABI combinations.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r--gdb/i386-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h
index 5c8ed9a..a990adf 100644
--- a/gdb/i386-tdep.h
+++ b/gdb/i386-tdep.h
@@ -43,6 +43,9 @@
/* i386 architecture specific information. */
struct gdbarch_tdep
{
+ /* OS/ABI. */
+ int os_ident;
+
/* Number of SSE registers. */
int num_xmm_regs;
};