mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 10:35:12 +08:00
* frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,
but not via a call to error(), when unable to read memory.
This commit is contained in:
parent
b375a0a5da
commit
1ccda5e956
@ -1,3 +1,8 @@
|
||||
2004-03-15 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* frv-tdep.c (frv_analyze_prologue): Terminate prologue scan,
|
||||
but not via a call to error(), when unable to read memory.
|
||||
|
||||
2004-03-15 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* frv-tdep.c (frv_call_dummy_words): Delete.
|
||||
|
@ -511,7 +511,13 @@ frv_analyze_prologue (CORE_ADDR pc, struct frame_info *next_frame,
|
||||
/* Scan the prologue. */
|
||||
while (pc < lim_pc)
|
||||
{
|
||||
LONGEST op = read_memory_integer (pc, 4);
|
||||
char buf[frv_instr_size];
|
||||
LONGEST op;
|
||||
|
||||
if (target_read_memory (pc, buf, sizeof buf) != 0)
|
||||
break;
|
||||
op = extract_signed_integer (buf, sizeof buf);
|
||||
|
||||
next_pc = pc + 4;
|
||||
|
||||
/* The tests in this chain of ifs should be in order of
|
||||
|
Loading…
Reference in New Issue
Block a user