This is the mail archive of the sid@sources.redhat.com mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

powerpc port - progress report :-)



I just want to tell you guys that I have done some progress with the
PPC port of SID :-). (I'm kinda proud - so bare with me...)

First `xterm-shot':

   $ ./psim ~/hello-psim   Hello, World!
   $

Second `xterm-shot':

(window 1)
   $ powerpc-elf-sid -EB --gdb=2000

(window 2)
   $ powerpc-elf-gdb hello-psim   GNU gdb 2001-11-12-cvs
   Copyright 2001 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 "--host=i686-pc-linux-gnu 
--target=powerpc-elf"...
   (gdb) target remote localhost:2000
   Remote debugging using localhost:2000
   0x00000100 in ?? ()
   (gdb) load
   Loading section .text, size 0x90e4 lma 0x10000
   Loading section .rodata, size 0x14 lma 0x190e8
   Loading section .data, size 0xac8 lma 0x29100
   Loading section .fixup, size 0x440 lma 0x29bc8
   Loading section .got2, size 0x118 lma 0x2a008
   Loading section .sdata, size 0x20 lma 0x2a120
   Start address 0x10000, load size 41272
   Transfer rate: 330176 bits/sec, 485 bytes/write.
   (gdb) c
   Continuing.
   Hello, World!

   Program exited normally.
   (gdb) 
The program is compiled for the `Motorola PPCBUG ROM' with libgloss
and newlib.

regards
johan




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]