Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: kuba@witominska.net
To: gdb@sourceware.org
Subject: Style and navigation in project question(?)
Date: Thu, 06 Sep 2018 12:21:00 -0000	[thread overview]
Message-ID: <c78a497c8491dc24ee75960eec1807d2.squirrel@poczta.uirs.pl> (raw)

Hi,
I'm new in this project and for beginning  I want to figure out how to fix
this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=23182
I already reproduce it and relay gdb print 'x' array wrong, but it's not a
main question.
1. Trying to figure out what function can make problems I jump into print
and slowly go back. Reading code of those function I saw style problems
like
 int x;
 ...
 if (x) ...
or
if(a==b)
   /* it's ok to be a and b equal*/
   return a+b;
Is better to not touch them or add  !=0 or {}  as said in style documents?
(this one:
https://sourceware.org/gdb/wiki/Internals%20GDB-Testsuite-Coding-Standards
)

2. Its so big and I feel a bit lost. I found those  "print"  by luck and
guess. Is there any kind of map that can help me to find eg. actually
function that look for Fortran array, and try to print it? Or what
document I miss and should read?

3. It should be first question, but em I ask those two above in right place?


             reply	other threads:[~2018-09-06 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-06 12:21 kuba [this message]
2018-09-07 22:34 ` Tom Tromey

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=c78a497c8491dc24ee75960eec1807d2.squirrel@poczta.uirs.pl \
    --to=kuba@witominska.net \
    --cc=gdb@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