Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simark@simark.ca>
To: George Barrett <bob@bob131.so>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Fix handling of null stap semaphores
Date: Tue, 31 Dec 2019 17:56:00 -0000	[thread overview]
Message-ID: <80ec9762-c25b-747d-40f9-eafbb357cff1@simark.ca> (raw)
In-Reply-To: <ecf08053-550e-e1d7-fbfa-b5d0f8cb0711@simark.ca>

On 2019-12-29 1:58 p.m., Simon Marchi wrote:
> Note that I found what looks like to be a GDB bug while doing this:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=25321

Btw, forget about this, I was just forgetting how pointer arithmetic works.

Making the global variable a char instead of an int (or casting the pointers in GDB)
should make it work as expected.

Simon


      parent reply	other threads:[~2019-12-31 17:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03 19:59 George Barrett
2019-12-18 17:20 ` [PING] " George Barrett
2019-12-28  5:28   ` [PING**2] " George Barrett
2019-12-29 18:58 ` Simon Marchi
     [not found]   ` <63-043i577lrr0nz3p9q-864io50kubhf/q6&oul1hzd/xh4.u6c@mail.bob131.so>
2019-12-30 17:59     ` Simon Marchi
2019-12-31  4:39       ` George Barrett
2019-12-31 17:37         ` Simon Marchi
2019-12-31 17:59           ` George Barrett
2019-12-31 17:56   ` Simon Marchi [this message]

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=80ec9762-c25b-747d-40f9-eafbb357cff1@simark.ca \
    --to=simark@simark.ca \
    --cc=bob@bob131.so \
    --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