Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
82d0a779
Commit
82d0a779
authored
11 years ago
by
Raymond Toy
Browse files
Options
Downloads
Patches
Plain Diff
Update for ppc to get pot files generated correctly.
parent
01a3f47b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/code/debug-int.lisp
+3
-3
3 additions, 3 deletions
src/code/debug-int.lisp
src/code/error.lisp
+2
-2
2 additions, 2 deletions
src/code/error.lisp
src/code/interr.lisp
+6
-6
6 additions, 6 deletions
src/code/interr.lisp
with
11 additions
and
11 deletions
src/code/debug-int.lisp
+
3
−
3
View file @
82d0a779
...
...
@@ -1182,7 +1182,7 @@
#+
(
or
sparc
(
and
x86
(
or
darwin
solaris
netbsd
))
(
and
(
or
x86
amd64
)
linux
))
(
defun
find-foreign-function-name
(
address
)
"Return a string describing the foreign function near ADDRESS"
_
"Return a string describing the foreign function near ADDRESS"
(
let
((
addr
(
sys:sap-int
address
)))
(
alien:with-alien
((
info
(
alien:struct
dl-info
(
filename
c-call:c-string
)
...
...
@@ -1194,7 +1194,7 @@
:extern
"dladdr"
))
(
let
((
err
(
alien:alien-funcall
dladdr
addr
(
alien:addr
info
))))
(
cond
((
zerop
err
)
(
intl:gettext
"Foreign function call land"
)
)
_
"Foreign function call land"
)
(
t
(
format
nil
"~A+#x~x [#x~X] ~A"
(
alien:slot
info
'symbol
)
...
...
@@ -1206,7 +1206,7 @@
#-
(
or
sparc
(
and
x86
(
or
darwin
solaris
netbsd
))
(
and
(
or
x86
amd64
)
linux
))
(
defun
find-foreign-function-name
(
ra
)
(
declare
(
ignore
ra
))
"Foreign function call land"
)
_
"Foreign function call land"
)
(
defun
assembly-routines-p
(
component
)
"Return t if COMPONENT contains code from assembly routines."
...
...
This diff is collapsed.
Click to expand it.
src/code/error.lisp
+
2
−
2
View file @
82d0a779
...
...
@@ -960,14 +960,14 @@
()
(
:report
(
lambda
(
condition
stream
)
(
declare
(
ignore
condition
))
(
format
stream
(
intl:gettext
"Control stack overflow"
))))
)
(
format
stream
_
"Control stack overflow"
))))
#+
heap-overflow-check
(
define-condition
heap-overflow
(
storage-condition
)
()
(
:report
(
lambda
(
condition
stream
)
(
declare
(
ignore
condition
))
(
format
stream
(
intl:gettext
"Heap (dynamic space) overflow"
))))
)
(
format
stream
_
"Heap (dynamic space) overflow"
))))
(
define-condition
type-error
(
error
)
((
datum
:reader
type-error-datum
:initarg
:datum
)
...
...
This diff is collapsed.
Click to expand it.
src/code/interr.lisp
+
6
−
6
View file @
82d0a779
...
...
@@ -666,10 +666,10 @@
(
defun
yellow-zone-hit
()
(
let
((
debug:*stack-top-hint*
nil
))
(
format
*error-output*
(
intl:gettext
"~2&~@<A control stack overflow has occurred:~%~
_
"~2&~@<A control stack overflow has occurred:~%~
the program has entered the yellow control stack guard zone.~%~
Please note that you will be returned to the Top-Level if you~%~
enter the red control stack guard zone while debugging.~@:>~2%"
)
)
enter the red control stack guard zone while debugging.~@:>~2%"
)
(
infinite-error-protect
(
error
'stack-overflow
))))
;;;
...
...
@@ -684,9 +684,9 @@
#+
stack-checking
(
defun
red-zone-hit
()
(
format
*error-output*
(
intl:gettext
"~2&~@<Fatal control stack overflow. You have entered~%~
_
"~2&~@<Fatal control stack overflow. You have entered~%~
the red control stack guard zone while debugging.~%~
Returning to Top-Level.~@:>~2%"
)
)
Returning to Top-Level.~@:>~2%"
)
(
throw
'lisp::top-level-catcher
nil
))
#+
heap-overflow-check
...
...
@@ -695,10 +695,10 @@
;; Don't reserve any more pages
(
setf
lisp::reserved-heap-pages
0
)
(
format
*error-output*
(
intl:gettext
"~2&~@<Imminent dynamic space overflow has occurred:~%~
_
"~2&~@<Imminent dynamic space overflow has occurred:~%~
Only a small amount of dynamic space is available now.~%~
Please note that you will be returned to the Top-Level without~%~
warning if you run out of space while debugging.~@:>~%"
)
)
warning if you run out of space while debugging.~@:>~%"
)
(
infinite-error-protect
(
error
'heap-overflow
))))
#+
heap-overflow-check
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment