Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pierre Habraken <Pierre.Habraken@imag.fr>
To: Richard.Earnshaw@arm.com
Cc: gdb@sources.redhat.com
Subject: Re: Gdb does not list .S files
Date: Mon, 09 Sep 2002 07:23:00 -0000	[thread overview]
Message-ID: <3D7CAEC1.4B48FF88@imag.fr> (raw)
In-Reply-To: <200209091416.g89EGZx11684@pc960.cambridge.arm.com>

Richard Earnshaw wrote:
> 
> Pierre.Habraken@imag.fr said:
> > I am debugging a program compiled from C and Arm assembly language
> > source files, using the simulator (target sim) of arm-elf-gdb
> > (compiled on 23 august 2002 from cvs repository). As long as no
> > breakpoint has been declared within a given assembly language file the
> > contents of that file can NOT be listed. Is this a feature or am I
> > doing something wrong ? How can one obtain the list of ALL source
> > files, assembly language as well as C language, right after gdb has
> > been started ?
> 
> If there's a problem anywhere it's in gas not in gdb.  GDB doesn't know
> about your assembly files because they contain no debug information.

Ok. But I do not undestand what is the purpose of the gas option
--gdwarf2 ?...

Pierre
-- 
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________


      reply	other threads:[~2002-09-09 14:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-09  5:31 Pierre Habraken
2002-09-09  7:17 ` Richard Earnshaw
2002-09-09  7:23   ` Pierre Habraken [this message]

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=3D7CAEC1.4B48FF88@imag.fr \
    --to=pierre.habraken@imag.fr \
    --cc=Richard.Earnshaw@arm.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