From: 'Daniel Jacobowitz' <drow@false.org>
To: Pierre Muller <muller@ics.u-strasbg.fr>
Cc: gdb-patches@sourceware.org, gpc@gnu.de
Subject: Re: [RFC] adding gdb.pascal subdir
Date: Wed, 18 Jul 2007 09:16:00 -0000 [thread overview]
Message-ID: <20070717221704.GA8359@caradoc.them.org> (raw)
In-Reply-To: <001f01c7c87d$e64c5d60$b2e51820$@u-strasbg.fr>
On Tue, Jul 17, 2007 at 04:22:26PM +0200, Pierre Muller wrote:
> A possible work-around would be to fix breakpoints at specific
> positions in the file, but this would require to re-edit hello.exp
> each time someone changes hello.pas source.
> I have no idea if this is acceptable.
Take a look at the testsuite function "gdb_get_line_number". You're
exactly right that fixing the breakpoints at specific positions is a
bad idea, but this way they can "float" along with the source.
> The other failure is common to gpc and fpc:
> (gdb) ptyp 'a simple string' ^M
> gives a strange error:
> No symbol table is loaded: use "file" command.
> I have no idea why this happens.
It is probably trying to call malloc to allocate the string.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-07-17 22:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <000601c77c0a$26b91750$742b45f0$@u-strasbg.fr>
[not found] ` <20070412154722.GA4189@caradoc.them.org>
[not found] ` <001201c77de2$008bc7b0$01a35710$@u-strasbg.fr>
[not found] ` <002a01c7b3cf$1cd594f0$5680bed0$@u-strasbg.fr>
[not found] ` <20070705143246.GA4958@caradoc.them.org>
2007-07-17 22:17 ` Pierre Muller
2007-07-18 9:16 ` 'Daniel Jacobowitz' [this message]
2007-07-18 12:39 ` Pierre Muller
2007-09-07 22:16 ` [RFC] adding gdb.pascal subdir: updated version Pierre Muller
2007-09-07 22:38 ` Pierre Muller
2007-09-07 22:45 ` Maxim Grigoriev
2007-10-06 15:42 ` 'Daniel Jacobowitz'
2007-10-08 7:14 ` Pierre Muller
2007-10-08 12:03 ` 'Daniel Jacobowitz'
2007-10-08 12:17 ` Pierre Muller
2007-10-08 12:42 ` 'Daniel Jacobowitz'
2007-10-08 13:42 ` Pierre Muller
2007-10-08 13:56 ` 'Daniel Jacobowitz'
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=20070717221704.GA8359@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=gpc@gnu.de \
--cc=muller@ics.u-strasbg.fr \
/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