Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: cc & DECladebug: bug or feature?
       [not found] <3n5v8v$q90@ibch10.inf.tu-dresden.de>
@ 1995-04-21  4:00 ` Dennis Murphy
       [not found] ` <3naktb$2hq@ibch10.inf.tu-dresden.de>
  1 sibling, 0 replies; 3+ messages in thread
From: Dennis Murphy @ 1995-04-21  4:00 UTC (permalink / raw)



    I've followedup on this with Matthias offline and will post a 
    resolution to the problem when I reproduce or otherwise close
    the problem.

						Dennis Murphy



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cc & DECladebug: bug or feature?
       [not found] ` <3naktb$2hq@ibch10.inf.tu-dresden.de>
@ 1995-04-24  4:00   ` Dennis Murphy
  1995-04-25  4:00   ` Tom Carlson
  1 sibling, 0 replies; 3+ messages in thread
From: Dennis Murphy @ 1995-04-24  4:00 UTC (permalink / raw)



    Matthias, I've isolated the problem and it is a bug, not a feature!

    Differences in providing/not providing typedef information caused
    debugger/gui confusion.

    The cc version does NOT provide typedef information while cc -migrate
    does....

    cc 
(decladebug) run
[1] stopped at [main:16 0x1200011f0]
     16   p_scan_context = malloc(sizeof(scan_context_t));
(decladebug) whatis p_scan_context
scan_context_structure_t * p_scan_context

    cc -migrate 

(decladebug) run
[1] stopped at [main:16 0x120001210]
     16   p_scan_context = malloc(sizeof(scan_context_t));

(decladebug) whatis p_scan_context
scan_context_t * p_scan_context

    Thanks for bringing this to our attention.

							Dennis Murphy



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cc & DECladebug: bug or feature?
       [not found] ` <3naktb$2hq@ibch10.inf.tu-dresden.de>
  1995-04-24  4:00   ` Dennis Murphy
@ 1995-04-25  4:00   ` Tom Carlson
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Carlson @ 1995-04-25  4:00 UTC (permalink / raw)



> I don't know the version of our compilers, I don't even
> know how to get to know them ;-)

Matthias,

The best way to get version of the DEC C compiler (aka 
"cc -migrate") is to generate a source listing and look 
at the banner.
 > cc -migrate -source_listing foo.c
 > grep "DEC C" foo.lis
       Source Listing   25-Apr-1995 10:48:14   DEC C V4.2-002     
                                               ^^^^^^^^^^^^^^  
(line edited for clarity)
 
I'm not an authority on the acc ("cc") compiler, but I 
believe the best way to get its version number is to 
generate a .o file, and run file on it.
 > kikkin> grep "DEC C" foo.lis
       Source Listing   25-Apr-1995 10:48:14   DEC C V4.2-002     
                                               ^^^^^^^^^^^^^^   
> cc -c foo.c -o foo.o
> file foo.o
foo.o:  COFF format alpha executable or object module not stripped
 - version 3.11-8
   ^^^^^^^^^^^^^^
(line wrapped for clarity)


Tom

--

Thomas Carlson,   DEC C/ DEC C++     carlson@decc.enet.dec.com
Digital Equipment Corporation,  ZK2-3/N30           
110 Spitbrook Rd,
Nashua, NH  03062



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-04-25  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3n5v8v$q90@ibch10.inf.tu-dresden.de>
1995-04-21  4:00 ` cc & DECladebug: bug or feature? Dennis Murphy
     [not found] ` <3naktb$2hq@ibch10.inf.tu-dresden.de>
1995-04-24  4:00   ` Dennis Murphy
1995-04-25  4:00   ` Tom Carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox