aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-05-05 22:23:07 +0000
committerStu Grossman <grossman@cygnus>1993-05-05 22:23:07 +0000
commita34d4bc1782b35b034c2ceb61019e82873568cbd (patch)
tree63712124029a1e9c7462788644d0af1d1e1d6c08 /gdb/hppa-tdep.c
parentd83a6710685946182f518b266b48ab76772d701e (diff)
downloadfsf-binutils-gdb-a34d4bc1782b35b034c2ceb61019e82873568cbd.zip
fsf-binutils-gdb-a34d4bc1782b35b034c2ceb61019e82873568cbd.tar.gz
fsf-binutils-gdb-a34d4bc1782b35b034c2ceb61019e82873568cbd.tar.bz2
* Patches from Jeffrey Law <law@cs.utah.edu>.
* gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 4d2a38a..5f574d1 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -428,35 +428,6 @@ frame_chain_valid (chain, thisframe)
return 1;
}
-#if 0
-/* Some helper functions. gcc_p returns 1 if the function beginning at
- pc appears to have been compiled with gcc. hpux_cc_p returns 1 if
- fn was compiled with hpux cc. gcc functions look like :
-
- stw rp,-0x14(sp) ; optional
- or r4,r0,r1
- or sp,r0,r4
- stwm r1,framesize(sp)
-
- hpux cc functions look like:
-
- stw rp,-0x14(sp) ; optional.
- stwm r3,framesiz(sp)
- */
-
-gcc_p (pc)
- CORE_ADDR pc;
-{
- if (read_memory_integer (pc, 4) == 0x6BC23FD9)
- pc = pc + 4;
-
- if (read_memory_integer (pc, 4) == 0x8040241
- && read_memory_integer (pc + 4, 4) == 0x81E0244)
- return 1;
- return 0;
-}
-#endif
-
/*
* These functions deal with saving and restoring register state
* around a function call in the inferior. They keep the stack