From: Mo DeJong <mdejong@cygnus.com>
To: Jim Ingham <jingham@apple.com>
Cc: Insight <insight@sourceware.cygnus.com>
Subject: Re: Attach filter should use glob matching not regexp.
Date: Mon, 26 Jun 2000 16:12:00 -0000 [thread overview]
Message-ID: <Pine.SOL.3.91.1000626160545.21290A-100000@cse.cygnus.com> (raw)
In-Reply-To: <B57CE579.1B41%jingham@apple.com>
On Mon, 26 Jun 2000, Jim Ingham wrote:
> Mo,
>
> I guess using globs is okay, but is entering "*" so much easier than
> entering ".*"? It is just that regular expressions are so much more
> powerful than globs, that I would like to keep them around if at all
> possible. Maybe a check box to switch between the two?
I agree, regexps are much cooler but there is nothing in the GUI
that would indicate that I should enter a regexp into that box.
A glob match should be the default because that is what most
people would expect. If there were some way for the user
to indicate "I am going to use a regexp now", then I could
see adding that feature.
> About how to access the process table... There wasn't anything in gdb that
> I could find to help with this, but this whole Attach dialog was a really
> quick hack so I didn't look that hard...
>
> Also, you want to be careful about doing "ps -awx" because the user won't be
> able to attach to anything that the he/she doesn't own (unless running as
> root). Showing them a whole lot of processes that they can't actually
> attach to is not a very useful thing.
The ps thing is a mess. What we really need is a C library that will
look at the process table and report results in a cross platform way.
later
Mo
next prev parent reply other threads:[~2000-06-26 16:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <394C203C.7882A1A1@cygnus.com>
2000-06-26 7:52 ` Mo DeJong
2000-06-26 10:48 ` Jim Ingham
2000-06-26 10:55 ` Tom Tromey
2000-06-26 11:05 ` Jim Ingham
2000-06-26 16:12 ` Mo DeJong [this message]
2000-06-26 20:31 ` Tom Tromey
2000-06-27 16:11 ` Jim Ingham
2000-06-16 18:27 Mo DeJong
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=Pine.SOL.3.91.1000626160545.21290A-100000@cse.cygnus.com \
--to=mdejong@cygnus.com \
--cc=insight@sourceware.cygnus.com \
--cc=jingham@apple.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).