aboutsummaryrefslogtreecommitdiff
path: root/gdb/somsolib.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-08 20:02:51 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-08 20:02:51 +0000
commitc5f10366871d9979dc1ac502c09b9dd32b227488 (patch)
tree9efd14a82a97a194d3e4b0e45f2aaf752488aced /gdb/somsolib.c
parent616675d391b32e96774a4e8f09a74c067596cb43 (diff)
downloadgdb-c5f10366871d9979dc1ac502c09b9dd32b227488.zip
gdb-c5f10366871d9979dc1ac502c09b9dd32b227488.tar.gz
gdb-c5f10366871d9979dc1ac502c09b9dd32b227488.tar.bz2
* objfiles.h: Change type of obj_private to void pointer.
* pa64solib.c: Update copyright. Don't include "assert.h", use strcmp instead of STREQ, use LONGEST, do not use PTR * somsolib.c: Ditto.
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r--gdb/somsolib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c
index d623e4b..2eb1ff5 100644
--- a/gdb/somsolib.c
+++ b/gdb/somsolib.c
@@ -1,6 +1,7 @@
/* Handle HP SOM shared libraries for GDB, the GNU Debugger.
- Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+
+ Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free
+ Software Foundation, Inc.
This file is part of GDB.
@@ -38,7 +39,6 @@
#include "gdb-stabs.h"
#include "gdb_stat.h"
#include "gdbcmd.h"
-#include "assert.h"
#include "language.h"
#include "regcache.h"
@@ -319,7 +319,7 @@ som_solib_add_solib_objfile (struct so_list *so, char *name, int from_tty,
sizeof (obj_private_data_t));
obj_private->unwind_info = NULL;
obj_private->so_info = NULL;
- so->objfile->obj_private = (PTR) obj_private;
+ so->objfile->obj_private = obj_private;
}
obj_private = (obj_private_data_t *) so->objfile->obj_private;