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: patch to add QNX NTO i386 support


> > This GDB was configured as "--host=i686-pc-cygwin --target=ntox86".
> > (gdb) target qnx ren:10000
> > Remote debugging using ren:10000
> > (gdb) sym blah
> > Reading symbols from blah...done.
>
> Silly question - why not say "file blah" here?  That'll set exec_bfd,
> and you'll be just fine.


Not silly.  If you say 'file' you have tied yourself to the host and target
file being the same.  I need to be able to get syms from /home/kewarken/foo
and run /tmp/foo.


> If I'm right, and you want to support the above sequence, you could
> probably locally make sym set the exec file, if none was set.

I'm trying to find the right place to call exec_file_attach or some such.  I
think I'm close....;-)

cheers,

Kris


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