Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

line 1111 exception?

0 views
Skip to first unread message

David C. Oshel

unread,
Jun 7, 1997, 3:00:00 AM6/7/97
to

What's a "line 1111 exception"? This is the message that comes up in the
debugger.

MacErrors says it's a "line 1111 trap error," type 10, but what's that?

David C. Oshel dco...@pobox.com
Cedar Rapids, IA, USA http://pobox.com/~dcoshel/

MW Ron

unread,
Jun 7, 1997, 3:00:00 AM6/7/97
to

In article <5nc2k2$ir...@odie.mcleod.net>, "David C. Oshel"
<dco...@pobox.com> wrote:

>What's a "line 1111 exception"? This is the message that comes up in the
>debugger.
>
>MacErrors says it's a "line 1111 trap error," type 10, but what's that?

I don't remember what it was but I remember this came up a lot and that
there is a fix for it with the Debugger update. If you have already
applied this and still getting that error message please let me know when
and how you are getting it.


You can get the updates at

http://www.metrowerks.com/tools/software/updates/
or
ftp://ftp.metrowerks.com/pub/updates/
European Mirror Site
ftp://ftp.promo.de/pub/Metrowerks/mirror/updates/

Ron

--
METROWERKS Ron Liechty
http://www.metrowerks.com MW...@metrowerks.com

David C. Oshel

unread,
Jun 7, 1997, 3:00:00 AM6/7/97
to

In article <MWRon-07069...@aumi0-a05.ccm.tds.net>,
MW...@metrowerks.com (MW Ron) wrote:

>In article <5nc2k2$ir...@odie.mcleod.net>, "David C. Oshel"
><dco...@pobox.com> wrote:
>
>>What's a "line 1111 exception"? This is the message that comes up in the
>>debugger.
>>
>>MacErrors says it's a "line 1111 trap error," type 10, but what's that?
>
>I don't remember what it was but I remember this came up a lot and that
>there is a fix for it with the Debugger update. If you have already
>applied this and still getting that error message please let me know when
>and how you are getting it.
>
>

>You can get the updates at [etc...]

MWDebug 1.6.5? Got it. Installed it weeks ago.

The case is pretty elementary -- I have a window that installs one of three
panels, which each install one of several possible subpanels within
themselves. All the LView panels are prebuilt in Constructor, and hang
around as PPob's until CreateView calls them up. Trying to do this in
CMyView::CMyView constructors (not Constructor ;-) is very Type 11 prone for
some reason -- yes, yes, my fault, I'm sure. But very Type 11 prone. So I
postpone the subpanel creates to FinishCreateSelf. With 7.6.1 installed
some of the Type 11's are 1's, 2's and 8's or 10's, with a few 11's. I no
longer put any inline defs in the header files, all the definitions are in
.cp files, all the declarations in .h files, because I need to trace this
stuff. (Are you sure I can't debug inline code with VC++? I seem to
remember something else from a former life before this current nightmare...
Still smiling, :-) Yes, it's a tab dialog, but no, I'm not using ANY
grayscale classes now.

What IS a "line 1111 trap error," anyway? :-)

Where are the FAQ's, by the way? My newsreader doesn't have a "retrieve
FAQ" option, and when I try that in YA-Newswatcher, the FAQ file withered
and dropped off the vine months ago.

Ivan Vecerina

unread,
Jun 10, 1997, 3:00:00 AM6/10/97
to David C. Oshel

David C. Oshel wrote:
>
> What's a "line 1111 exception"? This is the message that comes up in the
> debugger.
>
> MacErrors says it's a "line 1111 trap error," type 10, but what's that?

To my knowledge, 1111 trap error would have something to do with the
arithmetic coprocessor on 68k machines.

The 68k processors initially had two sets of unimplemented instructions.
One starting with the $Axxx hex digit (binary 1010),
another starting with $Fxxx hex digit (binary 1111).

Both invoqued a dedicated exception handler.

Instructions of the kind $Axxx were used by apple to let apps call the
toolbox.

Instructions of the kind $Fxxx were reserved by Motorola and used for
the floating point instruction set, first on a separate chip (68881 or
68882) and then built into the 68040 processor.

Notice that on PowerPC machines, the 68k emulator emulates a 68040
processor but without the floating point instruction set.

So running a 68k program compiled with a '881' setting (use floating
point instruction set a.k.a. $Fxxx-like) is likely to break with an
error message like "line 1111 trap error".

That's my best guess :)

Yours,
ivan

0 new messages