diff options
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 5772fe0..7aa42bd 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -52,6 +52,24 @@ extern struct vmap * map_vmap PARAMS ((bfd *bf, bfd *arch)); extern struct target_ops exec_ops; static void +vmap_exec PARAMS ((void)); + +static void +vmap_ldinfo PARAMS ((struct ld_info *)); + +static struct vmap * +add_vmap PARAMS ((struct ld_info *)); + +static int +objfile_symbol_add PARAMS ((char *)); + +static void +vmap_symtab PARAMS ((struct vmap *)); + +static void +fetch_core_registers PARAMS ((char *, unsigned int, int, unsigned int)); + +static void exec_one_dummy_insn PARAMS ((void)); extern void @@ -402,7 +420,7 @@ add_vmap (ldi) bfd_close (abfd); /* FIXME -- should be error */ warning ("\"%s\": member \"%s\" missing.", abfd->filename, mem); - return; + return 0; } if (!bfd_check_format(last, bfd_object)) @@ -447,7 +465,7 @@ vmap_ldinfo (ldi) struct stat ii, vi; register struct vmap *vp; int got_one, retried; - int got_exec_file; + int got_exec_file = 0; /* For each *ldi, see if we have a corresponding *vp. If so, update the mapping, and symbol table. |