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]

Re: remote debugging: reading code from the executable iso remotememory


Hi,

When doing remote debugging the read_memory() function reads memory from the remote memory. Is there a possibility to ready instruction code from the executable loaded by gdb. I want to use this to read function prologue code directly from the executable instead of reading it from a slow serial link.
(gdb) set trust-readonly-sections on

http://sources.redhat.com/gdb/current/onlinedocs/gdb_16.html#IDX582

Andrew



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