This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC]: remove inconsistency in printcmd.c: print_scalar_formatted

> Date: Tue, 20 Jan 2004 09:52:25 -0500
> From: Daniel Jacobowitz <>
> > Daniel, do you object to having the feature you wanted in `x', rather
> > than in `print'?  If you do, could you please explain why?
> Because, at the moment, we have a common syntax shared by print and
> examine - but some of the options don't make sense (I claim) for print. 
> But they do all make sense for examine.

Sorry, I don't see how is this relevant.  Suppose we add a new format
letter to `x', one that doesn't exist in `print'--would that be okay,
and if not, why not?

> I don't think that it is a maintenance command

We have wuite a few examples of obscure features that we pushed to
maint.  I don't see why this one cannot.

I do agree that it's better to have it on a regular command.

> I also think that adding a new print format flag that examines
> without changing the existing ones will be more confusing.

Please tell why.  I don't see why it would be confusing to add a new
format that is defined to always show the memory representation of the
value in hex.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]