This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA] add struct parse_context to all command functions
- From: Tom Tromey <tromey at redhat dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: brobecker at adacore dot com (Joel Brobecker), gdb-patches at sourceware dot org
- Date: Tue, 21 Oct 2008 12:56:08 -0600
- Subject: Re: [RFC/RFA] add struct parse_context to all command functions
- References: <200810211811.m9LIBW3I020177@d12av02.megacenter.de.ibm.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
Tom> FWIW I also have a vaguely similar reorganization in the wings. I
Tom> removed all accesses to global variables from the value_print and
Tom> val_print hierarchy, in favor of a "print options" argument. So, my
Tom> interest in this sort of thing is not totally academic.
Ulrich> Great! I was just about to start implementing something along those
Ulrich> lines (to pull current_gdbarch out of the print routines) ... Do you
Ulrich> already have a version of that patch you could share?
My only patch almost certainly wouldn't apply to head (I made it
against the python branch so it has some extraneous stuff in it).
Would you like it, even though it is pretty broken?
Tom