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]

[RFA/m32r] Fix m32r frame analyzer


Hello,

The attached patch revises m32r frame analyzer. The current
analyzer works fine with functions written in C. But it sometimes
can't handle functions written in assembly languages correctly.
It also can't recognize trap instructions as the end of prologue.

# System call handlers of Linux/M32R are written in assembly
# languages and use trap instructions.

The attached fixes these problems.

OK to commit?

2004-10-05    Kei Sakamoto  <sakamoto.kei@renesas.com>

    * m32r-tdep.c (decode_prologue): Support functions written
    in assembly languages. Recognize trap instructions as the
    end of prologue.
    (m32r_frame_unwind_cache): Ditto.
    (m32r_skip_prologue): Extend search limit. Quit analyzing
    prologue if pc's location is not readable.

Attachment: m32r-tdep.patch
Description: Binary data


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