gdb_machdep.h (470d83170399c4d8e4b590cb51c8f62a8f41a797) | gdb_machdep.h (b1fb1bb19af804ae8071bd61e4823e71f237f1d0) |
---|---|
1/*- 2 * Copyright (c) 2004 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 26 unchanged lines hidden (view full) --- 35 36static __inline size_t 37gdb_cpu_regsz(int regnum) 38{ 39 return ((regnum > 16 && regnum < 24) ? 4 : 8); 40} 41 42static __inline int | 1/*- 2 * Copyright (c) 2004 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 26 unchanged lines hidden (view full) --- 35 36static __inline size_t 37gdb_cpu_regsz(int regnum) 38{ 39 return ((regnum > 16 && regnum < 24) ? 4 : 8); 40} 41 42static __inline int |
43gdb_cpu_signal(int type, int code __unused) 44{ 45 return (type); 46} 47 48static __inline int | |
49gdb_cpu_query(void) 50{ 51 return (0); 52} 53 54void *gdb_cpu_getreg(int, size_t *); 55void gdb_cpu_setreg(int, void *); | 43gdb_cpu_query(void) 44{ 45 return (0); 46} 47 48void *gdb_cpu_getreg(int, size_t *); 49void gdb_cpu_setreg(int, void *); |
50int gdb_cpu_signal(int, int); |
|
56 57#endif /* !_MACHINE_GDB_MACHDEP_H_ */ | 51 52#endif /* !_MACHINE_GDB_MACHDEP_H_ */ |