This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
What should be used instead of deprecated_read_memory_nobpt()?
- From: Paul Gilliam <pgilliam at us dot ibm dot com>
- To: gdb at sources dot redhat dot com
- Date: Tue, 29 Nov 2005 14:01:30 -0800
- Subject: What should be used instead of deprecated_read_memory_nobpt()?
- Reply-to: pgilliam at us dot ibm dot com
I need to write an implementation of 'gdbarch_in_function_epilogue_p()'. In looking for a
model to use, I see that 'hppa_in_function_epilogue_p()' and 's390_in_function_epilogue_p()'
both use 'deprecated_read_memory_nobpt()' to get instructions from the target, but
'sh_in_function_epilogue_p()' and 'xstormy16_in_function_epilogue_p()' both use
'read_memory_unsigned_integer()' for that purpose.
Can 'read_memory_unsigned_integer()' replace 'deprecated_read_memory_nobpt()'?
-=# Paul #=-