summaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-08-16 19:57:19 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-08-16 19:57:19 +0000
commitd450852cb3f7b4919eaf956ea0c34a5caeecee5e (patch)
tree335d04cc9cfc9029551b9176ca163584d4d54f71 /gdb/arm-tdep.c
parent39e2b1a6657bcf6f1ae2b616b447c9dab88917ef (diff)
downloadgdb-d450852cb3f7b4919eaf956ea0c34a5caeecee5e.tar.gz
import gdb-1999-08-16 snapshot
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 994e48f7c95..7598a8decb8 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -186,8 +186,8 @@ arm_frameless_function_invocation (fi)
int frameless;
func_start = (get_pc_function_start ((fi)->pc) + FUNCTION_START_OFFSET);
- after_prologue = func_start;
- SKIP_PROLOGUE (after_prologue);
+ after_prologue = SKIP_PROLOGUE (func_start);
+
/* There are some frameless functions whose first two instructions
follow the standard APCS form, in which case after_prologue
will be func_start + 8. */
@@ -1201,9 +1201,6 @@ set_disassembly_flavor_sfunc (args, from_tty, c)
struct cmd_list_element *c;
{
set_disassembly_flavor ();
-
- if (disassembly_flavor_hook != NULL)
- disassembly_flavor_hook(args, from_tty);
}
static void