1825678 Members
3575 Online
109686 Solutions
New Discussion

XDB for Ansi C

 
Scott McDade
Frequent Advisor

XDB for Ansi C

Has anyone seen the following error when trying to use XDB to dedug Ansi C code? I am using XDB for the first time on my new workstation
and can not seem to get my code to run in XDB.

Error is as follows:

Copyright Hewlett-Packard Co. 1985,1987-1999. All Rights <<<< XDB Version A.10.10/A.10.20 HP-UX >>>>
xdb panic: Bad magic number 2369.6e63 (UE375)
xdb: cannot continue

Keep it Simple!~
2 REPLIES 2
Carlos Fernandez Riera
Honored Contributor

Re: XDB for Ansi C

Klaus Crusius
Trusted Contributor

Re: XDB for Ansi C


you have to provide the name of an executable binary file to xdb, otherwise it uses a.out as a default file name.
The file you were examining was not an executable binary file (for your system), that is the meaning of the error message. Check with "file executable" to see the file contents type.

Klaus
There is a live before death!