Article View: gnu.gdb.bug
Article #483Re: gdb doesnt recognize ISC core dump
From: Martin Tomes
Date: Fri, 16 Oct 1992 08:18
Date: Fri, 16 Oct 1992 08:18
42 lines
2161 bytes
2161 bytes
voder!wlbr!WLV.IIPO.GTEGSC.COM!amc@ucbvax.berkeley.edu (Allen M. Cohen) writes:
>In article <1992Oct9.090901.13991@eurotherm.co.uk> mt00@etherm.co.uk (Martin Tomes) writes:
>>nat@egg.gg.caltech.edu (Nathan Inada) writes:
>>
>>
>>uudecode and uncompress this. It is the patches I have applied to gdb 4.6 and it works very well. We use ISC 3.0.
>>
>I get a patch error from iscpatch:
> Patching file gdb/coffread.c using Plan A...
> Malformed patch at line 140: ame));
>I'm using patch version 12u3.
>--
><> Allen M. Cohen -- Autologic, Inc. 1050 Rancho Conejo Blvd.,T.O. Ca.91320 <>
><> 1853 Stonesgate St. Internet: amc@IIPO.GTEGSC.COM <>
><> Westlake Village, Ca. 91361 Telephone: (805) 498-9611 ext. 195 <>
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Sorry! A line was split, here is the correct patch:
*** coffread.c-dist Wed Jul 8 23:01:37 1992
--- coffread.c Wed Jul 8 23:04:15 1992
***************
*** 1537,1542 ****
--- 1537,1547 ----
bzero (sym, sizeof (struct symbol));
name = cs->c_name;
name = (name[0] == '_' ? name + offset : name);
+ /* Try and give 'this' a better name in C++. This change made for ISC, it
+ * might work elsewhere, too (copied basically from mipsread.c)
+ */
+ if (name[0] == CPLUS_MARKER && name[1] == 't' && name[2] == 0)
+ name = "this";
SYMBOL_NAME (sym) = obstack_copy0 (&objfile->symbol_obstack, name, strlen (name));
/* default assumptions */
--
Martin Tomes
Janet: mtomes@uk.co.eurotherm
Internet: mtomes@eurotherm.co.uk
UUCP: {uknet,uunet}!etherm!mtomes
Technical Details
Message-ID:
<1992Oct16.081858.27200@eurotherm.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!etherm.co.UK!mt00References:
<1aur4vINN6c5@gap.caltech.edu>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!etherm.co.UK!mt00 From: mt00@etherm.co.UK (Martin Tomes) Subject: Re: gdb doesnt recognize ISC core dump Message-ID: <1992Oct16.081858.27200@eurotherm.co.uk> Keywords: gdb isc Sender: gnulists@ai.mit.edu Organization: Eurotherm Limited References: <1aur4vINN6c5@gap.caltech.edu> Distribution: gnu Date: Fri, 16 Oct 1992 08:18:58 GMT Approved: bug-gdb@prep.ai.mit.edu Lines: 44