Thread View: gnu.gdb.bug
3 messages
3 total messages
Started by Michael Elizabeth Chastain
Wed, 15 May 2002 17:29
Re: c++ strings with gdb??
Author: Michael Elizabeth Chastain
Date: Wed, 15 May 2002 17:29
Date: Wed, 15 May 2002 17:29
20 lines
1570 bytes
1570 bytes
$10 = {static npos = 4294967295, static nilRep = {len = 0, res = 0,
ref = 1,
selfish = false}, dat = 0x24340 "<A HREF=\"http:/"}
This looks reasonable. gdb shows "char *" pointers as a null-terminated
string.
> BTW, why are there so many spam messages in this group, such as
> "making money from home" or something like this? And there are also
> many un-displayable characters on my screen for many messages. It is
> just weird for me. ... Did I find the right group for dicussing gnu
> gdb?...
This is the right group.
It takes work to anti-spam a group, especially when the group accepts
submissions from non-members. And we are all volunteers, and the spam
filters are not perfect.
Michael C
Re: c++ strings with gdb??
Author: David Cogen
Date: Wed, 15 May 2002 19:30
Date: Wed, 15 May 2002 19:30
12 lines
1320 bytes
1320 bytes
> It takes work to anti-spam a group, especially when the group accepts > submissions from non-members. And we are all volunteers, and the spam > filters are not perfect Then I think my question is: why do these groups accept submissions from non-members? *Every* other mailing list I belong to is members-only, but signing up is easy so that's not a problem. And spam is essentially non-existent on all of these. It seems clear to me that that is the answer. --David C
Re: c++ strings with gdb??
Author: Dave
Date: Fri, 17 May 2002 15:01
Date: Fri, 17 May 2002 15:01
32 lines
2599 bytes
2599 bytes
mec@shout.net (Michael Elizabeth Chastain) wrote in message news:<200205151729.g4FHTEi21529@duracef.shout.net>...
> $10 = {static npos = 4294967295, static nilRep = {len = 0, res = 0,
> ref = 1,
> selfish = false}, dat = 0x24340 "<A HREF=\"http:/"}
>
> This looks reasonable. gdb shows "char *" pointers as a null-terminated
> string.
>
But..., but why the dat field has so many extra characters? I know gdb
can show the terminating '\0' char for C, but ..., but why does it
show that many characters for this C++ string? Where do these extra
chars come from? For refereence to my first post, this string should
have only "<", without those trailling chars.
> > BTW, why are there so many spam messages in this group, such as
> > "making money from home" or something like this? And there are also
> > many un-displayable characters on my screen for many messages. It is
> > just weird for me. ... Did I find the right group for dicussing gnu
> > gdb?...
>
> This is the right group.
>
> It takes work to anti-spam a group, especially when the group accepts
> submissions from non-members. And we are all volunteers, and the spam
> filters are not perfect.
>
> Michael C
Wow, sorry. I did not realize my curiosity triggered this many
arguments on this issue. Thanks you guys for still keeping this group
alive. Otherwise, I don't know where I can post my questions. 8-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads