Changeset 48816d7 in rtems for cpukit/score/src/threadhandler.c


Ignore:
Timestamp:
Nov 2, 2007, 1:35:02 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
137c410
Parents:
7cb1d6ea
Message:

2007-11-02 Joel Sherrill <joel.sherrill@…>

  • score/cpu/sparc/cpu.c, score/cpu/sparc/rtems/score/cpu.h, score/include/rtems/score/context.h, score/src/threadhandler.c: Fix stack so gdb backtrace does not print corrupted frame message after _Thread_Handler. Daniel Hellstrom <daniel@…> provided the SPARC implementation and I made it more general.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/threadhandler.c

    r7cb1d6ea r48816d7  
    7575
    7676  executing = _Thread_Executing;
     77
     78  /*
     79   * Some CPUs need to tinker with the call frame or registers when the
     80   * thread actually begins to execute for the first time.  This is a
     81   * hook point where the port gets a shot at doing whatever it requires.
     82   */
     83  _Context_Initialization_at_thread_begin();
    7784
    7885  /*
Note: See TracChangeset for help on using the changeset viewer.