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]

[patch, moxie] Fix regression/crash in prologue analysis


This patch...

http://sourceware.org/ml/gdb-patches/2009-07/msg00079.html

...introduced a frame_info argument to moxie_analyze_prologue from which
we extract a gdbarch to get the frame's endianess for later use.
Unfortunately moxie_skip_prologue calls moxie_analyze_prologue with a
NULL frame_info, resulting in a crash.

My solution is to change that frame_info argument into a gdbarch
argument because all of the callers have a valid gdbarch.

I'm checking this patch in.

AG

Attachment: p.txt
Description: Text document


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