Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 3 > Re: cm3 and gdb
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 10 Topic 63 of 149
Post > Topic >>

Re: cm3 and gdb

by "E.A. Ratzer" <ear23@[EMAIL PROTECTED] > Sep 28, 2003 at 05:38 PM

On 28 Sep 2003, Olaf Wagner wrote:
> On several systems, including LINUXLIBC6, FreeBSDX, DS3100,
> the garbage collector uses memory protection to implement incremental
> and generational collections. SIGSEGV is the usual reaction of
> a Unix system to a write request to a protected page. This is
> caught deep in the Modula-3 runtime. So in order to debug a
> program in gdb or m3gdb, you should always add the command line
> argument @[EMAIL PROTECTED]
 which disables the virtual memory protection.
> This should be a FAQ, I think.

I tend not to do this as I imagine a program could behave differently when
given this option.  I instead issue

handle SIGSEGV nostop noprint

to gdb/m3gdb.

Ed.
 




 10 Posts in Topic:
cm3 and gdb
Henning Thielemann <ia  2003-09-22 14:20:38 
Re: cm3 and gdb
Olaf Wagner <wagner@[E  2003-09-28 13:09:13 
Re: cm3 and gdb
"E.A. Ratzer" &  2003-09-28 17:38:59 
Re: cm3 and gdb
Olaf Wagner <wagner@[E  2003-09-28 22:56:34 
newsgroup for modula 3 no longer in google?
Henning Thielemann <ne  2003-09-30 12:30:29 
Re: newsgroup for modula 3 no longer in google?
Teresa <<Terry>   2003-09-30 15:21:08 
Re: newsgroup for modula 3 no longer in google?
dragisha@[EMAIL PROTECTED  2003-10-06 01:11:17 
Re: newsgroup for modula 3 no longer in google?
Henning Thielemann <ia  2003-10-06 16:10:48 
Re: newsgroup for modula 3 no longer in google?
Teresa <<Terry>   2003-10-06 15:39:00 
Re: newsgroup for modula 3 no longer in google?
"E.A. Ratzer" &  2003-10-01 11:12:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:31:37 CDT 2008.