public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* more on file name problem
@ 2001-10-05 18:17 Tom Tromey
  2001-10-06  6:23 ` Keith Seitz
  2001-12-01 14:11 ` Tom Tromey
  0 siblings, 2 replies; 8+ messages in thread
From: Tom Tromey @ 2001-10-05 18:17 UTC (permalink / raw)
  To: Insight List

More on the previous problem.

I set a breakpoint on a function in the "other" expr.c (the one not
listed in the combo box).  When the inferior hits the breakpoint I use
the mouse to try to see the value of a local variable.  This doesn't
work, and instead I see this in the debug window:

(global) showBalloon got error: No line 6264 in file "../../gcc/gcc/java/expr.c".

Tom

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: more on file name problem
  2001-10-05 18:17 more on file name problem Tom Tromey
@ 2001-10-06  6:23 ` Keith Seitz
  2001-10-06 11:14   ` Tom Tromey
  2001-12-03 10:56   ` Keith Seitz
  2001-12-01 14:11 ` Tom Tromey
  1 sibling, 2 replies; 8+ messages in thread
From: Keith Seitz @ 2001-10-06  6:23 UTC (permalink / raw)
  To: Tom Tromey; +Cc: Insight List

On 1 Dec 2001, Tom Tromey wrote:

> More on the previous problem.
>
> I set a breakpoint on a function in the "other" expr.c (the one not
> listed in the combo box).  When the inferior hits the breakpoint I use
> the mouse to try to see the value of a local variable.  This doesn't
> work, and instead I see this in the debug window:
>
> (global) showBalloon got error: No line 6264 in file "../../gcc/gcc/java/expr.c".

Whoa. This is serious. Does gdb even know about the file/function? Try
"info function NAME"...

Keith


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: more on file name problem
  2001-10-06  6:23 ` Keith Seitz
@ 2001-10-06 11:14   ` Tom Tromey
  2001-10-06 11:18     ` Keith Seitz
  2001-12-03 11:26     ` Tom Tromey
  2001-12-03 10:56   ` Keith Seitz
  1 sibling, 2 replies; 8+ messages in thread
From: Tom Tromey @ 2001-10-06 11:14 UTC (permalink / raw)
  To: Keith Seitz; +Cc: Insight List

>>>>> "Keith" == Keith Seitz <keiths@cygnus.com> writes:

>> (global) showBalloon got error: No line 6264 in file "../../gcc/gcc/java/expr.c".

Keith> Whoa. This is serious. Does gdb even know about the
Keith> file/function? Try "info function NAME"...

I was able to set breakpoints in the file I wanted using:

    b ../../gcc/gcc/expr.c:LINE

gcc/java/expr.c is the "wrong" file -- the one I wasn't interested in
(this time) but which showed up in the combo box.

I did notice that my breakpoints in the "right" file occasionally
would be deleted with no warning to me.  I'm not sure exactly when
that would happen.

Tom

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: more on file name problem
  2001-10-06 11:14   ` Tom Tromey
@ 2001-10-06 11:18     ` Keith Seitz
  2001-12-03 11:29       ` Keith Seitz
  2001-12-03 11:26     ` Tom Tromey
  1 sibling, 1 reply; 8+ messages in thread
From: Keith Seitz @ 2001-10-06 11:18 UTC (permalink / raw)
  To: Tom Tromey; +Cc: Insight List

On 3 Dec 2001, Tom Tromey wrote:

> I was able to set breakpoints in the file I wanted using:
>
>     b ../../gcc/gcc/expr.c:LINE
>
> gcc/java/expr.c is the "wrong" file -- the one I wasn't interested in
> (this time) but which showed up in the combo box.

Ugh. It's the whole multiple-files-with-the-same-name problem.

I'm gonna see if I can add a testsuite case for this... (Maybe to gdb,
too.)

> I did notice that my breakpoints in the "right" file occasionally
> would be deleted with no warning to me.  I'm not sure exactly when
> that would happen.

Probably more confusion about this...

Keith


^ permalink raw reply	[flat|nested] 8+ messages in thread

* more on file name problem
  2001-10-05 18:17 more on file name problem Tom Tromey
  2001-10-06  6:23 ` Keith Seitz
@ 2001-12-01 14:11 ` Tom Tromey
  1 sibling, 0 replies; 8+ messages in thread
From: Tom Tromey @ 2001-12-01 14:11 UTC (permalink / raw)
  To: Insight List

More on the previous problem.

I set a breakpoint on a function in the "other" expr.c (the one not
listed in the combo box).  When the inferior hits the breakpoint I use
the mouse to try to see the value of a local variable.  This doesn't
work, and instead I see this in the debug window:

(global) showBalloon got error: No line 6264 in file "../../gcc/gcc/java/expr.c".

Tom

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: more on file name problem
  2001-10-06  6:23 ` Keith Seitz
  2001-10-06 11:14   ` Tom Tromey
@ 2001-12-03 10:56   ` Keith Seitz
  1 sibling, 0 replies; 8+ messages in thread
From: Keith Seitz @ 2001-12-03 10:56 UTC (permalink / raw)
  To: Tom Tromey; +Cc: Insight List

On 1 Dec 2001, Tom Tromey wrote:

> More on the previous problem.
>
> I set a breakpoint on a function in the "other" expr.c (the one not
> listed in the combo box).  When the inferior hits the breakpoint I use
> the mouse to try to see the value of a local variable.  This doesn't
> work, and instead I see this in the debug window:
>
> (global) showBalloon got error: No line 6264 in file "../../gcc/gcc/java/expr.c".

Whoa. This is serious. Does gdb even know about the file/function? Try
"info function NAME"...

Keith


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: more on file name problem
  2001-10-06 11:14   ` Tom Tromey
  2001-10-06 11:18     ` Keith Seitz
@ 2001-12-03 11:26     ` Tom Tromey
  1 sibling, 0 replies; 8+ messages in thread
From: Tom Tromey @ 2001-12-03 11:26 UTC (permalink / raw)
  To: Keith Seitz; +Cc: Insight List

>>>>> "Keith" == Keith Seitz <keiths@cygnus.com> writes:

>> (global) showBalloon got error: No line 6264 in file "../../gcc/gcc/java/expr.c".

Keith> Whoa. This is serious. Does gdb even know about the
Keith> file/function? Try "info function NAME"...

I was able to set breakpoints in the file I wanted using:

    b ../../gcc/gcc/expr.c:LINE

gcc/java/expr.c is the "wrong" file -- the one I wasn't interested in
(this time) but which showed up in the combo box.

I did notice that my breakpoints in the "right" file occasionally
would be deleted with no warning to me.  I'm not sure exactly when
that would happen.

Tom

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: more on file name problem
  2001-10-06 11:18     ` Keith Seitz
@ 2001-12-03 11:29       ` Keith Seitz
  0 siblings, 0 replies; 8+ messages in thread
From: Keith Seitz @ 2001-12-03 11:29 UTC (permalink / raw)
  To: Tom Tromey; +Cc: Insight List

On 3 Dec 2001, Tom Tromey wrote:

> I was able to set breakpoints in the file I wanted using:
>
>     b ../../gcc/gcc/expr.c:LINE
>
> gcc/java/expr.c is the "wrong" file -- the one I wasn't interested in
> (this time) but which showed up in the combo box.

Ugh. It's the whole multiple-files-with-the-same-name problem.

I'm gonna see if I can add a testsuite case for this... (Maybe to gdb,
too.)

> I did notice that my breakpoints in the "right" file occasionally
> would be deleted with no warning to me.  I'm not sure exactly when
> that would happen.

Probably more confusion about this...

Keith


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-12-03 19:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-05 18:17 more on file name problem Tom Tromey
2001-10-06  6:23 ` Keith Seitz
2001-10-06 11:14   ` Tom Tromey
2001-10-06 11:18     ` Keith Seitz
2001-12-03 11:29       ` Keith Seitz
2001-12-03 11:26     ` Tom Tromey
2001-12-03 10:56   ` Keith Seitz
2001-12-01 14:11 ` Tom Tromey

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).