[PATCH 2/2] Documentation and testcase
Pedro Alves
palves@redhat.com
Fri Mar 20 22:09:00 GMT 2015
On 03/20/2015 09:03 PM, Sergio Durigan Junior wrote:
>> > If not (I assume not), we could test that by loading the core
>> > into gdb, but _not_ the program, and then disassembling a function's
>> > address. It should fail. Then load the program and disassemble
>> > again. It should work now. Or something along those lines.
> Hm, OK. I guess I will try this approach, and if it doesn't happen then
> I will see about doing a regular file-backed mapping.
Thanks. If that approach doesn't work (for some odd reason), let's
try to come up with another approach that still makes sure that the
program's .text is not dumped, instead of mapping some other file.
It's important that we don't regress that specifically.
> I'll submit another revision of the series when I have something.
Thanks.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list