This is the mail archive of the
mailing list for the GDB project.
[mi] What frame should -data-list-register-values be using?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 8 Sep 2003 16:07:31 -0400
- Subject: [mi] What frame should -data-list-register-values be using?
Right now, both -data-list-register-values and -data-list-changed-registers
use deprecated_selected_frame. This is both wrong and segfault-prone.
The obvious thing to do would be to use get_selected_frame... but take a
look at mi_cmd_data_write_register_values. Completely undocumented, I might
add. It uses deprecated_write_register_bytes so it's actually blatting the
MontaVista Software Debian GNU/Linux Developer