Hi,
I am working on extending gdb's printing capabilities and I have noticed that
sometimes the valaddr (+embedded_offset) and address arguments to
val_print get out of sync.
To me it looks like common_val_print should add value_offset(val) to the
result of VALUE_ADDRESS, but I could be wrong.
It sure would be nice if there was a way to specify arguments for
the program to be debugged on the command line.
I cannot seems to find any such feature in 4.17 or 5.0.
The syntax could be...
gdb [gdb options] program [core/pid] [-- [user args]]
Thanks,
Morten
[EMAIL PROTECTED]
(aka