Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Wilson <wilson@cygnus.com>
To: Jim Blandy <jimb@cygnus.com>
Cc: Daniel Berlin <dberlin@redhat.com>,
	Kevin Buettner <kevinb@cygnus.com>,
	Jim Wilson <wilson@cygnus.com>, Pete Wyckoff <pw@osc.edu>,
	gdb@sources.redhat.com
Subject: Re: [Linux-ia64] Re: gdb null ptr
Date: Tue, 07 Nov 2000 15:40:00 -0000	[thread overview]
Message-ID: <200011072342.PAA31357@wilson.cygnus.com> (raw)
In-Reply-To: <npofzr8lj2.fsf@zwingli.cygnus.com>

>If I understand the situation, the SGI compiler attaches a DW_AT_name
>attribute to array types.  We don't know whether this behavior occurs
>only in C compilation units, or in C++ compilation units as well.

It was the SGI Fortran 90 compiler.  I haven't seen any reports of similar
problems with the SGI C or C++ compilers.

Jim
From ac131313@cygnus.com Tue Nov 07 16:58:00 2000
From: Andrew Cagney <ac131313@cygnus.com>
To: David Taylor <taylor@cygnus.com>
Cc: gdb@sourceware.cygnus.com
Subject: Re: pathmap or dir command on drugs
Date: Tue, 07 Nov 2000 16:58:00 -0000
Message-id: <3A08A3B5.BE9A4017@cygnus.com>
References: <200011062125.QAA00561@texas.cygnus.com>
X-SW-Source: 2000-11/msg00042.html
Content-length: 1335

David Taylor wrote:

> One camp, by comparison with breakpoints and displays, is:
> 
>     pathmap <from-prefix> <to-prefix>
>     show pathmaps <optional-list>
>     delete pathmaps <optional-list>
> 
> The other camp is
> 
>     pathmap add <from-prefix> <to-prefix>
>     pathmap list <optional-list>
>     pathmap delete <optional-list>
> 
> By further analogy with breakpoints and displays, we could also have:

Regardless of the command syntax, is there a way of doing:

	(gdb) show pathmap
	some complex-jibberish is displayed
	(gdb) set pathmap jibberish

so that the entire path map can be set using a single command (instead
of having to construct it).

Hmm, Yes ok, the directory command doesn't have an equivalent:

(gdb) show directories
Source directories searched: $cdir:$cwd
(gdb) directory /tmp
Source directories searched: /tmp:$cdir:$cwd
(gdb) set directories $cdir:/tmp:/$cwd
No symbol table is loaded.  Use the "file" command.
[[this is an error ok :-)]]
(gdb) show directories
Source directories searched: /tmp:$cdir:$cwd
(gdb) 

:-(


If such an underlying mechanism then, I think, that would be more
useable GUI's (what to add to MI).  The CLI might then add a vineer that
included operations such as ``pathmap add''.

A regex operation sounds useful (if slightly more obtuse for non UNIX
die-hards).

	Andrew


       reply	other threads:[~2000-11-07 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <npofzr8lj2.fsf@zwingli.cygnus.com>
2000-11-07 15:40 ` Jim Wilson [this message]
2000-11-09 14:03 David B Anderson
     [not found] <200011032142.NAA27103@wilson.cygnus.com>
     [not found] ` <1001103230254.ZM14396@ocotillo.lan>
2000-11-03 19:21   ` Daniel Berlin
2000-11-06 17:08     ` Kevin Buettner
2000-11-06 21:13       ` Daniel Berlin

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=200011072342.PAA31357@wilson.cygnus.com \
    --to=wilson@cygnus.com \
    --cc=dberlin@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=jimb@cygnus.com \
    --cc=kevinb@cygnus.com \
    --cc=pw@osc.edu \
    /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