all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bruce Stephens <Bruce.Stephens@isode.com>
Subject: Re: new gdb/gdba code has bug with absolute source filenames
Date: Thu, 08 Jan 2004 13:53:43 +0000	[thread overview]
Message-ID: <84ad4yfswo.fsf@cenderis.demon.co.uk> (raw)
In-Reply-To: <16381.19672.120644.757561@nick.uklinux.net> (Nick Roberts's message of "Thu, 8 Jan 2004 12:28:08 +0000")

Nick Roberts <nick@nick.uklinux.net> writes:

[...]

> A good way to look at this output is to select
> gdb-partial-output-buffer and type undo. That way you can cycle back
> through its history. In the past I have found that edebug plays
> havoc with real time aspects of the process filter.

That's useful to know.  In this case, though, I don't see that it
would help: I can see the differing behaviour using gdb in a terminal.
gdb isn't showing the compilation directory in this case, whereas with
a relative filename ("gcc-3.2 -g3 -o hello ./hello.c") it does.  I'd
guess details of how gdb-partial-output-buffer evolves probably
doesn't matter.

I don't know which program is at fault.

bruce% gcc-3.2 -g3 -o hello /tmp/hello.c
bruce% gdb hello
GNU gdb 6.0-debian
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
(gdb) break main
Breakpoint 1 at 0x8048340: file /tmp/hello.c, line 4.
(gdb) run
Starting program: /tmp/hello
 
Breakpoint 1, main () at /tmp/hello.c:4
4       exit(0);
(gdb) info source
Current source file is /tmp/hello.c
Located in /tmp/hello.c
Contains 6 lines.
Source language is c.
Compiled with DWARF 2 debugging format.
Includes preprocessor macro info.

  reply	other threads:[~2004-01-08 13:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07 22:43 new gdb/gdba code has bug with absolute source filenames Nick Roberts
2004-01-08  0:46 ` Bruce Stephens
2004-01-08 10:21   ` Nick Roberts
2004-01-08 11:11     ` Bruce Stephens
2004-01-08 10:27   ` Andreas Schwab
2004-01-08 11:04     ` Bruce Stephens
2004-01-08 10:21 ` Andreas Schwab
2004-01-08 12:28   ` Nick Roberts
2004-01-08 13:53     ` Bruce Stephens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-08 22:04 Nick Roberts
2004-01-06 17:05 Bruce Stephens
2004-01-06 20:40 ` Andreas Schwab

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=84ad4yfswo.fsf@cenderis.demon.co.uk \
    --to=bruce.stephens@isode.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.