Changeset 4e91814b in rtems


Ignore:
Timestamp:
Jan 18, 2002, 1:57:19 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b077dc4
Parents:
db2cc456
Message:

2001-01-18 Joel Sherrill <joel@…>

  • src/powerpc/new_exception_processing/remdeb_svc.c: Corrected macro using variable arguments.
Location:
c/src/librdbg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/librdbg/ChangeLog

    rdb2cc456 r4e91814b  
     12001-01-18      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/powerpc/new_exception_processing/remdeb_svc.c: Corrected
     4        macro using variable arguments.
     5       
    162001-01-18      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/librdbg/src/powerpc/new_exception_processing/remdeb_svc.c

    rdb2cc456 r4e91814b  
    77#include <rdbg/servrpc.h>
    88#include <rdbg/remdeb.h>
    9 #define fprintf(a,b) printf(b)
     9#define fprintf(fp, ...) printf(__VA_ARGS__)
    1010/*HEADER_START*/
    1111#define RTEMS_PORT 2071
     
    1515 */
    1616
    17   /*
     17 /*
    1818   * Memory data for read/write text or data. The size is in data. The target
    1919   * addr is in the addr field.
     
    2323   */
    2424#ifndef XRY_MAX_CMD_STR
    25 #endif  /* REMDEB_H */
    26   /* now open_connex() routine which establishes a connection to server */
    27 #define DEBUGGER_IS_GDB 0x2    /* */
    28   /* now close_connex() routine which detaches from server */
    29   /* now send_signal() routine which sends signals to processes like kill(2) */
    30   /* now wait_info() routine which returns results of polling the wait status
     25#endif /* REMDEB_H */
     26 /* now open_connex() routine which establishes a connection to server */
     27#define DEBUGGER_IS_GDB 0x2 /* */
     28 /* now close_connex() routine which detaches from server */
     29 /* now send_signal() routine which sends signals to processes like kill(2) */
     30 /* now wait_info() routine which returns results of polling the wait status
    3131        of a process/actor. It may return 0 if running, else pid or -1 */
    32   /* now ptrace() routine. This matches the Sun UNIX ptrace as well as
    33         some additions */ 
    34   /* now define the actual calls we support */
     32 /* now ptrace() routine. This matches the Sun UNIX ptrace as well as
     33        some additions */
     34 /* now define the actual calls we support */
    3535const char* names [] = {
    36     "NULLPROC", "OPEN_CONNEX", "SEND_SIGNAL", "name3",
    37     "name4", "name5", "name6", "name7",
    38     "name8", "name9", "CLOSE_CONNEX", "PTRACE",
    39     "name12", "WAIT_INFO", "name14", "name15",
    40     "name16", "GET_SIGNAL_NAMES", "name18"
     36 "NULLPROC", "OPEN_CONNEX", "SEND_SIGNAL", "name3",
     37 "name4", "name5", "name6", "name7",
     38 "name8", "name9", "CLOSE_CONNEX", "PTRACE",
     39 "name12", "WAIT_INFO", "name14", "name15",
     40 "name16", "GET_SIGNAL_NAMES", "name18"
    4141};
    4242
     
    116116        }
    117117        if (!svc_freeargs (transp, _xdr_argument, (caddr_t) &argument)) {
    118                 fprintf (stderr, "unable to free arguments");
     118                fprintf (stderr, "%s", "unable to free arguments");
    119119                exit (1);
    120120        }
Note: See TracChangeset for help on using the changeset viewer.