Ignore:
Timestamp:
Aug 10, 1999, 4:41:44 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cef2fb5f
Parents:
908436c1
Message:

Patch from Eric Valette <valette@…> and Emmanuel Raguet
<raguet@…>:

  • the dec21140 driver code has been hardened (various bug fixed) Emmanuel,
  • bug in the mcp750 init code have been fixed (interrupt stack/initial stack initialization), BSS correctly cleared (Eric V)
  • remote debugging over TCP/IP is nearly complete (berakpoints, backtrace, variables,...) (Eric V),
  • exception handling code has also been improved in order to fully support RDBG requirements (Eric V),
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/librdbg/include/rdbg/rdbg.h

    r908436c1 r981b99f  
    55 *
    66 * Synopsis  =   rdbg.h
     7 *
     8 * $Id$
    79 *
    810 **************************************************************************
     
    1517#include <sys/socket.h>
    1618#include <netinet/in.h>
    17 #include <rdbg/rdbg_f.h>
    1819#include <stdlib.h>             /* For malloc() and free() prototypes */
    1920#include <bsp.h>               
     21#include <rtems.h>
    2022
    2123#define Malloc(size)            malloc (size)
     
    5052int       svcudp_enablecache    (SVCXPRT *transp, u_long size);
    5153
     54typedef struct Exception_context_struct {
     55  struct Exception_context_struct *next;
     56  struct Exception_context_struct *previous;
     57  Objects_Id id;
     58  Objects_Id semaphoreId;
     59  CPU_Exception_frame *ctx;
     60} Exception_context;
     61
     62struct          xdr_regs;
     63
     64extern int      PushExceptCtx           (Objects_Id Id,
     65                                         Objects_Id semId,
     66                                         CPU_Exception_frame *ctx);
     67extern int      PopExceptCtx            (Objects_Id Id);
     68extern Exception_context *GetExceptCtx  (Objects_Id Id);
     69extern int      Single_Step             (CPU_Exception_frame* ctx);
     70extern int      CheckForSingleStep      (CPU_Exception_frame* ctx);
     71extern void     BreakPointExcHdl        (CPU_Exception_frame *ctx);
     72extern void     CtxToRegs               (const CPU_Exception_frame*,struct xdr_regs*);
     73extern void     RegsToCtx               (const struct xdr_regs*,CPU_Exception_frame*);
     74
     75extern void     enterRdbg               ();
     76extern void     get_ctx_thread          (Thread_Control *thread,
     77                                         CPU_Exception_frame* ctx);
     78extern void     set_ctx_thread          (Thread_Control *thread,
     79                                         CPU_Exception_frame* ctx);
     80extern int      PushSavedExceptCtx      ( Objects_Id Id,
     81                                          CPU_Exception_frame *ctx );
     82extern int      ExcepToSig              (Exception_context *ctx);
     83
     84extern int      ExitForSingleStep;
     85
     86extern rtems_id serializeSemId;
     87extern rtems_id wakeupEventSemId;
     88extern volatile unsigned int NbSerializedCtx;
     89
     90void copyback_data_cache_and_invalidate_instr_cache(unsigned char* addr, int size);
     91
     92#include <rdbg/rdbg_f.h>
     93
    5294#endif /* !RDBG_H */
    5395
Note: See TracChangeset for help on using the changeset viewer.