This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [RFA] Darwin: recognize signal frames



On Dec 10, 2008, at 12:03 PM, Joel Brobecker wrote:


[Mark, I'd like to make i386_sigtramp_p non-static and use it here.
Let me know if you think it's a bad idea... Thanks!]

2008-12-05 Tristan Gingold <gingold@adacore.com>

	* i386-darwin-tdep.c (darwin_sigtramp_p): New function.
	(i386_darwin_sigcontext_addr): Ditto.
	(amd64_darwin_sigcontext_addr): Ditto.
	(darwin_dwarf_signal_frame_p): Ditto.
	(i386_darwin_init_abi): Handle signal frames, use the const for
	sc_num_regs.
	(x86_darwin_init_abi_64): Ditto.

After careful review and much discussion with Tristan, this is mostly OK.

Thanks, committed with your suggestions.


(I waited until now because this patch works only if shared libraries are handled).

Tristan.


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