aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppah-tdep.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-12-15 01:45:15 +0000
committerStu Grossman <grossman@cygnus>1992-12-15 01:45:15 +0000
commit01d1590babc04e0950cdcbde17a69a677322c855 (patch)
treea3ccf809c58184914e31fc7955eb632f0f1b3649 /gdb/hppah-tdep.c
parent764c960db48f6b7c784495fd6e2cb92cc126fb4d (diff)
downloadgdb-01d1590babc04e0950cdcbde17a69a677322c855.zip
gdb-01d1590babc04e0950cdcbde17a69a677322c855.tar.gz
gdb-01d1590babc04e0950cdcbde17a69a677322c855.tar.bz2
* convex-xdep.c, hppab-nat.c, i860-tdep.c, infptrace.c: Remove
decl for attach_flag, it now lives in inferior.h. * hppa-pinsn.c: Reformat opcode tables. Add function prototypes. Make most functions static. * hppah-nat.c: General cleanups, remove BSD specific code (since that all lives in hppab-nat.c). * hppah-tdep.c (frame_chain_valid), tm-hppa.h (FRAME_CHAIN): Change sense of test against inside_entry_file(). This fix is from U. of Utah. * tm-hppa.h (PUSH_DUMMY_FRAME, POP_FRAME): Use char * for 2nd arg to read/write_register_bytes().
Diffstat (limited to 'gdb/hppah-tdep.c')
-rw-r--r--gdb/hppah-tdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/hppah-tdep.c b/gdb/hppah-tdep.c
index 8b7dc61..9473400 100644
--- a/gdb/hppah-tdep.c
+++ b/gdb/hppah-tdep.c
@@ -759,7 +759,7 @@ int frame_chain_valid (chain, thisframe)
{
CORE_ADDR pc = get_pc_function_start (FRAME_SAVED_PC (thisframe));
- if (!inside_entry_file (pc))
+ if (inside_entry_file (pc))
return 0;
/* look for stw rp, -20(0,sp); copy 4,1; copy sp, 4 */
if (read_memory_integer (pc, 4) == 0x6BC23FD9)
@@ -802,7 +802,6 @@ gcc_p (pc)
return 0;
}
-
find_dummy_frame_regs (frame, frame_saved_regs)
struct frame_info *frame;
struct frame_saved_regs *frame_saved_regs;