On 18 Feb, Damjan Jovanovic wrote:
> Hi
> 
> On FreeBSD, when I try debug dmake modules in AOO with gdb, and use
> the "break <file>:<line>" command, I have to specify the filename
> only, without a path, otherwise it can't find it. On Linux it always
> finds the file, whether an absolute path, relative path, or filename
> only is used. Eclipse CDT's integrated debugger fails to set
> breakpoints because of this, making it useless.
> 
> On the other hand, gbuild modules with the patch at the end of my mail
> (and --enable-symbols to ./configure) work just fine using absolute
> path and relative path. However patching dmake to use similar debug
> options to gbuild didn't help:
> 
> Index: main/solenv/inc/unxfbsd.mk
> ===================================================================
> --- main/solenv/inc/unxfbsd.mk    (revision 1730773)
> +++ main/solenv/inc/unxfbsd.mk    (working copy)
> @@ -86,7 +86,7 @@
>  .IF "$(ENABLE_SYMBOLS)"=="SMALL"
>  CFLAGSENABLESYMBOLS=-g1
>  .ELSE
> -CFLAGSENABLESYMBOLS=-g # was temporarily commented out, reenabled before Beta
> +CFLAGSENABLESYMBOLS=-ggdb3 # was temporarily commented out, reenabled
> before Beta
> 
>  .ENDIF
> 
> 
> Is there known issues debugging clang's binaries with gdb? Any ideas?

I'm pretty sure that gdb from ports should be used instead of the base
gdb.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to