diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-01-25 16:39:10 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-01-25 16:39:10 +0000 |
commit | 364648978f43664a24edd6b396c0937d1601f938 (patch) | |
tree | aa88096c50a928127fb5fe2f61dc513b5160dc7f /gdb/paread.c | |
parent | 1b30bebf859a32fc54c0def218535f437f24c515 (diff) | |
download | gdb-364648978f43664a24edd6b396c0937d1601f938.zip gdb-364648978f43664a24edd6b396c0937d1601f938.tar.gz gdb-364648978f43664a24edd6b396c0937d1601f938.tar.bz2 |
* paread.c (read_unwind_info): Just assign to objfile->obj_private,
not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
the HP compiler in ANSI mode doesn't like.
* main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it
based on USG, rather than defining HAVE_SIGSETMASK to an expression
containing defined. This is for the HP compiler in ANSI mode.
Diffstat (limited to 'gdb/paread.c')
-rw-r--r-- | gdb/paread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/paread.c b/gdb/paread.c index efc8b2b..686bed6 100644 --- a/gdb/paread.c +++ b/gdb/paread.c @@ -400,7 +400,7 @@ read_unwind_info (objfile) compare_unwind_entries); /* Keep a pointer to the unwind information. */ - OBJ_UNWIND_INFO (objfile) = ui; + objfile->obj_private = (PTR) ui; } /* Scan and build partial symbols for a symbol file. |