Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Stan Shebs <shebs@apple.com>
To: Christopher Faylor <cgf@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: _MSC_VER == windbg?
Date: Wed, 09 May 2001 12:15:00 -0000	[thread overview]
Message-ID: <3AF996F2.48F68B5A@apple.com> (raw)
In-Reply-To: <20010508153704.A26443@redhat.com>

Christopher Faylor wrote:
> 
> Can anyone confirm or deny the fact that all of the _MSC_VER conditionals
> in gdb are for windbg?  I suspect that they are and I'm pretty certain
> that gdb won't build using Microsoft Visual C these days.

[I would have responded yesterday, but after seeing all those old bits
of code that Eli exposed, I felt ill and had to go home early. :-)]

Yes, once upon a time that hacker's hacker, Steve Chamberlain, for
whom no hack was too gross to try, thought he'd have some fun making
a GUI GDB that ran as a normal Windows program (this was before cygwin),
built using MFC and VC++.  Until gdbtk+cygwin was fully functional a
couple years later, WinGDB was the only version of GDB that ran on
Windows and had a graphical interface, and was thus very popular with
Cygnus customers.  On the other hand, it was hard to find engineers
who weren't going to quit instead of working on it :-), so it was never
really reliable, and inevitably we ran into VC++ version problems as
well, thus the _MSC_VER tests.

The GUI code all sat in an mswin/ subdirectory, and the main code
had to be tweaked to be C++-friendly, which you see described in a
Jan 1995 ChangeLog entry by Steve.  The splash screen for the
interface included a picture of him with various utensils sticking
out of various orifices, and eventually engendered an official bug
report from an unamused customer, who thought that the image was
"unprofessional".  I suppose it was... :-)

Stan


  parent reply	other threads:[~2001-05-09 12:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-08 12:38 Christopher Faylor
2001-05-09  3:44 ` Eli Zaretskii
2001-05-10  8:33   ` Andrew Cagney
2001-05-10  8:36     ` Christopher Faylor
2001-05-10  8:43     ` Keith Seitz
2001-05-10 10:04       ` Andrew Cagney
2001-05-09 12:15 ` Stan Shebs [this message]
2001-05-09 15:02   ` Frank Ch. Eigler
2001-05-10  0:21   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AF996F2.48F68B5A@apple.com \
    --to=shebs@apple.com \
    --cc=cgf@redhat.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox