[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [patch #6776] No segfault on access to not implemented
From: |
Onno Kortmann |
Subject: |
[Simulavr-devel] [patch #6776] No segfault on access to not implemented I/O registers |
Date: |
Wed, 11 Mar 2009 22:57:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.19) Gecko/20081202 Iceweasel/2.0.0.19 (Debian-2.0.0.19-0etch1) |
URL:
<http://savannah.nongnu.org/patch/?6776>
Summary: No segfault on access to not implemented I/O
registers
Project: Simulavr: an AVR simulator
Submitted by: onnokort
Submitted on: Mi 11 Mär 2009 23:57:32 CET
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
If there is a subclass of AVRDevice which has not filled in all I/O
registers, any access to an invalid register may cause a segfault.
Segfaults do not give much information and should generally be avoided, so
this patch makes simulavr handle all access to not-implemented I/O as invalid
I/O and makes it therefore more robust.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mi 11 Mär 2009 23:57:33 CET Name: no-segfault-on-missing-io.patch
Size: 1kB By: onnokort
<http://savannah.nongnu.org/patch/download.php?file_id=17651>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6776>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [Simulavr-devel] [patch #6776] No segfault on access to not implemented I/O registers,
Onno Kortmann <=