This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA]: arm changes to run gdb.asm/asm-source.exp successfully


Corinna Vinschen wrote:
> 
> On Wed, Dec 05, 2001 at 01:09:17AM +0500, Fernando Nasser wrote:
> > Corinna Vinschen wrote:
> > >
> > > Hi,
> > >
> > > the following patch allows ARM targets to run the gdb.asm test
> > > successfully.  The change consists basically of a change to
> > > asm-tdep.c, function arm_skip_prologue() to scan the prologue
> > > the hard way when the source is assembler code and of adding the
> > > appropriate arm.inc file plus some additional lines in asm-source.exp
> > > and configure.in to support the new target.
> > >
> >
> > Yes, it makes sense not to use the line number information if the
> > source is assembler (until something changes in gas land, but if
> > that happens we will adapt).  This part is approved, just add the word
> > "Always" to the changelog or reword it to "Do not use line number
> > information to skip the prolog if source is assembler.".
> 
> Thanks, I've applied that part.

Interestingly enough, though, with the fix that I just checked in
to gas for line symbols, this GDB trick seems no longer to be necessary.
The problem was with the line symbols that GAS was emitting.  There
were too many of them.  Now they are perfectly OK.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]