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] | |
The stabs reader will need to be modified so that it generates a proper location description. Note that it is STABS centric. dwarf2 doesn't need that mechanism since (presumably) GCC is generating the correct info (....).
No, that's incorrect. GDB wouldn't even be able to find half the value if GCC was putting out correct information. We can't fix that until GDB is ready to not choke on the result. We will have to handle the incorrect debug info probably forever.
- stabs - dwarf2 (where I included a ``presumably'')
This is one of the intended purposes of this mechanism, and as Iindicated, is needed by MIPS. Being able to project an arbitrary [debug info] view of the registers onto the raw register buffer.
BTW, what happens when there is an attempt to write a long long value? GDB again assumes that it can write to contigious registers - the reason why REGISTER_BYTE can't be killed.
That ugliness could go away too with Mark's introduced method. GDB could be fixed to find the next register properly.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |