* PROBLEMS: Clarify problems with FreeBSD's compiler and suggest

workaround.
This commit is contained in:
Mark Kettenis 2002-08-24 14:36:12 +00:00
parent bc712bbf17
commit cd87e76990
2 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2002-08-24 Mark Kettenis <kettenis@gnu.org> 2002-08-24 Mark Kettenis <kettenis@gnu.org>
* PROBLEMS: Clarify problems with FreeBSD's compiler and suggest
workaround.
* valprint.c (print_longest) [CC_HAS_LONG_LONG && * valprint.c (print_longest) [CC_HAS_LONG_LONG &&
PRINTF_HAS_LONG_LONG]: Cast val_long to (long long) or (unsigned PRINTF_HAS_LONG_LONG]: Cast val_long to (long long) or (unsigned
long long) to prevent compiler warning on 64-bit systems. long long) to prevent compiler warning on 64-bit systems.

View file

@ -17,8 +17,11 @@ i386-*-freebsd[34]*
There is a bug (bin/41671) in FreeBSD's gcc that causes it to emit bad There is a bug (bin/41671) in FreeBSD's gcc that causes it to emit bad
debug information when using the stabs format (which is the default). debug information when using the stabs format (which is the default).
In earlier versions of GDB the effects were rather limited, but As a result GDB tends to place breakpoints on functions before the
starting with GDB 5.3 the influence is much more prominent. 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.
hppa2.0-hp-hpux10.20 hppa2.0-hp-hpux10.20