Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sources.redhat.com
Subject: Re: info proc cmd
Date: Sun, 09 Mar 2008 22:59:00 -0000	[thread overview]
Message-ID: <u7igbiky3.fsf@gnu.org> (raw)
In-Reply-To: <20080309211329.GB26503@caradoc.them.org> (message from Daniel 	Jacobowitz on Sun, 9 Mar 2008 17:13:29 -0400)

> Date: Sun, 9 Mar 2008 17:13:29 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sources.redhat.com
> 
> I thought at first you meant "info proc cmd" literally,

Actually, I did.  (I looked in the sources, and it mentions "cmd"
explicitly.)

> so I tried it, and it behaved just like info proc :-)

That's because cmdline_f, cwd_f, and exe_f are ON by default, so
mentioning them as part of "info proc" has no effect.

> > This bug is easy enough to fix, but I wonder whether some older
> > versions of Linux did use the one-string format, in which case fixing
> > this to assume a set of null-terminated arguments would break those
> > old systems.
> > 
> > Does anyone has further insight into the history of this?  Should I
> > just go ahead and fix the code?
> 
> I think you can go ahead and fix it; it's been NUL separated for as
> long as I can remember.

Will do.

Thanks for the feedback.


  reply	other threads:[~2008-03-09 22:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-09 19:01 Eli Zaretskii
2008-03-09 22:37 ` Daniel Jacobowitz
2008-03-09 22:59   ` Eli Zaretskii [this message]
2008-03-10 15:24     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u7igbiky3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drow@false.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox