home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14606 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!col.hp.com!hpfcbig.sde.hp.com!mjs
  2. From: mjs@fc.hp.com (Marc Sabatella)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: debugging with stripped executables...
  5. Date: 7 Jan 1993 17:10:39 GMT
  6. Organization: Hewlett-Packard Company
  7. Lines: 36
  8. Message-ID: <1iho6fINNdai@hpfcbig.sde.hp.com>
  9. References: <1993Jan6.215650.16586@brtph560.bnr.ca>
  10. Reply-To: marc@hpmonk.fc.hp.com
  11. NNTP-Posting-Host: hptrane.fc.hp.com
  12. X-Newsreader: TIN [version 1.1.4 PL6]
  13.  
  14. Chris Fulmer (chrisf@brtph316.NoSubdomain.NoDomain) wrote:
  15. : Now, the symbol table is not dumped with the core file, so it
  16. : should be possible to just use the unstripped binary, and have
  17. : everything be hunky-dorey.  Unforuently, it's not.  We get messages
  18. : like "core cannot be the core file for XXXX; ignoring core".  Not
  19. : much of a help.
  20.  
  21. You're right, this should normally work.  Are you sure it is really the same
  22. executable?  That is, did you produce the executable with "-g" and then strip
  23. it, so that you really have stripped and unstripped versions of the same
  24. executable?  Or did you perhaps produce two executables, one with "-g" and one
  25. without?  The latter will not work; slightly different code may be generated
  26. with "-g" - in particular, /usr/lib/end.o will be linked into your program.
  27. And it won't even be close if the "stripped" executable was actually produced
  28. with "-O".
  29.  
  30. : We're running (yikes) HP-UX 6.5.  Any clues?  Thanks. 
  31.  
  32. Was the core file also generated on 6.5?  There have been changes in the core
  33. file format since then; core files generated on later releases might not be
  34. readable on 6.5 - although that would presumably lead to a different error
  35. message than what you are seeing.
  36.  
  37. --
  38. Marc Sabatella
  39. marc@hpmonk.fc.hp.com
  40. --
  41. Amendment 2 Is Legalized Discrimination - Shame On You, Colorado
  42. --
  43. "Neither the State of Colorado ... nor any of its municipalities ... shall ...
  44.  enforce any ... ordinance ... whereby homosexual, lesbian, or bisexual
  45.  orientation ... shall ... be the basis of ... any ... claim of discrimination"
  46. --
  47. All opinions expressed herein are my personal ones
  48. and do not necessarily reflect those of HP or anyone else.
  49.