debugging rlm_

Frank Cusack fcusack at fcusack.com
Thu Sep 29 08:07:39 CEST 2005


On September 28, 2005 9:39:49 PM -0400 Joe Maimon <jmaimon at ttec.com> wrote:
> Any tips on how to get gdb to load the symbols for the rlm_ and breakpoint its functions?

1. Use a recent gdb.

or

2. a. break after the part in the "core" freeradius that loads the modules
   b. set your breakpoints
   c. when you restart, you have to disable all breakpoints in the modules
      before allowing freeradius to run
   d. when you hit the "core" freeradius breakpoint, re-enable the module
      breakpoints.

As you see, (1) is a much better option.

-frank



More information about the Freeradius-Devel mailing list