This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH, FT32] gdb and sim support


On 19 Mar 2015 15:26, James Bowman wrote:
> > > +SIM_RUN_OBJS = nrun.o
> > 
> > i flipped the default in the latest tree so you can delete this now
> 
> Deleting this line gives:
> 
> run.o: In function `main':
> ... /ft32/../common/run.c:116: undefined reference to `sim_set_callbacks'
> ... /ft32/../common/run.c:163: undefined reference to `sim_size'
> ... /ft32/../common/run.c:271: undefined reference to `sim_trace'

you probably need to:
 - make sure you're using the latest tree
 - make sure you've regenerated the autotool files
 - rebuild the sim dir from scratch

> > > +  sd->base.prog_argv = argv + 1;
> > 
> > why do you need to do this ?
> 
> Because if this is omitted, no command line arguments are processed.

if you use nrun (see above) then you don't need this
-mike

Attachment: signature.asc
Description: Digital signature


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