GDB (xrefs)
Loading...
Searching...
No Matches
netbsd-tdep.c
Go to the documentation of this file.
1/* Common target-dependent code for NetBSD systems.
2
3 Copyright (C) 2002-2023 Free Software Foundation, Inc.
4
5 Contributed by Wasabi Systems, Inc.
6
7 This file is part of GDB.
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21
22#include "defs.h"
23#include "auxv.h"
24#include "solib-svr4.h"
25#include "netbsd-tdep.h"
26#include "gdbarch.h"
27#include "objfiles.h"
28#include "xml-syscall.h"
29
30/* Flags in the 'kve_protection' field in struct kinfo_vmentry. These
31 match the KVME_PROT_* constants in <sys/sysctl.h>. */
32
33#define KINFO_VME_PROT_READ 0x00000001
34#define KINFO_VME_PROT_WRITE 0x00000002
35#define KINFO_VME_PROT_EXEC 0x00000004
36
37/* Flags in the 'kve_flags' field in struct kinfo_vmentry. These
38 match the KVME_FLAG_* constants in <sys/sysctl.h>. */
39
40#define KINFO_VME_FLAG_COW 0x00000001
41#define KINFO_VME_FLAG_NEEDS_COPY 0x00000002
42#define KINFO_VME_FLAG_NOCOREDUMP 0x00000004
43#define KINFO_VME_FLAG_PAGEABLE 0x00000008
44#define KINFO_VME_FLAG_GROWS_UP 0x00000010
45#define KINFO_VME_FLAG_GROWS_DOWN 0x00000020
46
47int
48nbsd_pc_in_sigtramp (CORE_ADDR pc, const char *func_name)
49{
50 /* Check for libc-provided signal trampoline. All such trampolines
51 have function names which begin with "__sigtramp". */
52
53 return (func_name != NULL
54 && startswith (func_name, "__sigtramp"));
55}
56
57/* This enum is derived from NETBSD's <sys/signal.h>. */
58
59enum
60 {
95 };
96
97/* Implement the "gdb_signal_from_target" gdbarch method. */
98
99static enum gdb_signal
101{
102 switch (signal)
103 {
104 case 0:
105 return GDB_SIGNAL_0;
106
107 case NBSD_SIGHUP:
108 return GDB_SIGNAL_HUP;
109
110 case NBSD_SIGINT:
111 return GDB_SIGNAL_INT;
112
113 case NBSD_SIGQUIT:
114 return GDB_SIGNAL_QUIT;
115
116 case NBSD_SIGILL:
117 return GDB_SIGNAL_ILL;
118
119 case NBSD_SIGTRAP:
120 return GDB_SIGNAL_TRAP;
121
122 case NBSD_SIGABRT:
123 return GDB_SIGNAL_ABRT;
124
125 case NBSD_SIGEMT:
126 return GDB_SIGNAL_EMT;
127
128 case NBSD_SIGFPE:
129 return GDB_SIGNAL_FPE;
130
131 case NBSD_SIGKILL:
132 return GDB_SIGNAL_KILL;
133
134 case NBSD_SIGBUS:
135 return GDB_SIGNAL_BUS;
136
137 case NBSD_SIGSEGV:
138 return GDB_SIGNAL_SEGV;
139
140 case NBSD_SIGSYS:
141 return GDB_SIGNAL_SYS;
142
143 case NBSD_SIGPIPE:
144 return GDB_SIGNAL_PIPE;
145
146 case NBSD_SIGALRM:
147 return GDB_SIGNAL_ALRM;
148
149 case NBSD_SIGTERM:
150 return GDB_SIGNAL_TERM;
151
152 case NBSD_SIGURG:
153 return GDB_SIGNAL_URG;
154
155 case NBSD_SIGSTOP:
156 return GDB_SIGNAL_STOP;
157
158 case NBSD_SIGTSTP:
159 return GDB_SIGNAL_TSTP;
160
161 case NBSD_SIGCONT:
162 return GDB_SIGNAL_CONT;
163
164 case NBSD_SIGCHLD:
165 return GDB_SIGNAL_CHLD;
166
167 case NBSD_SIGTTIN:
168 return GDB_SIGNAL_TTIN;
169
170 case NBSD_SIGTTOU:
171 return GDB_SIGNAL_TTOU;
172
173 case NBSD_SIGIO:
174 return GDB_SIGNAL_IO;
175
176 case NBSD_SIGXCPU:
177 return GDB_SIGNAL_XCPU;
178
179 case NBSD_SIGXFSZ:
180 return GDB_SIGNAL_XFSZ;
181
182 case NBSD_SIGVTALRM:
183 return GDB_SIGNAL_VTALRM;
184
185 case NBSD_SIGPROF:
186 return GDB_SIGNAL_PROF;
187
188 case NBSD_SIGWINCH:
189 return GDB_SIGNAL_WINCH;
190
191 case NBSD_SIGINFO:
192 return GDB_SIGNAL_INFO;
193
194 case NBSD_SIGUSR1:
195 return GDB_SIGNAL_USR1;
196
197 case NBSD_SIGUSR2:
198 return GDB_SIGNAL_USR2;
199
200 case NBSD_SIGPWR:
201 return GDB_SIGNAL_PWR;
202
203 /* SIGRTMIN and SIGRTMAX are not continuous in <gdb/signals.def>,
204 therefore we have to handle them here. */
205 case NBSD_SIGRTMIN:
206 return GDB_SIGNAL_REALTIME_33;
207
208 case NBSD_SIGRTMAX:
209 return GDB_SIGNAL_REALTIME_63;
210 }
211
212 if (signal >= NBSD_SIGRTMIN + 1 && signal <= NBSD_SIGRTMAX - 1)
213 {
214 int offset = signal - NBSD_SIGRTMIN + 1;
215
216 return (enum gdb_signal) ((int) GDB_SIGNAL_REALTIME_34 + offset);
217 }
218
219 return GDB_SIGNAL_UNKNOWN;
220}
221
222/* Implement the "gdb_signal_to_target" gdbarch method. */
223
224static int
226 enum gdb_signal signal)
227{
228 switch (signal)
229 {
230 case GDB_SIGNAL_0:
231 return 0;
232
233 case GDB_SIGNAL_HUP:
234 return NBSD_SIGHUP;
235
236 case GDB_SIGNAL_INT:
237 return NBSD_SIGINT;
238
239 case GDB_SIGNAL_QUIT:
240 return NBSD_SIGQUIT;
241
242 case GDB_SIGNAL_ILL:
243 return NBSD_SIGILL;
244
245 case GDB_SIGNAL_TRAP:
246 return NBSD_SIGTRAP;
247
248 case GDB_SIGNAL_ABRT:
249 return NBSD_SIGABRT;
250
251 case GDB_SIGNAL_EMT:
252 return NBSD_SIGEMT;
253
254 case GDB_SIGNAL_FPE:
255 return NBSD_SIGFPE;
256
257 case GDB_SIGNAL_KILL:
258 return NBSD_SIGKILL;
259
260 case GDB_SIGNAL_BUS:
261 return NBSD_SIGBUS;
262
263 case GDB_SIGNAL_SEGV:
264 return NBSD_SIGSEGV;
265
266 case GDB_SIGNAL_SYS:
267 return NBSD_SIGSYS;
268
269 case GDB_SIGNAL_PIPE:
270 return NBSD_SIGPIPE;
271
272 case GDB_SIGNAL_ALRM:
273 return NBSD_SIGALRM;
274
275 case GDB_SIGNAL_TERM:
276 return NBSD_SIGTERM;
277
278 case GDB_SIGNAL_URG:
279 return NBSD_SIGSTOP;
280
281 case GDB_SIGNAL_TSTP:
282 return NBSD_SIGTSTP;
283
284 case GDB_SIGNAL_CONT:
285 return NBSD_SIGCONT;
286
287 case GDB_SIGNAL_CHLD:
288 return NBSD_SIGCHLD;
289
290 case GDB_SIGNAL_TTIN:
291 return NBSD_SIGTTIN;
292
293 case GDB_SIGNAL_TTOU:
294 return NBSD_SIGTTOU;
295
296 case GDB_SIGNAL_IO:
297 return NBSD_SIGIO;
298
299 case GDB_SIGNAL_XCPU:
300 return NBSD_SIGXCPU;
301
302 case GDB_SIGNAL_XFSZ:
303 return NBSD_SIGXFSZ;
304
305 case GDB_SIGNAL_VTALRM:
306 return NBSD_SIGVTALRM;
307
308 case GDB_SIGNAL_PROF:
309 return NBSD_SIGPROF;
310
311 case GDB_SIGNAL_WINCH:
312 return NBSD_SIGWINCH;
313
314 case GDB_SIGNAL_INFO:
315 return NBSD_SIGINFO;
316
317 case GDB_SIGNAL_USR1:
318 return NBSD_SIGUSR1;
319
320 case GDB_SIGNAL_USR2:
321 return NBSD_SIGUSR2;
322
323 case GDB_SIGNAL_PWR:
324 return NBSD_SIGPWR;
325
326 /* GDB_SIGNAL_REALTIME_33 is not continuous in <gdb/signals.def>,
327 therefore we have to handle it here. */
328 case GDB_SIGNAL_REALTIME_33:
329 return NBSD_SIGRTMIN;
330
331 /* Same comment applies to _64. */
332 case GDB_SIGNAL_REALTIME_63:
333 return NBSD_SIGRTMAX;
334 }
335
336 if (signal >= GDB_SIGNAL_REALTIME_34
337 && signal <= GDB_SIGNAL_REALTIME_62)
338 {
339 int offset = signal - GDB_SIGNAL_REALTIME_32;
340
341 return NBSD_SIGRTMIN + 1 + offset;
342 }
343
344 return -1;
345}
346
347/* Shared library resolver handling. */
348
349static CORE_ADDR
351{
352 struct bound_minimal_symbol msym;
353
354 msym = lookup_minimal_symbol ("_rtld_bind_start", NULL, NULL);
355 if (msym.minsym && msym.value_address () == pc)
357 else
359}
360
362{
363 struct type *siginfo_type = nullptr;
364};
365
368
369static struct nbsd_gdbarch_data *
371{
373 if (result == nullptr)
374 result = nbsd_gdbarch_data_handle.emplace (gdbarch);
375 return result;
376}
377
378/* Implement the "get_siginfo_type" gdbarch method. */
379
380static struct type *
382{
384 if (nbsd_gdbarch_data->siginfo_type != NULL)
386
387 type *char_type = builtin_type (gdbarch)->builtin_char;
388 type *int_type = builtin_type (gdbarch)->builtin_int;
389 type *long_type = builtin_type (gdbarch)->builtin_long;
390
391 type *void_ptr_type
392 = lookup_pointer_type (builtin_type (gdbarch)->builtin_void);
393
394 type *int32_type = builtin_type (gdbarch)->builtin_int32;
395 type *uint32_type = builtin_type (gdbarch)->builtin_uint32;
396 type *uint64_type = builtin_type (gdbarch)->builtin_uint64;
397
398 bool lp64 = void_ptr_type->length () == 8;
399 size_t char_bits = gdbarch_addressable_memory_unit_size (gdbarch) * 8;
400
401 /* pid_t */
402 type_allocator alloc (gdbarch);
403 type *pid_type = alloc.new_type (TYPE_CODE_TYPEDEF,
404 int32_type->length () * char_bits,
405 "pid_t");
406 pid_type->set_target_type (int32_type);
407
408 /* uid_t */
409 type *uid_type = alloc.new_type (TYPE_CODE_TYPEDEF,
410 uint32_type->length () * char_bits,
411 "uid_t");
412 uid_type->set_target_type (uint32_type);
413
414 /* clock_t */
415 type *clock_type = alloc.new_type (TYPE_CODE_TYPEDEF,
416 int_type->length () * char_bits,
417 "clock_t");
418 clock_type->set_target_type (int_type);
419
420 /* lwpid_t */
421 type *lwpid_type = alloc.new_type (TYPE_CODE_TYPEDEF,
422 int32_type->length () * char_bits,
423 "lwpid_t");
424 lwpid_type->set_target_type (int32_type);
425
426 /* union sigval */
427 type *sigval_type = arch_composite_type (gdbarch, NULL, TYPE_CODE_UNION);
428 sigval_type->set_name (gdbarch_obstack_strdup (gdbarch, "sigval"));
429 append_composite_type_field (sigval_type, "sival_int", int_type);
430 append_composite_type_field (sigval_type, "sival_ptr", void_ptr_type);
431
432 /* union _option */
433 type *option_type = arch_composite_type (gdbarch, NULL, TYPE_CODE_UNION);
434 option_type->set_name (gdbarch_obstack_strdup (gdbarch, "_option"));
435 append_composite_type_field (option_type, "_pe_other_pid", pid_type);
436 append_composite_type_field (option_type, "_pe_lwp", lwpid_type);
437
438 /* union _reason */
439 type *reason_type = arch_composite_type (gdbarch, NULL, TYPE_CODE_UNION);
440
441 /* _rt */
442 type *t = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
443 append_composite_type_field (t, "_pid", pid_type);
444 append_composite_type_field (t, "_uid", uid_type);
445 append_composite_type_field (t, "_value", sigval_type);
446 append_composite_type_field (reason_type, "_rt", t);
447
448 /* _child */
449 t = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
450 append_composite_type_field (t, "_pid", pid_type);
451 append_composite_type_field (t, "_uid", uid_type);
452 append_composite_type_field (t, "_status", int_type);
453 append_composite_type_field (t, "_utime", clock_type);
454 append_composite_type_field (t, "_stime", clock_type);
455 append_composite_type_field (reason_type, "_child", t);
456
457 /* _fault */
458 t = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
459 append_composite_type_field (t, "_addr", void_ptr_type);
460 append_composite_type_field (t, "_trap", int_type);
461 append_composite_type_field (t, "_trap2", int_type);
462 append_composite_type_field (t, "_trap3", int_type);
463 append_composite_type_field (reason_type, "_fault", t);
464
465 /* _poll */
466 t = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
467 append_composite_type_field (t, "_band", long_type);
468 append_composite_type_field (t, "_fd", int_type);
469 append_composite_type_field (reason_type, "_poll", t);
470
471 /* _syscall */
472 t = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
473 append_composite_type_field (t, "_sysnum", int_type);
474 append_composite_type_field (t, "_retval",
475 init_vector_type (int_type, 2));
476 append_composite_type_field (t, "_error", int_type);
477 append_composite_type_field (t, "_args",
478 init_vector_type (uint64_type, 8));
479 append_composite_type_field (reason_type, "_syscall", t);
480
481 /* _ptrace_state */
482 t = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
483 append_composite_type_field (t, "_pe_report_event", int_type);
484 append_composite_type_field (t, "_option", option_type);
485 append_composite_type_field (reason_type, "_ptrace_state", t);
486
487 /* struct _ksiginfo */
488 type *ksiginfo_type = arch_composite_type (gdbarch, NULL, TYPE_CODE_STRUCT);
489 ksiginfo_type->set_name (gdbarch_obstack_strdup (gdbarch, "_ksiginfo"));
490 append_composite_type_field (ksiginfo_type, "_signo", int_type);
491 append_composite_type_field (ksiginfo_type, "_code", int_type);
492 append_composite_type_field (ksiginfo_type, "_errno", int_type);
493 if (lp64)
494 append_composite_type_field (ksiginfo_type, "_pad", int_type);
495 append_composite_type_field (ksiginfo_type, "_reason", reason_type);
496
497 /* union siginfo */
498 type *siginfo_type = arch_composite_type (gdbarch, NULL, TYPE_CODE_UNION);
499 siginfo_type->set_name (gdbarch_obstack_strdup (gdbarch, "siginfo"));
500 append_composite_type_field (siginfo_type, "si_pad",
501 init_vector_type (char_type, 128));
502 append_composite_type_field (siginfo_type, "_info", ksiginfo_type);
503
504 nbsd_gdbarch_data->siginfo_type = siginfo_type;
505
506 return siginfo_type;
507}
508
509/* See netbsd-tdep.h. */
510
511void
513{
514 gdb_printf (_("Mapped address spaces:\n\n"));
515 if (addr_bit == 64)
516 {
517 gdb_printf (" %18s %18s %10s %10s %9s %s\n",
518 "Start Addr",
519 " End Addr",
520 " Size", " Offset", "Flags ", "File");
521 }
522 else
523 {
524 gdb_printf ("\t%10s %10s %10s %10s %9s %s\n",
525 "Start Addr",
526 " End Addr",
527 " Size", " Offset", "Flags ", "File");
528 }
529}
530
531/* Helper function to generate mappings flags for a single VM map
532 entry in 'info proc mappings'. */
533
534static const char *
535nbsd_vm_map_entry_flags (int kve_flags, int kve_protection)
536{
537 static char vm_flags[9];
538
539 vm_flags[0] = (kve_protection & KINFO_VME_PROT_READ) ? 'r' : '-';
540 vm_flags[1] = (kve_protection & KINFO_VME_PROT_WRITE) ? 'w' : '-';
541 vm_flags[2] = (kve_protection & KINFO_VME_PROT_EXEC) ? 'x' : '-';
542 vm_flags[3] = ' ';
543 vm_flags[4] = (kve_flags & KINFO_VME_FLAG_COW) ? 'C' : '-';
544 vm_flags[5] = (kve_flags & KINFO_VME_FLAG_NEEDS_COPY) ? 'N' : '-';
545 vm_flags[6] = (kve_flags & KINFO_VME_FLAG_PAGEABLE) ? 'P' : '-';
546 vm_flags[7] = (kve_flags & KINFO_VME_FLAG_GROWS_UP) ? 'U'
547 : (kve_flags & KINFO_VME_FLAG_GROWS_DOWN) ? 'D' : '-';
548 vm_flags[8] = '\0';
549
550 return vm_flags;
551}
552
553void
554nbsd_info_proc_mappings_entry (int addr_bit, ULONGEST kve_start,
555 ULONGEST kve_end, ULONGEST kve_offset,
556 int kve_flags, int kve_protection,
557 const char *kve_path)
558{
559 if (addr_bit == 64)
560 {
561 gdb_printf (" %18s %18s %10s %10s %9s %s\n",
562 hex_string (kve_start),
563 hex_string (kve_end),
564 hex_string (kve_end - kve_start),
565 hex_string (kve_offset),
566 nbsd_vm_map_entry_flags (kve_flags, kve_protection),
567 kve_path);
568 }
569 else
570 {
571 gdb_printf ("\t%10s %10s %10s %10s %9s %s\n",
572 hex_string (kve_start),
573 hex_string (kve_end),
574 hex_string (kve_end - kve_start),
575 hex_string (kve_offset),
576 nbsd_vm_map_entry_flags (kve_flags, kve_protection),
577 kve_path);
578 }
579}
580
581/* Implement the "get_syscall_number" gdbarch method. */
582
583static LONGEST
585{
586
587 /* NetBSD doesn't use gdbarch_get_syscall_number since NetBSD
588 native targets fetch the system call number from the
589 'si_sysnum' member of siginfo_t in nbsd_nat_target::wait.
590 However, system call catching requires this function to be
591 set. */
592
593 internal_error (_("nbsd_get_sycall_number called"));
594}
595
596/* See netbsd-tdep.h. */
597
598void
char * gdbarch_obstack_strdup(struct gdbarch *arch, const char *string)
int svr4_auxv_parse(struct gdbarch *gdbarch, const gdb_byte **readptr, const gdb_byte *endptr, CORE_ADDR *typep, CORE_ADDR *valp)
Definition auxv.c:298
void * get(unsigned key)
Definition registry.h:211
type * new_type()
Definition gdbtypes.c:208
CORE_ADDR frame_unwind_caller_pc(frame_info_ptr this_frame)
Definition frame.c:1042
frame_info_ptr get_current_frame(void)
Definition frame.c:1670
void set_gdbarch_get_syscall_number(struct gdbarch *gdbarch, gdbarch_get_syscall_number_ftype *get_syscall_number)
void set_gdbarch_get_siginfo_type(struct gdbarch *gdbarch, gdbarch_get_siginfo_type_ftype *get_siginfo_type)
void set_gdbarch_gdb_signal_from_target(struct gdbarch *gdbarch, gdbarch_gdb_signal_from_target_ftype *gdb_signal_from_target)
void set_gdbarch_auxv_parse(struct gdbarch *gdbarch, gdbarch_auxv_parse_ftype *auxv_parse)
void set_gdbarch_gdb_signal_to_target(struct gdbarch *gdbarch, gdbarch_gdb_signal_to_target_ftype *gdb_signal_to_target)
int gdbarch_addressable_memory_unit_size(struct gdbarch *gdbarch)
Definition gdbarch.c:5300
void set_gdbarch_skip_solib_resolver(struct gdbarch *gdbarch, gdbarch_skip_solib_resolver_ftype *skip_solib_resolver)
struct type * lookup_pointer_type(struct type *type)
Definition gdbtypes.c:430
struct type * arch_composite_type(struct gdbarch *gdbarch, const char *name, enum type_code code)
Definition gdbtypes.c:5734
struct type * init_vector_type(struct type *elt_type, int n)
Definition gdbtypes.c:1491
const struct builtin_type * builtin_type(struct gdbarch *gdbarch)
Definition gdbtypes.c:6168
void append_composite_type_field(struct type *t, const char *name, struct type *field)
Definition gdbtypes.c:5810
struct bound_minimal_symbol lookup_minimal_symbol(const char *name, const char *sfile, struct objfile *objf)
Definition minsyms.c:363
CORE_ADDR find_solib_trampoline_target(frame_info_ptr frame, CORE_ADDR pc)
Definition minsyms.c:1554
static const registry< gdbarch >::key< nbsd_gdbarch_data > nbsd_gdbarch_data_handle
int nbsd_pc_in_sigtramp(CORE_ADDR pc, const char *func_name)
Definition netbsd-tdep.c:48
#define KINFO_VME_PROT_EXEC
Definition netbsd-tdep.c:35
#define KINFO_VME_FLAG_GROWS_UP
Definition netbsd-tdep.c:44
static struct nbsd_gdbarch_data * get_nbsd_gdbarch_data(struct gdbarch *gdbarch)
static const char * nbsd_vm_map_entry_flags(int kve_flags, int kve_protection)
void nbsd_info_proc_mappings_entry(int addr_bit, ULONGEST kve_start, ULONGEST kve_end, ULONGEST kve_offset, int kve_flags, int kve_protection, const char *kve_path)
static struct type * nbsd_get_siginfo_type(struct gdbarch *gdbarch)
static LONGEST nbsd_get_syscall_number(struct gdbarch *gdbarch, thread_info *thread)
static enum gdb_signal nbsd_gdb_signal_from_target(struct gdbarch *gdbarch, int signal)
#define KINFO_VME_FLAG_COW
Definition netbsd-tdep.c:40
void nbsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
#define KINFO_VME_PROT_READ
Definition netbsd-tdep.c:33
#define KINFO_VME_FLAG_GROWS_DOWN
Definition netbsd-tdep.c:45
#define KINFO_VME_PROT_WRITE
Definition netbsd-tdep.c:34
static int nbsd_gdb_signal_to_target(struct gdbarch *gdbarch, enum gdb_signal signal)
#define KINFO_VME_FLAG_NEEDS_COPY
Definition netbsd-tdep.c:41
static CORE_ADDR nbsd_skip_solib_resolver(struct gdbarch *gdbarch, CORE_ADDR pc)
#define KINFO_VME_FLAG_PAGEABLE
Definition netbsd-tdep.c:43
void nbsd_info_proc_mappings_header(int addr_bit)
@ NBSD_SIGILL
Definition netbsd-tdep.c:64
@ NBSD_SIGPWR
Definition netbsd-tdep.c:92
@ NBSD_SIGTTIN
Definition netbsd-tdep.c:81
@ NBSD_SIGTTOU
Definition netbsd-tdep.c:82
@ NBSD_SIGCONT
Definition netbsd-tdep.c:79
@ NBSD_SIGXCPU
Definition netbsd-tdep.c:84
@ NBSD_SIGPIPE
Definition netbsd-tdep.c:73
@ NBSD_SIGRTMIN
Definition netbsd-tdep.c:93
@ NBSD_SIGKILL
Definition netbsd-tdep.c:69
@ NBSD_SIGURG
Definition netbsd-tdep.c:76
@ NBSD_SIGSEGV
Definition netbsd-tdep.c:71
@ NBSD_SIGTSTP
Definition netbsd-tdep.c:78
@ NBSD_SIGINFO
Definition netbsd-tdep.c:89
@ NBSD_SIGSTOP
Definition netbsd-tdep.c:77
@ NBSD_SIGPROF
Definition netbsd-tdep.c:87
@ NBSD_SIGVTALRM
Definition netbsd-tdep.c:86
@ NBSD_SIGWINCH
Definition netbsd-tdep.c:88
@ NBSD_SIGQUIT
Definition netbsd-tdep.c:63
@ NBSD_SIGUSR1
Definition netbsd-tdep.c:90
@ NBSD_SIGHUP
Definition netbsd-tdep.c:61
@ NBSD_SIGRTMAX
Definition netbsd-tdep.c:94
@ NBSD_SIGTERM
Definition netbsd-tdep.c:75
@ NBSD_SIGFPE
Definition netbsd-tdep.c:68
@ NBSD_SIGXFSZ
Definition netbsd-tdep.c:85
@ NBSD_SIGABRT
Definition netbsd-tdep.c:66
@ NBSD_SIGTRAP
Definition netbsd-tdep.c:65
@ NBSD_SIGSYS
Definition netbsd-tdep.c:72
@ NBSD_SIGUSR2
Definition netbsd-tdep.c:91
@ NBSD_SIGEMT
Definition netbsd-tdep.c:67
@ NBSD_SIGIO
Definition netbsd-tdep.c:83
@ NBSD_SIGINT
Definition netbsd-tdep.c:62
@ NBSD_SIGCHLD
Definition netbsd-tdep.c:80
@ NBSD_SIGALRM
Definition netbsd-tdep.c:74
@ NBSD_SIGBUS
Definition netbsd-tdep.c:70
CORE_ADDR value_address() const
Definition minsyms.h:41
struct minimal_symbol * minsym
Definition minsyms.h:49
struct type * builtin_long
Definition gdbtypes.h:2081
struct type * builtin_uint32
Definition gdbtypes.h:2120
struct type * builtin_uint64
Definition gdbtypes.h:2122
struct type * builtin_char
Definition gdbtypes.h:2078
struct type * builtin_int
Definition gdbtypes.h:2080
struct type * builtin_int32
Definition gdbtypes.h:2119
struct type * siginfo_type
ULONGEST length() const
Definition gdbtypes.h:983
void set_target_type(struct type *target_type)
Definition gdbtypes.h:1042
void set_name(const char *name)
Definition gdbtypes.h:974
void gdb_printf(struct ui_file *stream, const char *format,...)
Definition utils.c:1886
void set_xml_syscall_file_name(struct gdbarch *gdbarch, const char *name)
Definition xml-syscall.c:50