| OLD | NEW |
| 1 /* Print values for GNU debugger GDB. | 1 /* Print values for GNU debugger GDB. |
| 2 | 2 |
| 3 Copyright (C) 1986-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1986-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This file is part of GDB. | 5 This file is part of GDB. |
| 6 | 6 |
| 7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 10 (at your option) any later version. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "disasm.h" | 42 #include "disasm.h" |
| 43 #include "dfp.h" | 43 #include "dfp.h" |
| 44 #include "valprint.h" | 44 #include "valprint.h" |
| 45 #include "exceptions.h" | 45 #include "exceptions.h" |
| 46 #include "observer.h" | 46 #include "observer.h" |
| 47 #include "solist.h" | 47 #include "solist.h" |
| 48 #include "parser-defs.h" | 48 #include "parser-defs.h" |
| 49 #include "charset.h" | 49 #include "charset.h" |
| 50 #include "arch-utils.h" | 50 #include "arch-utils.h" |
| 51 #include "cli/cli-utils.h" | 51 #include "cli/cli-utils.h" |
| 52 #include "format.h" |
| 52 | 53 |
| 53 #ifdef TUI | 54 #ifdef TUI |
| 54 #include "tui/tui.h" /* For tui_active et al. */ | 55 #include "tui/tui.h" /* For tui_active et al. */ |
| 55 #endif | 56 #endif |
| 56 | 57 |
| 57 #if defined(__MINGW32__) && !defined(PRINTF_HAS_LONG_LONG) | |
| 58 # define USE_PRINTF_I64 1 | |
| 59 # define PRINTF_HAS_LONG_LONG | |
| 60 #else | |
| 61 # define USE_PRINTF_I64 0 | |
| 62 #endif | |
| 63 | |
| 64 struct format_data | 58 struct format_data |
| 65 { | 59 { |
| 66 int count; | 60 int count; |
| 67 char format; | 61 char format; |
| 68 char size; | 62 char size; |
| 69 | 63 |
| 70 /* True if the value should be printed raw -- that is, bypassing | 64 /* True if the value should be printed raw -- that is, bypassing |
| 71 python-based formatters. */ | 65 python-based formatters. */ |
| 72 unsigned char raw; | 66 unsigned char raw; |
| 73 }; | 67 }; |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 | 552 |
| 559 next_gdbarch = gdbarch; | 553 next_gdbarch = gdbarch; |
| 560 next_address = addr; | 554 next_address = addr; |
| 561 | 555 |
| 562 /* Make address available to the user as $_. */ | 556 /* Make address available to the user as $_. */ |
| 563 set_internalvar (lookup_internalvar ("_"), | 557 set_internalvar (lookup_internalvar ("_"), |
| 564 value_from_pointer (ptr_type, addr)); | 558 value_from_pointer (ptr_type, addr)); |
| 565 } | 559 } |
| 566 | 560 |
| 567 /* Optionally print address ADDR symbolically as <SYMBOL+OFFSET> on STREAM, | 561 /* Optionally print address ADDR symbolically as <SYMBOL+OFFSET> on STREAM, |
error: old chunk mismatch |
None
| OLD | NEW |