Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Kris Warkentin <kewarken@qnx.com>
Cc: Daniel Jacobowitz <drow@mvista.com>, gdb@sources.redhat.com
Subject: Re: problem with exec-file when targetting remote machine
Date: Wed, 26 Mar 2003 22:25:00 -0000	[thread overview]
Message-ID: <3E8228B6.2030007@redhat.com> (raw)
In-Reply-To: <019c01c2f3e2$a0e02dc0$0202040a@catdog>


> Can anyone tell me the possible ramifications of commenting out this line?
> I wouldn't normally contemplate this kind of fix but I have only a short
> while to get this in a patch.  In my preliminary tests, everything seems to
> work but I'm worried that there might be other consequences.

Assume the code was originally added because of a bug :-)  I'm guessing 
something like:

(gdb) file executable
(gdb) disassemble main

will break.  It will select the wrong disassembler.  Why isn't the 
executable being recognized, and why do the defaults fail?  (NickC 
pointed me at an endian problem recently).

Andrew



  reply	other threads:[~2003-03-26 22:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-24 20:07 Kris Warkentin
2003-03-24 20:36 ` Daniel Jacobowitz
2003-03-26 21:56   ` Kris Warkentin
2003-03-26 22:25     ` Andrew Cagney [this message]
2003-03-30  1:12       ` Kris Warkentin

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=3E8228B6.2030007@redhat.com \
    --to=ac131313@redhat.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=kewarken@qnx.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