diff options
author | Stu Grossman <grossman@cygnus> | 1993-01-15 00:06:50 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1993-01-15 00:06:50 +0000 |
commit | fa9265e55deac681e0664cbea1c4367f81cadc68 (patch) | |
tree | 9ffbeea1837f03eb79e4fbf80ed448b7d7ff91a0 /gdb/objfiles.h | |
parent | 30ea4a2d918f78e39ce54619fe08d1f26909e10a (diff) | |
download | gdb-fa9265e55deac681e0664cbea1c4367f81cadc68.zip gdb-fa9265e55deac681e0664cbea1c4367f81cadc68.tar.gz gdb-fa9265e55deac681e0664cbea1c4367f81cadc68.tar.bz2 |
* hppa-pinsn.c (print_insn): Use read_memory_integer, instead of
read_memory to get byte order right.
* hppah-tdep.c (find_unwind_info): Don't read in unwind info
anymore. This is done in paread.c now. We expect unwind info
to hang off of objfiles, and search all of the objfiles when until
we find a match.
* (skip_trampoline_code): Cast arg to target_read_memory.
* objfiles.h (struct objfile): Add new field obj_private to hold
per object file private data (unwind info in this case).
* paread.c (read_unwind_info): New routine to read unwind info
for the objfile. This data is hung off of obj_private.
* tm-hppa.h: Define struct obj_unwind_info, to hold pointers to
the unwind info for this objfile. Also define OBJ_UNWIND_INFO to
make this easier to access.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index 78a6061..f8b887f 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -240,6 +240,11 @@ struct objfile PTR sym_private; + /* Hook for other info specific to this objfile. This must point to + memory allocated on one of the obstacks in this objfile, so that it + gets freed automatically when reading a new object file. */ + + PTR obj_private; }; /* Defines for the objfile flag word. */ |