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] |
Hello, I encountered on sparc the same problem I saw on i386: When scanning a function prologue, if an instruction is replaced by a breakpoint, we read the breakpoint instead of reading the original instruction. Fixed using the same method as in i386... 2006-11-08 Joel Brobecker <brobecker@adacore.com> * sparc-tdep.c (sparc_fetch_instruction): Read instruction using read_memory_nobpt. Tested on sparc-solaris, no regression, and fixes one FAIL in step-bt.exp. OK to apply? -- Joel
Attachment:
sparc-tdep.c.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |