www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/01/26/18:37:46

Sender: Christoph DOT Weyer AT informatik DOT fh-wiesbaden DOT de
Message-ID: <388EE3FB.D4B08E8D@informatik.fh-wiesbaden.de>
Date: Wed, 26 Jan 2000 13:09:31 +0100
From: Christoph Weyer <Christoph DOT Weyer AT informatik DOT fh-wiesbaden DOT de>
X-Mailer: Mozilla 4.7 [en] (X11; I; HP-UX B.10.20 9000/715)
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: Re: pgcc-2.95.2 illegal instruction
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10001251945360 DOT 26380-100000 AT Cordes DOT Phys DOT Dal DOT Ca>
Reply-To: pgcc AT delorie DOT com

> I'm curious, what instruction was it?  (you can probably use gdb's
> disassemble command to see instructions surrounding the place where it
> failed.)

weyer AT kermit:/export/usersn/weyer/test > gdb idl
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-suse-linux-gnu"...
(gdb) run
Starting program: /export/usersn/weyer/test/idl 

Program received signal SIGILL, Illegal instruction.
0x409e2570 in __builtin_new (sz=4) at ./cp/new1.cc:75
75      ./cp/new1.cc: No such file or directory.
Current language:  auto; currently c++
(gdb) disas 0x409e2570
Dump of assembler code for function __builtin_new:
0x409e2554 <__builtin_new>:     push   %ebp
0x409e2555 <__builtin_new+1>:   mov    %esp,%ebp
0x409e2557 <__builtin_new+3>:   sub    $0x10,%esp
0x409e255a <__builtin_new+6>:   push   %esi
0x409e255b <__builtin_new+7>:   push   %ebx
0x409e255c <__builtin_new+8>:   call   0x409e2550 <Letext+4>
0x409e2561 <__builtin_new+13>:  add    $0x10e3f,%ebx
0x409e2567 <__builtin_new+19>:  mov    $0x1,%esi
0x409e256c <__builtin_new+24>:  cmpl   $0x0,0x8(%ebp)
0x409e2570 <__builtin_new+28>:  cmovne 0x8(%ebp),%esi
0x409e2574 <__builtin_new+32>:  add    $0xfffffff4,%esp
0x409e2577 <__builtin_new+35>:  push   %esi
0x409e2578 <__builtin_new+36>:  call   0x409c68b8 <_init+1856>
0x409e257d <__builtin_new+41>:  add    $0x10,%esp
0x409e2580 <__builtin_new+44>:  test   %eax,%eax
0x409e2582 <__builtin_new+46>:  jne    0x409e26d0 <__builtin_new+380>
0x409e2588 <__builtin_new+52>:  mov    0x6c0(%ebx),%eax
0x409e258e <__builtin_new+58>:  mov    (%eax),%eax
0x409e2590 <__builtin_new+60>:  test   %eax,%eax
0x409e2592 <__builtin_new+62>:  jne    0x409e25f4 <__builtin_new+160>
0x409e2594 <__builtin_new+64>:  mov    0x4a8(%ebx),%eax
0x409e259a <__builtin_new+70>:  mov    %eax,0xfffffffc(%ebp)
0x409e259d <__builtin_new+73>:  mov    0x6c4(%ebx),%eax
0x409e25a3 <__builtin_new+79>:  mov    %eax,0xfffffffc(%ebp)
0x409e25a6 <__builtin_new+82>:  add    $0xfffffff4,%esp
0x409e25a9 <__builtin_new+85>:  push   $0x4
0x409e25ab <__builtin_new+87>:  call   0x409c7368 <_init+4592>
0x409e25b0 <__builtin_new+92>:  mov    %eax,%esi
0x409e25b2 <__builtin_new+94>:  add    $0x10,%esp
0x409e25b5 <__builtin_new+97>:  mov    0x4a8(%ebx),%eax
0x409e25bb <__builtin_new+103>: mov    %eax,(%esi)
0x409e25bd <__builtin_new+105>: mov    0x6c4(%ebx),%eax
0x409e25c3 <__builtin_new+111>: mov    %eax,(%esi)
0x409e25c5 <__builtin_new+113>: jmp    0x409e25d0 <__builtin_new+124>
0x409e25c7 <__builtin_new+115>: call   0x409c6978 <_init+2048>
0x409e25cc <__builtin_new+120>: lea    0x0(%esi,1),%esi
0x409e25d0 <__builtin_new+124>: mov    0x4a8(%ebx),%eax
0x409e25d6 <__builtin_new+130>: mov    %eax,0xfffffffc(%ebp)
0x409e25d9 <__builtin_new+133>: push   %ebx
0x409e25da <__builtin_new+134>: mov    0x6c8(%ebx),%eax
0x409e25e0 <__builtin_new+140>: push   %eax
0x409e25e1 <__builtin_new+141>: mov    (%esi),%eax
0x409e25e3 <__builtin_new+143>: mov    0x4(%eax),%eax
0x409e25e6 <__builtin_new+146>: call   *%eax
0x409e25e8 <__builtin_new+148>: push   %eax
0x409e25e9 <__builtin_new+149>: push   %esi
0x409e25ea <__builtin_new+150>: call   0x409c6398 <_init+544>
0x409e25ef <__builtin_new+155>: call   0x409c6978 <_init+2048>
0x409e25f4 <__builtin_new+160>: call   *%eax
0x409e25f6 <__builtin_new+162>: add    $0xfffffff4,%esp
0x409e25f9 <__builtin_new+165>: push   %esi
0x409e25fa <__builtin_new+166>: call   0x409c68b8 <_init+1856>
0x409e25ff <__builtin_new+171>: add    $0x10,%esp
0x409e2602 <__builtin_new+174>: test   %eax,%eax
0x409e2604 <__builtin_new+176>: je     0x409e2588 <__builtin_new+52>
0x409e2606 <__builtin_new+178>: jmp    0x409e26d0 <__builtin_new+380>
0x409e260b <__builtin_new+183>: nop    
0x409e260c <__builtin_new+184>: lea    0x0(%esi,1),%esi
0x409e2610 <__builtin_new+188>: call   0x409c6978 <_init+2048>
0x409e2615 <__builtin_new+193>: call   0x409e2550 <Letext+4>
0x409e261a <__builtin_new+198>: add    $0x10d86,%ebx
0x409e2620 <__builtin_new+204>: call   0x409e2550 <Letext+4>
0x409e2625 <__builtin_new+209>: add    $0x10d7b,%ebx
0x409e262b <__builtin_new+215>: mov    0x4a8(%ebx),%eax
0x409e2631 <__builtin_new+221>: mov    %eax,0xfffffffc(%ebp)
0x409e2634 <__builtin_new+224>: jmp    0x409e25c7 <__builtin_new+115>
0x409e2636 <__builtin_new+226>: call   0x409e2550 <Letext+4>
0x409e263b <__builtin_new+231>: add    $0x10d65,%ebx
0x409e2641 <__builtin_new+237>: call   0x409e2550 <Letext+4>
0x409e2646 <__builtin_new+242>: add    $0x10d5a,%ebx
0x409e264c <__builtin_new+248>: call   0x409c6bd8 <_init+2656>
0x409e2651 <__builtin_new+253>: mov    %eax,%esi
0x409e2653 <__builtin_new+255>: call   0x409c63f8 <_init+640>
0x409e2658 <__builtin_new+260>: mov    %eax,0xfffffff8(%ebp)
0x409e265b <__builtin_new+263>: push   %eax
0x409e265c <__builtin_new+264>: push   %eax
0x409e265d <__builtin_new+265>: lea    0xfffffff8(%ebp),%eax
0x409e2660 <__builtin_new+268>: push   %eax
0x409e2661 <__builtin_new+269>: push   $0x1
0x409e2663 <__builtin_new+271>: call   0x409c6898 <_init+1824>
0x409e2668 <__builtin_new+276>: call   0x409c6978 <_init+2048>
0x409e266d <__builtin_new+281>: lea    0x0(%esi),%esi
0x409e2670 <__builtin_new+284>: call   0x409e2550 <Letext+4>
0x409e2675 <__builtin_new+289>: add    $0x10d2b,%ebx
0x409e267b <__builtin_new+295>: call   0x409e2550 <Letext+4>
0x409e2680 <__builtin_new+300>: add    $0x10d20,%ebx
0x409e2686 <__builtin_new+306>: add    $0xfffffff4,%esp
0x409e2689 <__builtin_new+309>: push   %esi
0x409e268a <__builtin_new+310>: call   0x409c6d08 <_init+2960>
0x409e268f <__builtin_new+315>: add    $0x10,%esp
0x409e2692 <__builtin_new+318>: jmp    0x409e2668 <__builtin_new+276>
0x409e2694 <__builtin_new+320>: call   0x409e2550 <Letext+4>
0x409e2699 <__builtin_new+325>: add    $0x10d07,%ebx
0x409e269f <__builtin_new+331>: call   0x409e2550 <Letext+4>
0x409e26a4 <__builtin_new+336>: add    $0x10cfc,%ebx
0x409e26aa <__builtin_new+342>: jmp    0x409e2610 <__builtin_new+188>
0x409e26af <__builtin_new+347>: nop    
0x409e26b0 <__builtin_new+348>: call   0x409e2550 <Letext+4>
0x409e26b5 <__builtin_new+353>: add    $0x10ceb,%ebx
0x409e26bb <__builtin_new+359>: call   0x409e2550 <Letext+4>
0x409e26c0 <__builtin_new+364>: add    $0x10ce0,%ebx
0x409e26c6 <__builtin_new+370>: call   0x409c6a38 <_init+2240>
0x409e26cb <__builtin_new+375>: nop    
0x409e26cc <__builtin_new+376>: lea    0x0(%esi,1),%esi
0x409e26d0 <__builtin_new+380>: lea    0xffffffe8(%ebp),%esp
0x409e26d3 <__builtin_new+383>: pop    %ebx
0x409e26d4 <__builtin_new+384>: pop    %esi
0x409e26d5 <__builtin_new+385>: mov    %ebp,%esp
0x409e26d7 <__builtin_new+387>: pop    %ebp
0x409e26d8 <__builtin_new+388>: ret    
End of assembler dump.
(gdb) 

-- 
-------------------------------------------------------------------------------
Christoph Weyer            Fachhochschule Wiesbaden, Dep. of Computer
Science
Kurt-Schumacher-Ring 18    Tel.: (+49)611-9495221                  \  /
65197 Wiesbaden, Germany                                        ____00 
EMail: Christoph DOT Weyer AT informatik DOT fh-wiesbaden DOT de             /|___/\/
http://wwwvs.informatik.fh-wiesbaden.de/                       |" |
-------------------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019