This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: restore accidentally deleted call


The call below was deleted in revision 1.88 of s390-tdep.c; inferior
calls broke because they didn't return to the call dummy breakpoint.
Since the ChangeLog entry only talks about deleting the gdbarch calls
to set CALL_DUMMY_START_OFFSET and CALL_DUMMY_LENGTH, I'm guessing
that was by accident.

2003-04-10  Jim Blandy  <jimb at redhat dot com>

	* s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
	call to set_gdbarch_deprecated_push_arguments.

Index: s390-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/s390-tdep.c,v
retrieving revision 1.89
diff -c -r1.89 s390-tdep.c
*** s390-tdep.c	5 Apr 2003 18:54:38 -0000	1.89
--- s390-tdep.c	10 Apr 2003 22:26:56 -0000
***************
*** 1864,1869 ****
--- 1864,1871 ----
    set_gdbarch_deprecated_pc_in_call_dummy (gdbarch, deprecated_pc_in_call_dummy_at_entry_point);
    set_gdbarch_deprecated_push_arguments (gdbarch, s390_push_arguments);
    set_gdbarch_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos);
+   set_gdbarch_deprecated_push_return_address (gdbarch,
+                                               s390_push_return_address);
    set_gdbarch_sizeof_call_dummy_words (gdbarch,
                                         sizeof (s390_call_dummy_words));
    set_gdbarch_call_dummy_words (gdbarch, s390_call_dummy_words);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]