Changeset 00a2d366 in rtems


Ignore:
Timestamp:
Jul 17, 2008, 3:43:56 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
ffb9eeb
Parents:
9bd5118
Message:

2008-07-17 Joel Sherrill <joel.sherrill@…>

  • libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c, libmisc/shell/main_tty.c, libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: Add pthread command to monitor when POSIX is enabled. Remove include of rtems/monitor.h from files not related.
Location:
cpukit
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r9bd5118 r00a2d366  
     12008-07-17      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
     4        libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c,
     5        libmisc/shell/main_tty.c, libmisc/shell/main_umask.c,
     6        libmisc/shell/main_whoami.c: Add pthread command to monitor when
     7        POSIX is enabled. Remove include of rtems/monitor.h from files not
     8        related.
     9
    1102008-07-16      Till Straumann <strauman@slac.stanford.edu>
    211
  • cpukit/libmisc/monitor/mon-monitor.c

    r9bd5118 r00a2d366  
    249249      &rtems_monitor_commands[21],
    250250    },
     251#ifdef RTEMS_POSIX_API
     252    { "pthread",
     253      "Display information about the specified pthreads. "
     254      "Default is to display information about all pthreads on this node.\n"
     255      "  pthread [id [id ...] ]",
     256      0,
     257      rtems_monitor_object_cmd,
     258      { RTEMS_MONITOR_OBJECT_PTHREAD },
     259      &rtems_monitor_commands[22],
     260    },
     261#endif
    251262#ifdef CPU_INVOKE_DEBUGGER
    252263    { "debugger",
     
    256267      rtems_monitor_debugger_cmd,
    257268      { 0 },
    258       &rtems_monitor_commands[22],
     269      &rtems_monitor_commands[23],
    259270    },
    260271#endif
  • cpukit/libmisc/monitor/mon-object.c

    r9bd5118 r00a2d366  
    2323#include <rtems.h>
    2424#include <rtems/monitor.h>
     25#if defined(RTEMS_POSIX_API)
     26  #include <rtems/posix/pthread.h>
     27#endif
    2528
    2629#include <stdio.h>
     
    125128      (rtems_monitor_object_dump_fn)        rtems_monitor_driver_dump,
    126129    },
     130    { RTEMS_MONITOR_OBJECT_PTHREAD,
     131      (void *) &_POSIX_Threads_Information,
     132      sizeof(rtems_monitor_task_t),
     133      (rtems_monitor_object_next_fn)        rtems_monitor_manager_next,
     134      (rtems_monitor_object_canonical_fn)   rtems_monitor_task_canonical,
     135      (rtems_monitor_object_dump_header_fn) rtems_monitor_task_dump_header,
     136      (rtems_monitor_object_dump_fn)        rtems_monitor_task_dump,
     137    },
    127138};
    128139
  • cpukit/libmisc/monitor/monitor.h

    r9bd5118 r00a2d366  
    4545    RTEMS_MONITOR_OBJECT_INIT_TASK,
    4646    RTEMS_MONITOR_OBJECT_MPCI,
    47     RTEMS_MONITOR_OBJECT_SYMBOL
     47    RTEMS_MONITOR_OBJECT_SYMBOL,
     48    #if defined(RTEMS_POSIX_API)
     49      RTEMS_MONITOR_OBJECT_PTHREAD,
     50    #endif
    4851} rtems_monitor_object_type_t;
    4952
  • cpukit/libmisc/shell/main_chmod.c

    r9bd5118 r00a2d366  
    2525
    2626#include <rtems.h>
    27 #include <rtems/monitor.h>
    2827#include <rtems/shell.h>
    2928#include "internal.h"
  • cpukit/libmisc/shell/main_tty.c

    r9bd5118 r00a2d366  
    2323
    2424#include <rtems.h>
    25 #include <rtems/monitor.h>
    2625#include <rtems/shell.h>
    2726#include "internal.h"
  • cpukit/libmisc/shell/main_umask.c

    r9bd5118 r00a2d366  
    2525
    2626#include <rtems.h>
    27 #include <rtems/monitor.h>
    2827#include <rtems/shell.h>
    2928#include "internal.h"
  • cpukit/libmisc/shell/main_whoami.c

    r9bd5118 r00a2d366  
    2424
    2525#include <rtems.h>
    26 #include <rtems/monitor.h>
    2726#include <rtems/shell.h>
    2827#include "internal.h"
Note: See TracChangeset for help on using the changeset viewer.