This is the mail archive of the gdb@sourceware.org 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] Let "gcore" command accept a suffix argument


Joel Brobecker wrote:
I think if each command can support $v directly is better.

For example:
set $a=0
gcore $a
Saved corefile 0

Am I the only one who really doesn't like this idea? The more I think about it, the less I like it. It feels like putting a plug instead of getting a new pair of tires. I'm surprised at my own reaction, since it is not going to affect me all that much, and so I will let it go if others like it (but it feels like a bandaid to me, and once it's in, we won't be able to remove it).

I don't like the above suggestion, but I assume you are talking about the original idea.

So, knowing what problem we are trying to solve, do you
have a picture of what "new tires" would look like?




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