This is the mail archive of the gdb@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 new code for disassemble uses xfer_memory if it decides we are not local. The heuristic is a little hokey - for instance, it doesn't know about to_shortname == "lin-lwp". So for lin-lwp, we end up deciding to read from the exec.
The problem is, what if the memory being disassembled isn't _in_ the executable? I use disas on arbitrary memory regions, and more importantly, I use it on functions in shared libraries. I don't think we can use xfer_memory after the target starts running.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |