makeing ods68302 GDB ROM image.

Aaron J. Grier aaron at
Fri Mar 23 00:37:20 UTC 2001

On Thu, Mar 22, 2001 at 11:57:55AM +0900, Koh wrote:
> Hi all !
> I am porting RTEMS on my customer Board.
> I would like to use the GDB debugger for the debugging.
> I refer to ods68302 BSP.
> But I don't know how to make GDB ROM image.
> Anyone who know that, please infom me of that.

the linker script used for final linking is controlled inside
ods68302/bsp_specs, and the linker scripts are in ods68302/startup:
linkcmds, debugger, and rom.

for my project I have added to bsp_specs an option (-qrom) to select
which linker script is used:

%{!qrtems: %(old_lib)} %{qrtems: --start-group \
%{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \
-lc -lgcc --end-group \
%{!qnolinkcmds: -T %{!qrom: linkcmds%s} %{qrom: linkcmds.rom%s}}}

  Aaron J. Grier   |    Frye Electronics, Tigard, OR   |   aaron at

More information about the users mailing list