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] |
Hi Doug, I want to fix the following problem. test pattern is: main() { asm("trap #0 || ldi r0,#1"); /* the same as exit() ? */ abort(); } command line: m32r-elf-gcc -m32rx test.c In this case, it will pass through an asm function without exit. At the time of m32r_trap() execution, r0 is not 1 yet. It's not a problem of the current simulator implementation for trap instruction. I think it's a problem of timing to call back system call when trap is in parallel. Changed a patch and comment. Regards, Kazuhiro Inaoka sim/m32r/ChangeLog 2004-01-19 Kazuhiro Inaoka < inaoka dot kazuhiro at renesas dot com > * mloopx.in (xextract-pbb): Fixed trap for system calls operation in parallel. * mloop2.in (xextract-pbb): Ditto.
Attachment:
sim.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |