bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb on osf1 acting weird with breakpoints


From: Ludo Gorzeman
Subject: gdb on osf1 acting weird with breakpoints
Date: Tue, 29 May 2001 02:02:16 +0200 (MET DST)

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
address@hidden


                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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]