From: Joel Brobecker <brobecker@adacore.com>
To: Kai Tietz <ktietz70@googlemail.com>
Cc: Kai Tietz <Kai.Tietz@onevision.com>, gdb <gdb@sourceware.org>,
Roland Schwingel <roland.schwingel@onevision.de>
Subject: Re: gdb_assert when resetting breakpoints
Date: Thu, 30 Apr 2009 21:37:00 -0000 [thread overview]
Message-ID: <20090430205455.GC10734@adacore.com> (raw)
In-Reply-To: <90baa01f0903210926r1758a0a7m379ec93fc4b7d33a@mail.gmail.com>
> >> What has happenend: In breakpoint.c line 7417 you find:
> >> sals = decode_line_1 (&s, 1, (struct symtab *) NULL, 0, (char ***)
> >> NULL,not_found_ptr);
> >> s points to "main" at that moment as found in the breakpoint structure
> >> supplied to breakpoint_re_set_one().
> >>
> >> sals (returned from decode_line_1) contains 2 entries. Sals entry
> >> 0 points to the ObjectiveC METHOD main of the foundation base class
> >> NSThread (written in ObjC notation -[NSThread main]).
The problem, at this point, seems to be the fact that decode_line_1
should NOT be returning a match for this ObjC class method, since
the breakpoint language was C. I think we need to find out why
this method was selected as a match, and prevent it from happening.
--
Joel
next prev parent reply other threads:[~2009-04-30 20:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 14:02 Roland Schwingel
2009-03-10 15:39 ` Paul Pluzhnikov
2009-03-17 10:24 ` Kai Tietz
2009-03-21 16:26 ` Kai Tietz
2009-04-30 21:37 ` Joel Brobecker [this message]
2009-03-10 16:45 Roland Schwingel
2009-03-17 11:44 Roland Schwingel
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=20090430205455.GC10734@adacore.com \
--to=brobecker@adacore.com \
--cc=Kai.Tietz@onevision.com \
--cc=gdb@sourceware.org \
--cc=ktietz70@googlemail.com \
--cc=roland.schwingel@onevision.de \
/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