| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: dwarf.h,v 1.3 2016/02/20 02:43:41 christos Exp $ */ | | 1 | /* $NetBSD: dwarf.h,v 1.4 2017/11/30 19:45:53 christos Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 2007 John Birrell (jb@freebsd.org) | | 4 | * Copyright (c) 2007 John Birrell (jb@freebsd.org) |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * Redistribution and use in source and binary forms, with or without | | 7 | * Redistribution and use in source and binary forms, with or without |
8 | * modification, are permitted provided that the following conditions | | 8 | * modification, are permitted provided that the following conditions |
9 | * are met: | | 9 | * are met: |
10 | * 1. Redistributions of source code must retain the above copyright | | 10 | * 1. Redistributions of source code must retain the above copyright |
11 | *notice, this list of conditions and the following disclaimer. | | 11 | *notice, this list of conditions and the following disclaimer. |
12 | * 2. Redistributions in binary form must reproduce the above copyright | | 12 | * 2. Redistributions in binary form must reproduce the above copyright |
13 | *notice, this list of conditions and the following disclaimer in the | | 13 | *notice, this list of conditions and the following disclaimer in the |
14 | *documentation and/or other materials provided with the distribution. | | 14 | *documentation and/or other materials provided with the distribution. |
| @@ -426,42 +426,62 @@ | | | @@ -426,42 +426,62 @@ |
426 | #define DW_OP_GNU_uninit 0xf0 | | 426 | #define DW_OP_GNU_uninit 0xf0 |
427 | #define DW_OP_GNU_encoded_addr 0xf1 | | 427 | #define DW_OP_GNU_encoded_addr 0xf1 |
428 | #define DW_OP_GNU_implicit_pointer 0xf2 | | 428 | #define DW_OP_GNU_implicit_pointer 0xf2 |
429 | #define DW_OP_GNU_entry_value 0xf3 | | 429 | #define DW_OP_GNU_entry_value 0xf3 |
430 | #define DW_OP_GNU_const_type 0xf4 | | 430 | #define DW_OP_GNU_const_type 0xf4 |
431 | #define DW_OP_GNU_regval_type 0xf5 | | 431 | #define DW_OP_GNU_regval_type 0xf5 |
432 | #define DW_OP_GNU_deref_type 0xf6 | | 432 | #define DW_OP_GNU_deref_type 0xf6 |
433 | #define DW_OP_GNU_convert 0xf7 | | 433 | #define DW_OP_GNU_convert 0xf7 |
434 | #define DW_OP_GNU_reinterpret 0xf9 | | 434 | #define DW_OP_GNU_reinterpret 0xf9 |
435 | #define DW_OP_GNU_parameter_ref 0xfa | | 435 | #define DW_OP_GNU_parameter_ref 0xfa |
436 | #define DW_OP_GNU_addr_index 0xfb | | 436 | #define DW_OP_GNU_addr_index 0xfb |
437 | #define DW_OP_GNU_const_index 0xfc | | 437 | #define DW_OP_GNU_const_index 0xfc |
438 | | | 438 | |
439 | #define DW_ATE_address 0x1 | | 439 | #define DW_ATE_address 0x01 |
440 | #define DW_ATE_boolean 0x2 | | 440 | #define DW_ATE_boolean 0x02 |
441 | #define DW_ATE_complex_float 0x3 | | 441 | #define DW_ATE_complex_float 0x03 |
442 | #define DW_ATE_float 0x4 | | 442 | #define DW_ATE_float 0x04 |
443 | #define DW_ATE_signed 0x5 | | 443 | #define DW_ATE_signed 0x05 |
444 | #define DW_ATE_signed_char 0x6 | | 444 | #define DW_ATE_signed_char 0x06 |
445 | #define DW_ATE_unsigned 0x7 | | 445 | #define DW_ATE_unsigned 0x07 |
446 | #define DW_ATE_unsigned_char 0x8 | | 446 | #define DW_ATE_unsigned_char 0x08 |
447 | #define DW_ATE_imaginary_float 0x9 | | 447 | #define DW_ATE_imaginary_float 0x09 |
448 | #define DW_ATE_packed_decimal 0xa | | 448 | #define DW_ATE_packed_decimal 0x0a |
449 | #define DW_ATE_numeric_string 0xb | | 449 | #define DW_ATE_numeric_string 0x0b |
450 | #define DW_ATE_edited 0xc | | 450 | #define DW_ATE_edited 0x0c |
451 | #define DW_ATE_signed_fixed 0xd | | 451 | #define DW_ATE_signed_fixed 0x0d |
452 | #define DW_ATE_unsigned_fixed 0xe | | 452 | #define DW_ATE_unsigned_fixed 0x0e |
453 | #define DW_ATE_decimal_float 0xf | | 453 | #define DW_ATE_decimal_float 0x0f |
454 | #define DW_ATE_lo_user 0x80 | | 454 | #define DW_ATE_UTF 0x10 |
| | | 455 | |
| | | 456 | #define DW_ATE_lo_user 0x80 |
| | | 457 | |
| | | 458 | #define DW_ATE_HP_float80 0x80 /* FP (80 bit) */ |
| | | 459 | #define DW_ATE_HP_complex_float80 0x81 /* Complex FP (80 bit) */ |
| | | 460 | #define DW_ATE_HP_float128 0x82 /* FP (128 bit) */ |
| | | 461 | #define DW_ATE_HP_complex_float128 0x83 /* Complex FP (128 bit) */ |
| | | 462 | #define DW_ATE_HP_floathpintel 0x84 /* FP (82 bit IA64) */ |
| | | 463 | #define DW_ATE_HP_imaginary_float80 0x85 |
| | | 464 | #define DW_ATE_HP_imaginary_float128 0x86 |
| | | 465 | #define DW_ATE_HP_VAX_float 0x88 /* FP (F, G) */ |
| | | 466 | #define DW_ATE_HP_VAX_float_d 0x89 /* FP (D) */ |
| | | 467 | #define DW_ATE_HP_packed_decimal 0x8a /* Cobol */ |
| | | 468 | #define DW_ATE_HP_zoned_decimal 0x8b /* Cobol */ |
| | | 469 | #define DW_ATE_HP_edited 0x8c /* Cobol */ |
| | | 470 | #define DW_ATE_HP_signed_fixed 0x8d /* Cobol */ |
| | | 471 | #define DW_ATE_HP_unsigned_fixed 0x8e /* Cobol */ |
| | | 472 | #define DW_ATE_HP_VAX_complex_float 0x8f /* Complex FP (F, G) */ |
| | | 473 | #define DW_ATE_HP_VAX_complex_float_d 0x90 /* Complex FP (D) */ |
| | | 474 | |
455 | #define DW_ATE_hi_user 0xff | | 475 | #define DW_ATE_hi_user 0xff |
456 | | | 476 | |
457 | #define DW_ACCESS_public 0x01 | | 477 | #define DW_ACCESS_public 0x01 |
458 | #define DW_ACCESS_protected 0x02 | | 478 | #define DW_ACCESS_protected 0x02 |
459 | #define DW_ACCESS_private 0x03 | | 479 | #define DW_ACCESS_private 0x03 |
460 | | | 480 | |
461 | #define DW_END_default 0x00 | | 481 | #define DW_END_default 0x00 |
462 | #define DW_END_big 0x01 | | 482 | #define DW_END_big 0x01 |
463 | #define DW_END_little 0x02 | | 483 | #define DW_END_little 0x02 |
464 | #define DW_END_lo_user 0x40 | | 484 | #define DW_END_lo_user 0x40 |
465 | #define DW_END_high_user 0xff | | 485 | #define DW_END_high_user 0xff |
466 | | | 486 | |
467 | #define DW_VIS_local 0x01 | | 487 | #define DW_VIS_local 0x01 |