This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
"maint print registers" crash
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Wed, 20 Jun 2007 15:47:37 -0400
- Subject: "maint print registers" crash
Hi Ulrich,
I used to be able to start GDB and print out the current register
layout without needing a target, by "maint print registers". Now that
crashes GDB, because current_regcache is NULL. What do you think -
refuse to dump values and use the gdbarch_descr in that case?
--
Daniel Jacobowitz
CodeSourcery