Re: GDB - insert breakpoint in a subroutine

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

 



victor marian wrote:
How can I set a breakpoint when entering a subroutine
 in gdb?
 break function
     inserts a breakpoint in a function
     If I enter a subroutine it says the
subroutine is not recognised.
If you mean a Fortran subroutine, there are likely to be appended underscores in the name as seen in gdb. A "user" subroutine would have 2 appended underscores, by default, with g77, 1 underscore with most other compilers, including gfortran.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux