[RFC] adding gdb.pascal subdir
'Daniel Jacobowitz'
drow@false.org
Wed Jul 18 09:16:00 GMT 2007
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
More information about the Gdb-patches
mailing list