Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Aleksandar Ristovski <aristovski@qnx.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] gdbserver: Add qnx target
Date: Tue, 30 Jun 2009 12:11:00 -0000	[thread overview]
Message-ID: <200906301312.42665.pedro@codesourcery.com> (raw)
In-Reply-To: <4A42757F.4020804@qnx.com>

On Wednesday 24 June 2009 19:50:39, Aleksandar Ristovski wrote:

> Ok, here is my new patch. I addressed all of the above, and 
> probably introduced some new issues :-).  For my bonus 
> points, I added comments for each function definition in 
> nto-low.c

:-) Thanks for that.

On Wednesday 24 June 2009 19:50:39, Aleksandar Ristovski wrote:
> +  /* Skip over argc, argv and envp... (see comment in ldd.c)  */

Are ldd.c's sources available?  :-)  If not, could you paste
that comment there too?

On Wednesday 24 June 2009 19:50:39, Aleksandar Ristovski wrote
> +  i[34567]86-*-nto*)   srv_regobj=reg-i386.o
> +                       srv_tgtobj="nto-low.o nto-x86-low.o"
> +                       srv_qnx_LIBS=-lsocket
> +                       srv_qnx="yes"

Do you think the set of libs will change depending on the qnx
arch?  In other words, if you're adding a $srv_qnx, do you really
need a new srv_qnx_LIBS variable?

> +  //TODO: FPU, XMM registers
> +  return -1;

Is this a planned feature?  An nto limitation?  Anyway, the reason
this caught my eye was due to use of C++ style comment.  For
consistency, please always use C-style comments (yes, even though
gcc supports those as C extension for ages).


> Let me know what you think (once this goes in, I will change 
> gdb's configure.tgt to say "yes" to generating gdbserver for 
> Neutrino - in a separate patch submission).
> 

Other than the obvious watchpoint/point interface
changes that happened meanwhile, and the nits above, it looks OK to me.


-- 
Pedro Alves


  reply	other threads:[~2009-06-30 12:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 15:05 Aleksandar Ristovski
2009-06-17 18:50 ` Aleksandar Ristovski
2009-06-20 16:01   ` Pedro Alves
2009-06-19 16:37 ` Pedro Alves
2009-06-19 16:42 ` Pedro Alves
2009-06-19 19:58   ` Aleksandar Ristovski
2009-06-20  0:01     ` Pedro Alves
2009-06-24 18:51       ` Aleksandar Ristovski
2009-06-30 12:11         ` Pedro Alves [this message]
2009-07-06 16:02           ` Aleksandar Ristovski
2009-07-06 16:49             ` Pedro Alves
2009-07-06 18:35               ` Aleksandar Ristovski

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=200906301312.42665.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=aristovski@qnx.com \
    --cc=gdb-patches@sourceware.org \
    /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