From 70423641d9f43e126b1cb47d8cfc764fcce69740 Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Thu, 8 Oct 1998 15:59:23 +0000 Subject: [PATCH] * rs6000-tdep.c (get_saved_register): Define only if USE_GENERIC_DUMMY_FRAMES is defined. --- gdb/ChangeLog | 25 +++++++++++++++++++++++++ gdb/rs6000-tdep.c | 2 ++ 2 files changed, 27 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9e9789737cd..7788cdb088d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,28 @@ +Thu Oct 8 08:40:42 1998 Mark Alexander + + * rs6000-tdep.c (get_saved_register): Define only if + USE_GENERIC_DUMMY_FRAMES is defined. + +start-sanitize-carp +Tue Oct 6 21:35:10 1998 Andrew Cagney + + * configure.in (--enable-targets): New config option. Code taken + from ../opcode/configure.in. +start-sanitize-cygnus + (--enable-carp): New config option. Overrides configure.tgt and + sets gdb_target + gdb_target_cpu to carp. XXX - this is tempoary. +end-sanitize-cygnus + * configure: Re-generate. + + * Makefile.in (DEPFILES): Add TARGET_OBS. + (TARGET_OBS): Defined by configure. + +start-sanitize-cygnus + * config/carp/carp.mt, config/carp/tm-carp.h: Pseudo configuration + for carp target. XXX - this is tempoary. +end-sanitize-cygnus + +end-sanitize-carp 1998-10-06 Jason Molenda (jsm@bugshack.cygnus.com) Eliminate a few warnings from the compiler. diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 4bc628d0b4f..e6939569e2e 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -1310,6 +1310,7 @@ gdb_print_insn_powerpc (memaddr, info) /* Function: get_saved_register Just call the generic_get_saved_register function. */ +#ifdef USE_GENERIC_DUMMY_FRAMES void get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) char *raw_buffer; @@ -1322,6 +1323,7 @@ get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval); } +#endif void -- 2.30.2