summaryrefslogtreecommitdiffstats
path: root/c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-18 13:56:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-01-18 13:56:48 +0000
commitdb2cc456fb7db8c71825255958ddc289d29d5072 (patch)
tree6bf863b5fe4edb6517b62ddb08cc2e036030cc12 /c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c
parent2001-01-17 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-db2cc456fb7db8c71825255958ddc289d29d5072.tar.bz2
2001-01-18 Joel Sherrill <joel@OARcorp.com>
* src/powerpc/new_exception_processing/remdeb.h, src/powerpc/new_exception_processing/remdeb_xdr.c: Regenerated since I updated the main RTEMS development machine to RedHat 7.2 and apparently got a new version of rpcgen.
Diffstat (limited to 'c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c')
-rw-r--r--c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c b/c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c
index 3aacec1c21..45a41ae35e 100644
--- a/c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c
+++ b/c/src/librdbg/src/powerpc/new_exception_processing/remdeb_xdr.c
@@ -57,7 +57,7 @@ xdr_xdr_regs (XDR *xdrs, xdr_regs *objp)
int i;
if (xdrs->x_op == XDR_ENCODE) {
- buf = XDR_INLINE(xdrs, 40 * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, ( 40 ) * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_vector (xdrs, (char *)objp->tabreg, 40,
sizeof (u_int), (xdrproc_t) xdr_u_int))
@@ -74,7 +74,7 @@ xdr_xdr_regs (XDR *xdrs, xdr_regs *objp)
}
return TRUE;
} else if (xdrs->x_op == XDR_DECODE) {
- buf = XDR_INLINE(xdrs, 40 * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, ( 40 ) * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_vector (xdrs, (char *)objp->tabreg, 40,
sizeof (u_int), (xdrproc_t) xdr_u_int))
@@ -97,7 +97,7 @@ xdr_xdr_regs (XDR *xdrs, xdr_regs *objp)
return FALSE;
return TRUE;
}
- /*
+ /*
* Memory data for read/write text or data. The size is in data. The target
* addr is in the addr field.
* Be careful before modifying because this value goes into internal
@@ -105,16 +105,16 @@ xdr_xdr_regs (XDR *xdrs, xdr_regs *objp)
* become too small if this value gets incremented.
*/
bool_t xdr_xdr_mem(xdrs, objp)
- XDR *xdrs;
- struct xdr_mem *objp;
+ XDR *xdrs;
+ struct xdr_mem *objp;
{
- if (!xdr_u_long(xdrs, &objp->addr)) {
- return (FALSE);
- }
- if (!xdr_u_int(xdrs, &objp->dataNb)) {
- return(FALSE);
- }
- return (xdr_opaque(xdrs, objp->data, objp->dataNb));
+ if (!xdr_u_long(xdrs, &objp->addr)) {
+ return (FALSE);
+ }
+ if (!xdr_u_int(xdrs, &objp->dataNb)) {
+ return(FALSE);
+ }
+ return (xdr_opaque(xdrs, objp->data, objp->dataNb));
}
bool_t
@@ -160,7 +160,7 @@ xdr_xdr_break (XDR *xdrs, xdr_break *objp)
return FALSE;
if (!xdr_u_char (xdrs, &objp->curr_pass))
return FALSE;
- buf = XDR_INLINE(xdrs, MAX_THRD_BRK * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, ( MAX_THRD_BRK ) * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_vector (xdrs, (char *)objp->thread_list, MAX_THRD_BRK,
sizeof (u_long), (xdrproc_t) xdr_u_long))
@@ -202,7 +202,7 @@ xdr_xdr_break (XDR *xdrs, xdr_break *objp)
return FALSE;
if (!xdr_u_char (xdrs, &objp->curr_pass))
return FALSE;
- buf = XDR_INLINE(xdrs, MAX_THRD_BRK * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, ( MAX_THRD_BRK ) * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_vector (xdrs, (char *)objp->thread_list, MAX_THRD_BRK,
sizeof (u_long), (xdrproc_t) xdr_u_long))
@@ -262,11 +262,11 @@ xdr_KernThread (XDR *xdrs, KernThread *objp)
return TRUE;
}
bool_t xdr_thread_list(xdrs, objp)
- XDR *xdrs;
- struct thread_list *objp;
+ XDR *xdrs;
+ struct thread_list *objp;
{
- return (xdr_array(xdrs, (char**)&objp->threads, &objp->nbThread,
- UTHREAD_MAX, sizeof(KernThread), xdr_KernThread));
+ return (xdr_array(xdrs, (char**)&objp->threads, &objp->nbThread,
+ UTHREAD_MAX, sizeof(KernThread), xdr_KernThread));
}
bool_t
@@ -387,7 +387,7 @@ xdr_CHAR_DATA (XDR *xdrs, CHAR_DATA *objp)
return TRUE;
}
#ifndef XRY_MAX_CMD_STR
-#endif /* REMDEB_H */
+#endif /* REMDEB_H */
bool_t
xdr_xry_inst (XDR *xdrs, xry_inst *objp)
@@ -455,7 +455,7 @@ xdr_one_arg (XDR *xdrs, one_arg *objp)
return FALSE;
return TRUE;
}
- /* now open_connex() routine which establishes a connection to server */
+ /* now open_connex() routine which establishes a connection to server */
bool_t
xdr_debug_type (XDR *xdrs, debug_type *objp)
@@ -466,7 +466,7 @@ xdr_debug_type (XDR *xdrs, debug_type *objp)
return FALSE;
return TRUE;
}
-#define DEBUGGER_IS_GDB 0x2 /* */
+#define DEBUGGER_IS_GDB 0x2 /* */
bool_t
xdr_open_in (XDR *xdrs, open_in *objp)
@@ -497,7 +497,7 @@ xdr_open_out (XDR *xdrs, open_out *objp)
int i;
if (xdrs->x_op == XDR_ENCODE) {
- buf = XDR_INLINE(xdrs, (2 + ( 4 )) * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, (2 + ( 4 )) * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_u_long (xdrs, &objp->port))
return FALSE;
@@ -527,7 +527,7 @@ xdr_open_out (XDR *xdrs, open_out *objp)
return FALSE;
return TRUE;
} else if (xdrs->x_op == XDR_DECODE) {
- buf = XDR_INLINE(xdrs, (2 + ( 4 )) * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, (2 + ( 4 )) * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_u_long (xdrs, &objp->port))
return FALSE;
@@ -573,7 +573,7 @@ xdr_open_out (XDR *xdrs, open_out *objp)
return FALSE;
return TRUE;
}
- /* now close_connex() routine which detaches from server */
+ /* now close_connex() routine which detaches from server */
bool_t
xdr_close_control (XDR *xdrs, close_control *objp)
@@ -594,7 +594,7 @@ xdr_close_in (XDR *xdrs, close_in *objp)
return FALSE;
return TRUE;
}
- /* now send_signal() routine which sends signals to processes like kill(2) */
+ /* now send_signal() routine which sends signals to processes like kill(2) */
bool_t
xdr_signal_in (XDR *xdrs, signal_in *objp)
@@ -619,7 +619,7 @@ xdr_signal_out (XDR *xdrs, signal_out *objp)
return FALSE;
return TRUE;
}
- /* now wait_info() routine which returns results of polling the wait status
+ /* now wait_info() routine which returns results of polling the wait status
of a process/actor. It may return 0 if running, else pid or -1 */
bool_t
@@ -665,7 +665,7 @@ xdr_wait_out (XDR *xdrs, wait_out *objp)
}
if (!xdr_stop_code (xdrs, &objp->reason))
return FALSE;
- buf = XDR_INLINE(xdrs,5 * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, 5 * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_int (xdrs, &objp->handle))
return FALSE;
@@ -702,7 +702,7 @@ xdr_wait_out (XDR *xdrs, wait_out *objp)
}
if (!xdr_stop_code (xdrs, &objp->reason))
return FALSE;
- buf = XDR_INLINE(xdrs,5 * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, 5 * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_int (xdrs, &objp->handle))
return FALSE;
@@ -744,8 +744,8 @@ xdr_wait_out (XDR *xdrs, wait_out *objp)
return FALSE;
return TRUE;
}
- /* now ptrace() routine. This matches the Sun UNIX ptrace as well as
- some additions */
+ /* now ptrace() routine. This matches the Sun UNIX ptrace as well as
+ some additions */
bool_t
xdr_ptrace_in (XDR *xdrs, ptrace_in *objp)
@@ -829,7 +829,7 @@ xdr_get_text_data_out (XDR *xdrs, get_text_data_out *objp)
if (xdrs->x_op == XDR_ENCODE) {
- buf = XDR_INLINE(xdrs,6 * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, 6 * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_int (xdrs, &objp->result))
return FALSE;
@@ -853,7 +853,7 @@ xdr_get_text_data_out (XDR *xdrs, get_text_data_out *objp)
}
return TRUE;
} else if (xdrs->x_op == XDR_DECODE) {
- buf = XDR_INLINE(xdrs,6 * BYTES_PER_XDR_UNIT);
+ buf = XDR_INLINE (xdrs, 6 * BYTES_PER_XDR_UNIT);
if (buf == NULL) {
if (!xdr_int (xdrs, &objp->result))
return FALSE;
@@ -925,4 +925,4 @@ xdr_get_signal_names_out (XDR *xdrs, get_signal_names_out *objp)
return FALSE;
return TRUE;
}
- /* now define the actual calls we support */
+ /* now define the actual calls we support */