Re: [RFC/RFA] add struct parse_context to all command functions

Tom Tromey
2008-10-21T18:58:52Z

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