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


> >     * ser-ntopty.c: New file
>
> Hmm, is this specific to nto?  Also, glancing through the code, how
> different is this to the existing serial code.  I'm wondering if the
> file exists due to local fixes and not because it is needed.

It took me a few minutes to remember what this was.  When we originally
ported gdb, the only way it worked was using the remote pdebug protocol,
even on the local machine (we had no native procfs port).  So, you would
issue a command 'target qnx pty' (instead of 'target qnx <serial port>' or
'target qnx '<host>:<port>') and it would automatically spawn the pdebug
server on a pty and connect to it.  Since we've got a native procfs port
working, this is by and large redundant so I'll take it out.  It was only
there for legacy support and because it was sometimes useful to compare the
procfs vs. the pdebug to make sure things are working.  Since the equivalent
can be accomplished with 'target qnx localhost:<port>', I think it's time
for ser-ntopty.c to die.

cheers,

Kris


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