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]

problem with "info spu signal" command on spu-gdb


Hello GDB maintainer,

I am working on Linux running on Cell/B.E. system.

I found a bugs in spu-gdb command "info spu signal".

Would you fix this bug?
I made a patch for it and I've attached it.

Details are as follows:

The "info spu signal" command displays wrong type.
It almost always returns "Override".
Especially, by collaborating Cell IDE Eclipse, the value is quite strange.

This problem is caused by what the GDB's internal function "strtoulst()" expects
 the entry of SPUFS should have the LF code (0x0a) and null (0x00) in its end.
The only signal_type doesn't have it.
 (event_status and event_mask are OK)

In order to fix this problem, of course, it is possible to modify the SPUFS.
Tentatively I would like GDB to work around it.

I will also post this problem report to SPUFS maintainer.

Best regard.
---
Hidetaka Takano

Attachment: fix-info-spu-signal.diff
Description: Binary data


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