Operating System - HP-UX
1753546 Members
5598 Online
108795 Solutions
New Discussion

Re: /usr/local/bin/gdb: unrecognized option `-brtc'

 
David R A
Occasional Advisor

/usr/local/bin/gdb: unrecognized option `-brtc'

Hi, we just upgraded to GDB version 7.2 and this error is being reported.
More concretely as:
/usr/local/bin/gdb: unrecognized option `-brtc'
Use `/usr/local/bin/gdb --help' for a complete list of options.
Broken synchronization between child/parent process: No such file or directory

We have configured as:
export GDB_SERVER=/usr/local/bin/gdb
(where we have installed new GDB)
export LD_PRELOAD=/opt/langtools/lib/librtc.sl
(where old librtc is as no new has been installed)

We checked that there's no new one in /usr/local/lib/ as:
$ find . -name "librtc*" 2>/dev/null
./opt/langtools/lib/pa20_64/librtc.sl
./opt/langtools/lib/librtc.sl
How can we install a new one?

We think that might be the problem as per the documentation found:
"These error messages are displayed if the version of WDB and librtc.[sl|so] do not match, or if WDB is not available on the system."
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: /usr/local/bin/gdb: unrecognized option `-brtc'

>we just upgraded to GDB version 7.2 and this error is being reported.

You are using a foreign devil version of gdb. This isn't HP's WDB version, which is in /opt/langtools/bin/. You can't use librtc.sl, etc.