Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
[PATCH] Fixes segfault in pdb
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
JüRgen" "BöMmels  
View profile  
 More options Sep 30 2002, 6:00 am
Newsgroups: perl.perl6.internals
From: bugs-par...@netlabs.develooper.com (JüRgen" "BöMmels)
Date: Mon, 30 Sep 2002 09:48:05 GMT
Local: Mon, Sep 30 2002 5:48 am
Subject: [perl #17683] [PATCH] Fixes segfault in pdb

# New Ticket Created by  Jürgen Bömmels
# Please include the string:  [perl #17683]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=17683 >

Hi,

When you use pdb and hit just <ENTER> you get a segfault. Thats quite
anoying especially if you are used to gdbs behaviour.

The attached patch fixes this by just ignoring empty lines.

bye
b.

-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/38900/31614/ec6c32/debug.diff

  debug.diff
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aldo Calpini  
View profile  
 More options Sep 30 2002, 11:48 am
Newsgroups: perl.perl6.internals
From: dada.l...@alos.it (Aldo Calpini)
Date: Mon, 30 Sep 2002 17:34:11 +0200
Local: Mon, Sep 30 2002 11:34 am
Subject: Re: [perl #17683] [PATCH] Fixes segfault in pdb

Jürgen Bömmels wrote:
> Hi,

> When you use pdb and hit just <ENTER> you get a segfault. Thats
> quite anoying especially if you are used to gdbs behaviour.

> The attached patch fixes this by just ignoring empty lines.

this doesn't seem to me how pdb is supposed to work.
docs/debugger.pod says:

     A blank line always repeat the last command entered.

and that's also perl -d behaviour.
either fix it differently, or patch the documentation too :-)

cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juergen Boemmels  
View profile  
 More options Sep 30 2002, 5:48 pm
Newsgroups: perl.perl6.internals
From: boemm...@physik.uni-kl.de (Juergen Boemmels)
Date: 30 Sep 2002 23:30:19 +0200
Local: Mon, Sep 30 2002 5:30 pm
Subject: Re: [perl #17683] [PATCH] Fixes segfault in pdb

Everything you want.
But I don't think the previous segfault was intended behaviour.

      A blank line always gets a segfault.

Ok, after some more debugging of the debugger i got it working like
documented.

bye
b.

  debug.diff
1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »