[PATCH] Mention some problems with using GDB on FreeBSD
Eli Zaretskii
eliz@is.elta.co.il
Sat Aug 24 14:05:00 GMT 2002
> Date: Sat, 24 Aug 2002 16:28:21 +0200 (CEST)
> From: Mark Kettenis <kettenis@chello.nl>
>
> +As a result GDB tends to place breakpoints on functions before the
> +function prologue, and information about function parameters and local
> +variables is lost. In earlier versions of GDB the effects were rather
> +limited, but starting with GDB 5.3 the influence is much more
> +prominent. As a workaround, compile your code with -gdwarf-2.
Perfect; thanks!
More information about the Gdb-patches
mailing list