hi all,
for some reason gdb refuses to break on breakpoints in libc twice in a
row.. check this:
csh> gdb ./test_gdb
GNU gdb 4.18
Copyright 1998 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 "alpha-dec-osf4.0d"...
(gdb) break *0x3ff8019ac00
Breakpoint 1 at 0x3ff8019ac00
(gdb) break *0x120001198
Breakpoint 2 at 0x120001198: file test_gdb.c, line 6.
(gdb) run
Starting program: /home/students/gorzeman/./test_gdb
Breakpoint 1, 0x3ff8019ac00 in __malloc_locks_reinit () from
/usr/shlib/libc.so
(gdb) continue
Continuing.
Breakpoint 2, 0x120001198 in main () at test_gdb.c:6
6 }
(gdb) continue
Continuing.
Program exited normally.
(gdb) info breakpoints
Num Type Disp Enb Address What
1 breakpoint keep y 0x3ff8019ac00 <__malloc_locks_reinit+16>
breakpoint already hit 1 time
2 breakpoint keep y 0x120001198 in main at test_gdb.c:6
breakpoint already hit 1 time
(gdb) run
Starting program: /home/students/gorzeman/./test_gdb
Breakpoint 2, 0x120001198 in main () at test_gdb.c:6
6 }
(gdb) continue
Continuing.
Program exited normally.
(gdb)
... anyone got a clue why this is the case and what i can do about it?
please cc replies to me personally, as i'm not on the list.
cheers,
ludo
[EMAIL PROTECTED]
Twas brillig, and the Protocols
Did USER-SERVER in the wabe.
All mimsey was the FTP,
And the RJE outgrabe.
D.L. COVILL
May 1973
_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb