This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: breakpoint setting bug


On 02/21/2010 10:40 AM, Bruce Korb wrote:
bug. I used your example code to try to build a test case, but I could not
reproduce the bug.

Figured. :(

Isn't that how it always goes? O:-)


Was this application compiled with optimization?

sharutils compiles thus:
gcc -DLOCALEDIR=\"/old-home/gnu/proj/sharutils-inst/share/locale\" \
-DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../lib -I../intl   -g -Wall -MT shar.o \
-MD -MP -MF .deps/shar.Tpo -c -o shar.o shar.c
though I had the same symptom when adding "-O0" to the command.

I don't see anything suspicious in that, so it's definitely a bug.


How did you set the breakpoint?
In the command window:
gdb> b emit_file_text

Okay, that makes life a lot easier: It's a gdb bug. :-)


GNU gdb 6.8

Ah. 6.8. I don't suppose I could cajole you into trying something a little more recent? Gdb is currently on it's 7.1 release, so you're using something that is almost three releases behind.


FWIW, I use insight pretty much daily, and I only ever use a snapshot. I seldom run into problems.

I'm sure.  That's the part that will take me a little time to get to....
Sorry to just tease you.  ;)
If nothing pops up as obvious, I'll try to get to it in a week or so.

No problem. I'll be here.


Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]