| 1 | 2013-02-06 David S. Miller <davem@davemloft.net> |
| 2 | |
| 3 | * sparc-tdep.c (sparc32_return_value): Handle writing return value when |
| 4 | using RETURN_VALUE_ABI_PRESERVES_ADDRESS. |
| 5 | * value.c (struct_return_convention): New function. |
| 6 | (using_struct_return): Implement in terms of struct_return_convention. |
| 7 | * value.h (struct_return_convention): Declare. |
| 8 | * stack.c (return_command): Allow successful overriding of the return |
| 9 | value when RETURN_VALUE_ABI_PRESERVES_ADDRESS. |
| 10 | |
| 11 | 2013-02-06 Tom Tromey <tromey@redhat.com> |
| 12 | |
| 13 | * python/py-type.c (typy_strip_typedefs): Don't call check_typedef |
| 14 | outside of TRY_CATCH. |
| 15 | |
| 16 | 2013-02-06 Yao Qi <yao@codesourcery.com> |
| 17 | |
| 18 | * mi/mi-interp.c: Include "tracepoint.h". |
| 19 | (mi_tsv_modified): Declare. |
| 20 | (mi_tsv_created, mi_tsv_deleted): Update declaration. |
| 21 | (mi_interpreter_init): Call observer_attach_tsv_modified. |
| 22 | (mi_tsv_modified): New. |
| 23 | (mi_tsv_created, mi_tsv_deleted): Update. |
| 24 | * tracepoint.c (trace_variable_command): Call |
| 25 | observer_notify_tsv_modified if the initial value of tsv is |
| 26 | changed. |
| 27 | (delete_trace_state_variable): Call |
| 28 | observer_notify_tsv_deleted earlier. |
| 29 | (trace_variable_command): Caller update. |
| 30 | (create_tsv_from_upload): Likewise. |
| 31 | * observer.sh: Declare "struct trace_state_variable". |
| 32 | |
| 33 | * NEWS: Mention the new MI notification "=tsv-modified". |
| 34 | |
| 35 | 2013-02-05 Doug Evans <dje@google.com> |
| 36 | |
| 37 | * completer.c (location_completer): Fix typo in comment. |
| 38 | |
| 39 | 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 40 | |
| 41 | * breakpoint.c (add_location_to_breakpoint): Insert the location with |
| 42 | ADDRESS sorted. |
| 43 | |
| 44 | 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 45 | |
| 46 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: |
| 47 | Refactor if statement to avoid trailing || operator. |
| 48 | |
| 49 | 2013-02-05 Andreas Tobler <andreast@fgznet.ch> |
| 50 | |
| 51 | * NEWS: Add PowerPC FreeBSD as a new native configuration. |
| 52 | |
| 53 | 2013-02-04 Andreas Tobler <andreast@fgznet.ch> |
| 54 | |
| 55 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. |
| 56 | * configure.host: Add powerpc*-*-freebsd* target. |
| 57 | * configure.tgt: Add target info for powerpc*-*-freebsd*. |
| 58 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. |
| 59 | * config/powerpc/fbsd.mh: New file. |
| 60 | |
| 61 | 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> |
| 62 | Denys Vlasenko <dvlasenk@redhat.com> |
| 63 | Pedro Alves <palves@redhat.com> |
| 64 | |
| 65 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. |
| 66 | (struct elf_internal_linux_prpsinfo): Forward declare. |
| 67 | * gdbarch.h, gdbarch.c: Regenerate. |
| 68 | * linux-tdep.c: Include `cli/cli-utils.h'. |
| 69 | (linux_fill_prpsinfo): New function. |
| 70 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's |
| 71 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use |
| 72 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 |
| 73 | depending on gdbarch pointer bitness. |
| 74 | * ppc-linux-tdep.c: Include elf-bfd.h. |
| 75 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 |
| 76 | on 32-bit. |
| 77 | |
| 78 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 79 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 80 | Nigel Stephens <nigel.stephens@arm.com> |
| 81 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 82 | |
| 83 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. |
| 84 | |
| 85 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 86 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 87 | Nigel Stephens <nigel.stephens@arm.com> |
| 88 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 89 | |
| 90 | * aarch64-newlib-tdep.c: New file. |
| 91 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of |
| 92 | aarch64*-*-elf. |
| 93 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. |
| 94 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. |
| 95 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. |
| 96 | * osabi.c (gdb_osabi_names): Add "Newlib". |
| 97 | |
| 98 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 99 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 100 | Nigel Stephens <nigel.stephens@arm.com> |
| 101 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 102 | |
| 103 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. |
| 104 | (ALLDEPFILES): Add aarch64-linux-tdep.c. |
| 105 | * aarch64-linux-tdep.c: New file. |
| 106 | * aarch64-linux-tdep.h: New file. |
| 107 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. |
| 108 | * configure.tgt: Add aarch64-none-linux-gnu. |
| 109 | |
| 110 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 111 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 112 | Nigel Stephens <nigel.stephens@arm.com> |
| 113 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 114 | |
| 115 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. |
| 116 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. |
| 117 | (ALLDEPFILES): Add aarch64-tdep.c. |
| 118 | * aarch64-tdep.c: New file. |
| 119 | * aarch64-tdep.h: New file. |
| 120 | * configure.tgt: Add AArch64. |
| 121 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. |
| 122 | (aarch64-expedite): New definition. |
| 123 | * features/aarch64-core.xml: New file. |
| 124 | * features/aarch64-fpu.xml: New file. |
| 125 | * features/aarch64-without-fpu.c: New file (generated). |
| 126 | * features/aarch64-without-fpu.xml: New file. |
| 127 | * features/aarch64.c: New file (generated). |
| 128 | * features/aarch64.xml: New file. |
| 129 | * regformats/aarch64-without-fpu.dat: New file (generated). |
| 130 | * regformats/aarch64.dat: New file (generated). |
| 131 | |
| 132 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 133 | |
| 134 | * contrib/expect-read1.c: New file. |
| 135 | * contrib/expect-read1.sh: New file. |
| 136 | |
| 137 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 138 | |
| 139 | * dwarf2read.c (file_file_name): New function with code from |
| 140 | file_full_name. |
| 141 | (file_full_name): Move most of the code to file_file_name. |
| 142 | (macro_start_file): Rename variable full_name to file_name and use |
| 143 | file_file_name for it. Add comp_dir parameter to new_macro_table. |
| 144 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any |
| 145 | macro_source_file->filename access by macro_source_fullname call. |
| 146 | * macroscope.c (_initialize_macroscope): Update the new_macro_table |
| 147 | caller. |
| 148 | * macrotab.c (struct macro_table): New field comp_dir. |
| 149 | (macro_include): New variables link_fullname and source_fullname. |
| 150 | Replace any macro_source_file->filename access by macro_source_fullname |
| 151 | call. |
| 152 | (macro_lookup_inclusion): Remove the partial filenames checking code. |
| 153 | (check_for_redefinition): New variables source_fullname and |
| 154 | found_key_fullname. Replace any macro_source_file->filename access by |
| 155 | macro_source_fullname call. |
| 156 | (macro_undef): New variables source_fullname and key_fullname. Replace |
| 157 | any macro_source_file->filename access by macro_source_fullname call. |
| 158 | (macro_lookup_definition): New variables retval and source_fullname. |
| 159 | Replace any macro_source_file->filename access by macro_source_fullname |
| 160 | call. |
| 161 | (foreach_macro): New variable key_fullname. Replace any |
| 162 | macro_source_file->filename access by macro_source_fullname call. |
| 163 | (foreach_macro_in_scope): New variable datum_fullname. Replace any |
| 164 | macro_source_file->filename access by macro_source_fullname call. |
| 165 | (new_macro_table): Add parameter comp_dir. Initialize T with it. |
| 166 | (macro_source_fullname): New function. |
| 167 | * macrotab.h (struct macro_source_file): Extent the filename field |
| 168 | comment. |
| 169 | (new_macro_table): New parameter comp_dir, add a comment for it. |
| 170 | (macro_source_fullname): new declaration. |
| 171 | |
| 172 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 173 | |
| 174 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable |
| 175 | this_real_name to outer block. Use it also for |
| 176 | compare_filenames_for_search. |
| 177 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it |
| 178 | with dw2_get_real_path for file_matcher, considering also |
| 179 | BASENAMES_MAY_DIFFER. |
| 180 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. |
| 181 | |
| 182 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 183 | |
| 184 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter |
| 185 | to the file_matcher parameter. Pass 0 to it. |
| 186 | (dwarf2_create_include_psymtab): Copy also DIRNAME. |
| 187 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of |
| 188 | NULL psymtab_to_fullname result. |
| 189 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble |
| 190 | an expected filename instead. |
| 191 | (expand_symtabs_matching_via_partial): Add basenames parameter to the |
| 192 | file_matcher parameter. Call also psymtab_to_fullname, after newly |
| 193 | considering BASENAMES_MAY_DIFFER. |
| 194 | * source.c (rewrite_source_path): Remove static. |
| 195 | * source.h (rewrite_source_path): New declaration. |
| 196 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to |
| 197 | the expand_symtabs_matching field. Comment it. |
| 198 | * symtab.c (file_matches): New function comment. Add parameter |
| 199 | basenames, implement it. |
| 200 | (search_symbols_file_matches): Add basenames parameter. Update the |
| 201 | file_matches caller. |
| 202 | (search_symbols): Match FILES also against symtab_to_fullname. |
| 203 | Optimize it for BASENAMES_MAY_DIFFER. |
| 204 | |
| 205 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 206 | |
| 207 | * source.c (print_source_lines_base): Print for TUI also "fullname". |
| 208 | * tui/tui-data.c (init_content_element): Change tui_locator_element |
| 209 | field to full_name. |
| 210 | * tui/tui-data.h (struct tui_locator_element): Likewise. |
| 211 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename |
| 212 | tui_update_locator_filename calls to tui_update_locator_fullname. |
| 213 | Replace symtab->filename refererence by symtab_to_fullname call. |
| 214 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. |
| 215 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element |
| 216 | field to full_name. Replace symtab->filename refererence by |
| 217 | symtab_to_fullname call. |
| 218 | (tui_show_symtab_source): Rename parameter to fullname. Change |
| 219 | tui_locator_element field to full_name. |
| 220 | * tui/tui-stack.c: Include source.h. |
| 221 | (tui_set_locator_filename): Rename the declaration to ... |
| 222 | (tui_set_locator_fullname): ... here. Rename its parameter to |
| 223 | fullname, updates its comment. |
| 224 | (tui_set_locator_info): Rename its parameter to fullname. |
| 225 | (tui_set_locator_filename): Rename the definition to ... |
| 226 | (tui_set_locator_fullname): ... here. Rename its parameter to |
| 227 | fullname, updates its comment. Change tui_locator_element field to |
| 228 | full_name. |
| 229 | (tui_set_locator_info): Rename its parameter to fullname. |
| 230 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. |
| 231 | (tui_update_locator_filename): Rename to ... |
| 232 | (tui_update_locator_fullname): ... here. Rename callee to |
| 233 | tui_set_locator_fullname. |
| 234 | (tui_show_frame_info): Replace symtab->filename refererence by |
| 235 | symtab_to_fullname call. |
| 236 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... |
| 237 | (tui_update_locator_fullname): ... here. |
| 238 | * tui/tui-winsource.c (tui_display_main): Rename the callee to |
| 239 | tui_update_locator_fullname. Replace symtab->filename refererence by |
| 240 | symtab_to_fullname call. |
| 241 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. |
| 242 | Rename the callee to tui_update_locator_fullname. |
| 243 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. |
| 244 | |
| 245 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 246 | |
| 247 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences |
| 248 | by symtab_to_filename_for_display calls. |
| 249 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. |
| 250 | (clear_command): New variable sal_fullname, initialize it. Replace |
| 251 | compare_filenames_for_search by filename_cmp with sal_fullname. |
| 252 | (say_where, update_static_tracepoint): Replace symtab->filename |
| 253 | refererences by symtab_to_filename_for_display calls. |
| 254 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): |
| 255 | Likewise. |
| 256 | * dwarf2read.c: Include source.h. |
| 257 | (fixup_go_packaging): Replace symtab->filename refererences by |
| 258 | symtab_to_filename_for_display calls. |
| 259 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. |
| 260 | Replace symtab->filename refererences by symtab_to_filename_for_display |
| 261 | calls. |
| 262 | (create_sals_line_offset, convert_linespec_to_sals): New variable |
| 263 | fullname, initialize it, replace symtab->filename reference by the |
| 264 | variable. |
| 265 | * linux-fork.c: Include source.h. |
| 266 | (info_checkpoints_command): Replace symtab->filename refererences by |
| 267 | symtab_to_filename_for_display calls. |
| 268 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences |
| 269 | by symtab_to_filename_for_display calls. |
| 270 | * mdebugread.c: Include source.h. |
| 271 | (psymtab_to_symtab_1): Replace symtab->filename refererences by |
| 272 | symtab_to_filename_for_display calls. |
| 273 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) |
| 274 | (mi_cmd_file_list_exec_source_files): Likewise. |
| 275 | * printcmd.c: Include source.h. |
| 276 | (build_address_symbolic): Replace symtab->filename refererences by |
| 277 | symtab_to_filename_for_display calls. |
| 278 | * psymtab.c (partial_map_symtabs_matching_filename) |
| 279 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also |
| 280 | with psymtab_to_fullname. |
| 281 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences |
| 282 | by symtab_to_filename_for_display calls. |
| 283 | (stpy_get_filename): New variable filename, initialize it, use instead |
| 284 | of symtab->filename refererences. |
| 285 | (salpy_str): Make variable filename const char *. Replace |
| 286 | symtab->filename refererences by symtab_to_filename_for_display calls. |
| 287 | * skip.c: Include source.h and filenames.h. |
| 288 | (skip_file_command): Remove const from the symtab variable. Replace |
| 289 | symtab->filename refererences by symtab_to_fullname call. |
| 290 | (function_name_is_marked_for_skip): New variables searched_for_fullname |
| 291 | and fullname. Use them to search also with symtab's fullname. |
| 292 | * source.c (find_source_lines): Replace symtab->filename refererences |
| 293 | by symtab_to_filename_for_display calls. |
| 294 | (print_source_lines_base): New variable filename, use it instead of |
| 295 | symtab->filename. Replace symtab->filename refererences by |
| 296 | symtab_to_filename_for_display calls. |
| 297 | (line_info, forward_search_command): Replace symtab->filename |
| 298 | refererences by symtab_to_filename_for_display calls. |
| 299 | (reverse_search_command): Replace symtab->filename refererences by |
| 300 | symtab_to_filename_for_display calls. New variable filename for it. |
| 301 | * stack.c (frame_info): Likewise. |
| 302 | * symmisc.c: Include source.h. |
| 303 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) |
| 304 | (maintenance_info_symtabs): Replace symtab->filename refererences by |
| 305 | symtab_to_filename_for_display calls. |
| 306 | * symtab.c (iterate_over_some_symtabs): Call |
| 307 | compare_filenames_for_search also with symtab_to_fullname. |
| 308 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace |
| 309 | symtab->filename refererences by symtab_to_filename_for_display calls. |
| 310 | (find_line_symtab): Replace symtab->filename refererences by |
| 311 | symtab_to_filename_for_display calls. |
| 312 | (file_matches): Replace filename_cmp by compare_filenames_for_search. |
| 313 | (print_symbol_info): Make the last parameter const char *. New |
| 314 | variable s_filename. Use it in the function. |
| 315 | (symtab_symbol_info): Make the last_filename variable const char *. |
| 316 | Replace symtab->filename refererences by symtab_to_filename_for_display |
| 317 | calls. |
| 318 | (rbreak_command): New variable fullname. Use it. Replace |
| 319 | symtab->filename refererence by symtab_to_filename_for_display call. |
| 320 | * tracepoint.c (set_traceframe_context, trace_find_line_command) |
| 321 | (print_one_static_tracepoint_marker): Replace symtab->filename |
| 322 | refererences by symtab_to_filename_for_display calls. |
| 323 | * tui/tui-source.c (tui_set_source_content): New variables filename and |
| 324 | s_filename. Replace symtab->filename refererences by this variable. |
| 325 | Replace other symtab->filename refererences by |
| 326 | symtab_to_filename_for_display calls. |
| 327 | |
| 328 | 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com> |
| 329 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 330 | |
| 331 | Add a new variable that controls a way in which filenames are |
| 332 | displayed. |
| 333 | * NEWS (set filename-display): New entry. |
| 334 | * source.c (filename_display_basename, filename_display_relative) |
| 335 | (filename_display_absolute, filename_display_kind_names) |
| 336 | (filename_display_string, show_filename_display_string) |
| 337 | (symtab_to_filename_for_display): New. |
| 338 | (_initialize_source): Added initialization of 'filename-display' |
| 339 | variable. |
| 340 | * source.h (symtab_to_filename_for_display): Added declaration. |
| 341 | * stack.c (print_frame): Added new variable and calling of a new |
| 342 | function and condition with this variable. Changed third argument of |
| 343 | calling of a function. |
| 344 | |
| 345 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 346 | |
| 347 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): |
| 348 | Rename field reference filename to fullname. |
| 349 | * tui/tui-data.h (struct tui_source_info): Rename field filename to |
| 350 | fullname. New comment for it. |
| 351 | * tui/tui-source.c (tui_set_source_content): Rename field reference |
| 352 | filename to fullname. Initialize field by symtab_to_fullname now. |
| 353 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field |
| 354 | reference filename to fullname. Use symtab_to_fullname during |
| 355 | comparison. |
| 356 | |
| 357 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 358 | |
| 359 | Code cleanup. |
| 360 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... |
| 361 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter |
| 362 | filename to fullname. Rename variable this_name to this_fullname. |
| 363 | Lowercase FILENAME_CMP call. |
| 364 | (dw2_find_symbol_file): New comment for the returned string. |
| 365 | (dwarf2_gdb_index_functions): Rename the function to |
| 366 | dw2_expand_symtabs_with_fullname. |
| 367 | * psymtab.c (read_psymtabs_with_filename): Rename to ... |
| 368 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to |
| 369 | fullname. |
| 370 | (psym_functions): Rename the function to read_psymtabs_with_fullname. |
| 371 | * symfile.h (struct quick_symbol_functions): Rename field |
| 372 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its |
| 373 | parameter filename to fullname. Document returned string meaning for |
| 374 | find_symbol_file. |
| 375 | * symtab.c (find_line_symtab): Rename the called function to |
| 376 | expand_symtabs_with_fullname. |
| 377 | |
| 378 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 379 | |
| 380 | Code cleanup. |
| 381 | * breakpoint.c (clear_command): Remove variable is_abs, unify the |
| 382 | call of filename_cmp with compare_filenames_for_search. |
| 383 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable |
| 384 | is_abs, unify the call of FILENAME_CMP with |
| 385 | compare_filenames_for_search. New gdb_asserts for real_path and name. |
| 386 | Unify the call of compare_filenames_for_search with FILENAME_CMP. |
| 387 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. |
| 388 | * symfile.h (struct quick_symbol_functions): Extend the comment for |
| 389 | map_symtabs_matching_filename. |
| 390 | * symtab.c (compare_filenames_for_search): Remove the function comment |
| 391 | relative path requirement. Handle absolute filenames, with a comment. |
| 392 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of |
| 393 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for |
| 394 | real_path and name. Unify the call of compare_filenames_for_search |
| 395 | with FILENAME_CMP. |
| 396 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. |
| 397 | |
| 398 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 399 | |
| 400 | Code cleanup. |
| 401 | * breakpoint.c (print_breakpoint_location): Replace bp_location field |
| 402 | source_file references by symtab field references. Remove variables |
| 403 | sal and fullname. |
| 404 | (momentary_breakpoint_from_master, add_location_to_breakpoint): |
| 405 | (clear_command, say_where): Replace bp_location field source_file |
| 406 | references by symtab field references. |
| 407 | (bp_location_dtor): Remove the source_file reference. |
| 408 | (update_static_tracepoint): Replace bp_location field source_file |
| 409 | references by symtab field references. |
| 410 | (breakpoint_free_objfile): New function. |
| 411 | * breakpoint.h (struct bp_location): Extend the comment for line_number. |
| 412 | Replace the field source_file by field symtab, extend its comment. |
| 413 | (breakpoint_free_objfile): New declaration. |
| 414 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. |
| 415 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location |
| 416 | field source_file references by symtab field references. |
| 417 | |
| 418 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 419 | |
| 420 | Replace xfullpath calls by gdb_realpath calls. |
| 421 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the |
| 422 | function comment. |
| 423 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. |
| 424 | Remove it from the iterate_over_some_symtabs call. |
| 425 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. |
| 426 | Remove it from the dw2_map_expand_apply calls, remove a block handling |
| 427 | it. |
| 428 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. |
| 429 | Remove it from the iterate_over_some_symtabs call. |
| 430 | (partial_map_symtabs_matching_filename): Remove parameter full_path. |
| 431 | Remove it from the partial_map_expand_apply calls, remove a block |
| 432 | handling it. Drop gdb_realpath call and cleanups from the real_path |
| 433 | handling. |
| 434 | * source.c (openp): Drop the comment part about xfullpath. Replace |
| 435 | xfullpath calls by gdb_realpath calls. |
| 436 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. |
| 437 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path |
| 438 | from method map_symtabs_matching_filename and its comment. |
| 439 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by |
| 440 | gdb_realpath call. |
| 441 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, |
| 442 | remove it also from the function comment, remove a block handling it. |
| 443 | Drop gdb_realpath call and cleanups from the real_path handling. |
| 444 | (iterate_over_symtabs): Drop variable full_path and its use. |
| 445 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. |
| 446 | * utils.c (xfullpath): Remove. |
| 447 | * utils.h (xfullpath): Remove. |
| 448 | |
| 449 | 2013-02-01 Andreas Tobler <andreast@fgznet.ch> |
| 450 | |
| 451 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. |
| 452 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. |
| 453 | (ALLDEPFILES): Add ppc64-tdep.c. |
| 454 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add |
| 455 | ppc64-tdep.o to gdb_target_obs. |
| 456 | * ppc64-tdep.h: New file. |
| 457 | * ppc64-tdep.c: New file. |
| 458 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from |
| 459 | ppc-linux-tdep.c to here. |
| 460 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) |
| 461 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. |
| 462 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) |
| 463 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move |
| 464 | from ppc-linux-tdep.c to here. |
| 465 | (ppc64_convert_from_func_ptr_addr): Rename from |
| 466 | ppc64_linux_convert_from_func_ptr_addr to |
| 467 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to |
| 468 | here. |
| 469 | * rs6000-tdep.c: |
| 470 | (read_insn): Move from ppc-linux-tdep.c to here. |
| 471 | (insns_match_pattern, insn_d_field, insn_ds_field): Move |
| 472 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. |
| 473 | * ppc-linux-tdep.c: Include ppc64-tdep.h. |
| 474 | Removed above functions. |
| 475 | (ppc_linux_init_abi): Adjust. |
| 476 | |
| 477 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 478 | |
| 479 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. |
| 480 | |
| 481 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 482 | |
| 483 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. |
| 484 | |
| 485 | 2013-02-01 Pedro Alves <palves@redhat.com> |
| 486 | |
| 487 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. |
| 488 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. |
| 489 | |
| 490 | 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 491 | |
| 492 | * elfread.c (elf_symfile_read): Limit separate debug info additions to |
| 493 | files with no separate debug info. |
| 494 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. |
| 495 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section |
| 496 | only for files with no separate debug info. |
| 497 | |
| 498 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 499 | |
| 500 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; |
| 501 | change type. |
| 502 | (struct jit_program_space_data): Rename from jit_inferior_data. |
| 503 | Update comments. |
| 504 | (get_jit_program_space_data): Rename from get_jit_inferior_data. |
| 505 | Change return type. Attach data to program space. |
| 506 | (jit_program_space_data_cleanup): Rename from |
| 507 | jit_inferior_data_cleanup; change argument type. |
| 508 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', |
| 509 | change type. |
| 510 | (jit_register_code): Update. |
| 511 | (jit_update_inferior_cache): Remove. |
| 512 | (jit_breakpoint_deleted): Get jit data from the location's program |
| 513 | space. |
| 514 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to |
| 515 | 'ps_data', change type. |
| 516 | (jit_inferior_init, jit_breakpoint_re_set_internal) |
| 517 | (jit_event_handler): Update. |
| 518 | (free_objfile_data): Get data from objfile's program space. |
| 519 | (_initialize_jit): Update. |
| 520 | |
| 521 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 522 | |
| 523 | PR gdb/13987: |
| 524 | * jit.c (struct jit_inferior_data) <cached_code_address, |
| 525 | jit_breakpoint>: New fields. |
| 526 | (jit_breakpoint_re_set_internal): Fix logging. Only create |
| 527 | breakpoint if cached address has changed. |
| 528 | (jit_update_inferior_cache, jit_breakpoint_deleted): New |
| 529 | functions. |
| 530 | (_initialize_jit): Register breakpoint deleted observer. |
| 531 | |
| 532 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 533 | |
| 534 | * infrun.c (handle_syscall_event): Remove unused gdbarch. |
| 535 | (save_infcall_suspend_state): Ifdef out unused inf. |
| 536 | (restore_infcall_suspend_state): Ifdef out unused inf. |
| 537 | * jit.c (jit_register_code): Remove unused i, b, inf_data. |
| 538 | (jit_frame_sniffer): Remove unused inf_data. |
| 539 | |
| 540 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 541 | |
| 542 | * c-exp.y (classify_inner_name): Remove unused type. |
| 543 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, |
| 544 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, |
| 545 | need_escape. |
| 546 | (c_get_string): Remove unused kind. |
| 547 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. |
| 548 | |
| 549 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 550 | |
| 551 | * charset.c (intermediate_encoding): Remove unused i. |
| 552 | * completer.c (signal_completer): Remove unused i. |
| 553 | * continuations.c (discard_my_continuations_1): Remove unused |
| 554 | continuation_ptr. |
| 555 | * corelow.c (core_close): Remove unuseD name. |
| 556 | (get_core_siginfo): Remove unused pid. |
| 557 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused |
| 558 | i, cps. |
| 559 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. |
| 560 | (loclist_describe_location): Remove unused first. |
| 561 | * event-top.c (command_line_handler): Remove unused got_eof. |
| 562 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. |
| 563 | (resize_section_table): Remove unused old_value. |
| 564 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. |
| 565 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. |
| 566 | * i386-tdep.c (i386_process_record): Remove unused rex. |
| 567 | * infcmd.c (get_return_value): Remove unused uiout. |
| 568 | * jv-lang.c (type_from_class): Remove unused is_array. |
| 569 | * jv-valprint.c (java_val_print): Remove unused i. |
| 570 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. |
| 571 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. |
| 572 | * m2-typeprint.c (m2_print_type): Remove unused code. |
| 573 | * macroexp.c (get_character_constant): Remove unused body_start. |
| 574 | (macro_stringify): Remove unused result. |
| 575 | * objc-lang.c (find_methods): Remove unused gdbarch. |
| 576 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. |
| 577 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. |
| 578 | * stack.c (print_frame_args): Remove unused summary. |
| 579 | * thread.c (thread_apply_command): Remove unused p. |
| 580 | * valarith.c (value_x_unop): Remove unused mangle_ptr. |
| 581 | * valops.c (search_struct_method): Remove unused skip. |
| 582 | * valprint.c (generic_val_print): Remove unused byte_order. |
| 583 | * varobj.c (varobj_update): Remove unused changed. |
| 584 | * cli/cli-cmds.c (complete_command): Remove unused next_item. |
| 585 | (alias_command): Remove unused c. |
| 586 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. |
| 587 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused |
| 588 | format. |
| 589 | (mi_cmd_data_write_memory): Remove unused word_format. |
| 590 | (mi_cmd_data_write_memory_bytes): Remove unused r. |
| 591 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused |
| 592 | p_start, p_end. |
| 593 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. |
| 594 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused |
| 595 | line_width. |
| 596 | |
| 597 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 598 | |
| 599 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. |
| 600 | * symtab.c (iterate_over_symtabs): Remove unused s. |
| 601 | (find_pc_sect_symtab): Remove unused pspAce. |
| 602 | (find_pc_sect_line): Remove unused alt_symtab. |
| 603 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. |
| 604 | (completion_list_add_name): Remove unused newsize. |
| 605 | |
| 606 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 607 | |
| 608 | PR c++/14998: |
| 609 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle |
| 610 | TYPE_CODE_FUNC. |
| 611 | |
| 612 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 613 | |
| 614 | * target.c (target_read_string): Remove unused origlen. |
| 615 | |
| 616 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 617 | |
| 618 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. |
| 619 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. |
| 620 | * ax-general.c (ax_print): Remove unused is_float. |
| 621 | * blockframe.c (block_innermost_frame): Remove unused start, end. |
| 622 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. |
| 623 | |
| 624 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 625 | |
| 626 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. |
| 627 | (svr4_read_so_list): Remove unused lmo. |
| 628 | * solib-target.c (solib_target_relocate_section_addresses): Remove |
| 629 | unused flags. |
| 630 | |
| 631 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 632 | |
| 633 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". |
| 634 | |
| 635 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 636 | |
| 637 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. |
| 638 | * utils.c (gnu_debuglink_crc32): Remove. |
| 639 | * utils.h (gnu_debuglink_crc32): Don't declare. |
| 640 | |
| 641 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 642 | |
| 643 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) |
| 644 | (read_structure_type, read_enumeration_type): Remove cast. |
| 645 | |
| 646 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 647 | |
| 648 | * dwarf2read.c (read_namespace_type): Remove cast. |
| 649 | (read_typedef): Likewise. |
| 650 | |
| 651 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
| 652 | |
| 653 | * dwarf2read.c (free_dwo_file): Remove assert. |
| 654 | |
| 655 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
| 656 | |
| 657 | * value.c (deprecated_set_value_modifiable): Remove. |
| 658 | * value.h (deprecated_set_value_modifiable): Remove. |
| 659 | |
| 660 | 2013-01-28 Doug Evans <dje@google.com> |
| 661 | |
| 662 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address |
| 663 | to addresses from dwo files. |
| 664 | |
| 665 | 2013-01-25 Siva Chandra Reddy <sivachandra@google.com> |
| 666 | |
| 667 | * valops.c (find_overload_match): Remove unused argument 'lax'. |
| 668 | * value.h: Remove unused argument 'lax' from the declaration of |
| 669 | find_overload_match. |
| 670 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument |
| 671 | to find_overload_match. |
| 672 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' |
| 673 | argument to find_overload_match. |
| 674 | |
| 675 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 676 | |
| 677 | * dwarf2read.c (processing_has_namespace_info): Remove. |
| 678 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. |
| 679 | (process_die, read_func_scope, dwarf2_start_symtab) |
| 680 | (new_symbol_full): Update. |
| 681 | |
| 682 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 683 | |
| 684 | * cp-namespace.c (cp_set_block_scope): Remove. |
| 685 | * cp-support.h (cp_set_block_scope): Remove. |
| 686 | * dbxread.c: Include block.h. |
| 687 | (cp_set_block_scope): New function. |
| 688 | (process_one_symbol): Update. |
| 689 | * dwarf2read.c (read_func_scope): Use block_set_scope. |
| 690 | |
| 691 | 2013-01-25 Pedro Alves <palves@redhat.com> |
| 692 | |
| 693 | * remote.c (add_current_inferior_and_thread): Tweak comment. |
| 694 | |
| 695 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 696 | |
| 697 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. |
| 698 | (cp_add_using_directive): Add 'copy_names' argument. |
| 699 | * cp-support.h (cp_add_using_directive): Update. |
| 700 | (struct using_direct) <import_src, import_dest, alias, |
| 701 | declaration>: Now const. |
| 702 | * dwarf2read.c (read_import_statement): Use obconcat. |
| 703 | Don't copy names passed to cp_add_using_directive. |
| 704 | |
| 705 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 706 | |
| 707 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. |
| 708 | |
| 709 | 2013-01-25 Pedro Alves <palves@redhat.com> |
| 710 | |
| 711 | * remote.c (stop_reply_extract_thread): New. |
| 712 | (add_current_inferior_and_thread): New parameter 'wait_status'. |
| 713 | Handle it. |
| 714 | (remote_start_remote): Pass wait status to |
| 715 | add_current_inferior_and_thread. |
| 716 | (extended_remote_run): Update comment. |
| 717 | (extended_remote_create_inferior_1): Pass wait status to |
| 718 | add_current_inferior_and_thread. |
| 719 | |
| 720 | 2013-01-25 Andrew Burgess <aburgess@broadcom.com> |
| 721 | Ulrich Weigand <uweigand@de.ibm.com> |
| 722 | |
| 723 | * valarith.c (value_vector_widen): New function for replicating a |
| 724 | scalar into a vector. |
| 725 | (value_binop): Use value_vector_widen to widen scalar to vector |
| 726 | rather than casting, this better matches gcc C behaviour. |
| 727 | * valops.c (value_casst): Update logic for casting between vector |
| 728 | types, and for casting from scalar to vector, try to match gcc C |
| 729 | behaviour. |
| 730 | * value.h (value_vector_widen): Declare. |
| 731 | * opencl-lang.c (opencl_value_cast): New opencl specific casting |
| 732 | function, handle special case for casting scalar to vector. |
| 733 | (opencl_relop): Use opencl_value_cast. |
| 734 | (evaluate_subexp_opencl): Use opencl_value_cast instead of |
| 735 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE |
| 736 | in order to use opencl_value_cast. |
| 737 | |
| 738 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 739 | |
| 740 | * event-loop.c: Include "queue.h". |
| 741 | (gdb_event_p): New typedef. |
| 742 | (DECLARE_QUEUE_P): Use. |
| 743 | (DEFINE_QUEUE_P): Use. |
| 744 | (async_queue_event): Remove. |
| 745 | (gdb_event_xfree): New. |
| 746 | (initialize_event_loop): New. |
| 747 | (process_event): Use QUEUE macros. |
| 748 | (event_queue): Remove. |
| 749 | (gdb_wait_for_event): Caller update. |
| 750 | (check_async_event_handlers): Likewise. |
| 751 | (poll_timers): Likewise. |
| 752 | * event-loop.h (initialize_event_loop): Declare. |
| 753 | * event-loop.c (gdb_event_xfree): New. |
| 754 | * top.c (gdb_init): Call initialize_event_loop. |
| 755 | |
| 756 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 757 | |
| 758 | * event-loop.c (async_queue_event): Remove one parameter |
| 759 | 'position'. Remove code handling 'position' == TAIL. |
| 760 | (gdb_wait_for_event): Caller update. |
| 761 | (check_async_event_handlers): Caller update. |
| 762 | (poll_timers): Caller update. |
| 763 | * event-loop.h (enum queue_position): Remove. |
| 764 | |
| 765 | 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com> |
| 766 | |
| 767 | * MAINTAINERS: Update my email. |
| 768 | |
| 769 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 770 | |
| 771 | * main.c (print_gdb_help): Remove "--epoch" from the help |
| 772 | message. |
| 773 | |
| 774 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
| 775 | |
| 776 | * symtab.c (skip_prologue_using_sal): Consider a file |
| 777 | change the same as an increased line number |
| 778 | |
| 779 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
| 780 | |
| 781 | * MAINTAINERS (Write After Approval): Add myself to the list. |
| 782 | |
| 783 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
| 784 | |
| 785 | * ada-lang.h (ada_decode_symbol): Make return type const. |
| 786 | * ada-lang.c (ada_decode_symbol): Likewise. |
| 787 | |
| 788 | 2013-01-23 Doug Evans <dje@google.com> |
| 789 | |
| 790 | * linespec.c (find_linespec_symbols): Make static. |
| 791 | |
| 792 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
| 793 | |
| 794 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct |
| 795 | type on float conversion for complex type. |
| 796 | |
| 797 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
| 798 | |
| 799 | Add a new class gdb.Architecture which exposes GDB's |
| 800 | internal representation of architecture via GDB Python API. |
| 801 | * Makefile.in: Add entries corresponding to the new file |
| 802 | python/py-arch.c. |
| 803 | * NEWS (Python Scripting): Add entries for the new class |
| 804 | gdb.Architecture and the new method gdb.Frame.architecture. |
| 805 | * python/py-arch.c: Implement gdb.Architecture class. |
| 806 | * python/py-frame.c (frapy_arch): Implement the method |
| 807 | gdb.Frame.architecture(). |
| 808 | (frame_object_methods): Add 'architecture' to the method table. |
| 809 | * python/python-internal.h: Add declarations of new utility |
| 810 | functions. |
| 811 | * python/python.c (_initialize_python): Initialize |
| 812 | gdb.Architecture class. |
| 813 | |
| 814 | 2013-01-23 Doug Evans <dje@google.com> |
| 815 | |
| 816 | Work around binutils/15021. |
| 817 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and |
| 818 | type_unit_group out of union s. All uses updated. |
| 819 | (read_index_from_section): Watch for index version 8. |
| 820 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as |
| 821 | an imported symtab. |
| 822 | (write_psymtabs_to_index): Increment version number to 8. |
| 823 | |
| 824 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 825 | |
| 826 | * annotate.c (breakpoint_changed): Skip if breakpoint is not |
| 827 | user-visible. |
| 828 | |
| 829 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 830 | |
| 831 | * annotate.c (annotate_breakpoints_changed): Rename to ... |
| 832 | (annotate_breakpoints_invalid): ... this. Make static. |
| 833 | (breakpoint_changed): Adjust. |
| 834 | (_initialize_annotate): Always install the observers. Install a |
| 835 | "breakpoint_created" observer. |
| 836 | * annotate.h (annotate_breakpoints_changed): Delete declaration. |
| 837 | * breakpoint.c (set_breakpoint_condition) |
| 838 | (breakpoint_set_commands, do_map_commands_command) |
| 839 | (init_raw_breakpoint, clear_command, set_ignore_count) |
| 840 | (enable_breakpoint_disp): No longer call |
| 841 | annotate_breakpoints_changed. |
| 842 | |
| 843 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 844 | |
| 845 | * annotate.c: Include "inferior.h". |
| 846 | (frames_invalid_emitted) |
| 847 | (breakpoints_invalid_emitted): New globals. |
| 848 | (async_background_execution_p): New function. |
| 849 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip |
| 850 | emitting the annotation if it has already been emitted. |
| 851 | (annotate_display_prompt): New function. |
| 852 | * annotate.h (annotate_display_prompt): New declaration. |
| 853 | * event-top.c: Include annotate.h. |
| 854 | (display_gdb_prompt): Call annotate_display_prompt. |
| 855 | |
| 856 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 857 | |
| 858 | * annotate.c (ignore_count_changed): Delete. |
| 859 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. |
| 860 | (annotate_ignore_count_change): Delete. |
| 861 | (annotate_stopped): Don't emit a delayed breakpoints-changed |
| 862 | annotation. |
| 863 | * annotate.h (annotate_ignore_count_change): Delete. |
| 864 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call |
| 865 | annotate_ignore_count_change. |
| 866 | |
| 867 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
| 868 | |
| 869 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only |
| 870 | require_rvalue for a register location. |
| 871 | |
| 872 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
| 873 | |
| 874 | * breakpoint.c (print_one_breakpoint_location): Add MI |
| 875 | field 'thread-groups' when printing a breakpoint. |
| 876 | (output_thread_groups): New function. |
| 877 | |
| 878 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
| 879 | |
| 880 | * python/lib/gdb/commands/explore.py |
| 881 | (CompoundExplorer.explore_expr): Correct the name of a method |
| 882 | being invoked. |
| 883 | (ExploreTypeCommand.invoke): Add a missing 'return'. |
| 884 | |
| 885 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 886 | |
| 887 | * gdb_obstack.h (obconcat): Move declaration here, from... |
| 888 | * symfile.h (obconcat): ... here. |
| 889 | * gdb_obstack.c: New file. |
| 890 | (obconcat): Move from... |
| 891 | * symfile.c (obconcat): ... here. |
| 892 | * Makefile.in (SFILES): Add gdb_obstack.c. |
| 893 | (COMMON_OBS): Add gdb_obstack.o. |
| 894 | |
| 895 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 896 | |
| 897 | * symfile.h (obsavestring): Don't declare. |
| 898 | * symfile.c (obsavestring): Remove. |
| 899 | * ada-exp.y: Use obstack_copy0, not obsavestring. |
| 900 | * ada-lang.c: Use obstack_copy0, not obsavestring. |
| 901 | * coffread.c: Use obstack_copy0, not obsavestring. |
| 902 | * cp-namespace.c: Use obstack_copy0, not obsavestring. |
| 903 | * dbxread.c: Use obstack_copy0, not obsavestring. |
| 904 | * dwarf2read.c: Use obstack_copy0, not obsavestring. |
| 905 | * jit.c: Use obstack_copy0, not obsavestring. |
| 906 | * mdebugread.c: Use obstack_copy0, not obsavestring. |
| 907 | * psymtab.c: Use obstack_copy0, not obsavestring. |
| 908 | * stabsread.c: Use obstack_copy0, not obsavestring. |
| 909 | * xcoffread.c: Use obstack_copy0, not obsavestring. |
| 910 | |
| 911 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 912 | |
| 913 | * dwarf2read.c (fixup_go_packaging): Save package name |
| 914 | on objfile obstack. |
| 915 | * gdbtypes.c (init_type): Don't copy name. |
| 916 | |
| 917 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 918 | |
| 919 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now |
| 920 | const. |
| 921 | (struct attribute) <u.str>: Now const. |
| 922 | (struct fnfieldlist) <name>: Now const. |
| 923 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. |
| 924 | (partial_die_parent_scope): Make return type const. |
| 925 | (partial_die_full_name, add_partial_symbol): Update. |
| 926 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make |
| 927 | 'name' const. |
| 928 | (find_file_and_directory): Make 'name' and 'comp_dir' const. |
| 929 | (read_file_scope, read_func_scope, dwarf2_add_field) |
| 930 | (dwarf2_add_member_fn, read_structure_type) |
| 931 | (process_enumeration_scope, read_array_type, read_module_type) |
| 932 | (read_base_type, read_subrange_type): Update. |
| 933 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. |
| 934 | (new_symbol_full, guess_full_die_structure_name): Update. |
| 935 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. |
| 936 | (dwarf2_name): Return const type. |
| 937 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' |
| 938 | const. |
| 939 | |
| 940 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 941 | |
| 942 | * gdbtypes.c (init_type): Make 'name' const. |
| 943 | * gdbtypes.h (init_type): Update. |
| 944 | |
| 945 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 946 | |
| 947 | * buildsym.c (patch_subfile_names): Use set_last_source_file. |
| 948 | (start_symtab): Make 'name' and 'dirname' const. Use |
| 949 | set_last_source_file. |
| 950 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. |
| 951 | (last_source_file): Define. Now static. |
| 952 | (set_last_source_file, get_last_source_file): New functions. |
| 953 | * buildsym.h (last_source_file): Don't declare. |
| 954 | (start_symtab): Update. |
| 955 | (set_last_source_file, get_last_source_file): Declare. |
| 956 | * coffread.c (complete_symtab): Use set_last_source_file. |
| 957 | (coff_end_symtab): Likewise. |
| 958 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. |
| 959 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use |
| 960 | set_last_source_file. |
| 961 | (process_one_symbol): Use get_last_source_file. |
| 962 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. |
| 963 | (psymtab_to_symtab_1): Use get_last_source_file. |
| 964 | * xcoffread.c (process_linenos): Use get_last_source_file. |
| 965 | (complete_symtab): Use set_last_source_file. |
| 966 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. |
| 967 | (scan_xcoff_symtab): Use set_last_source_file. |
| 968 | |
| 969 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 970 | |
| 971 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. |
| 972 | (symbol_set_names): Remove casts. Handle field const-ness. |
| 973 | |
| 974 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 975 | |
| 976 | * dwarf2read.c (new_symbol_full): Remove cast. |
| 977 | * symtab.c (symbol_set_demangled_name): Make 'name' const. |
| 978 | * symtab.h (symbol_set_demangled_name): Update. |
| 979 | |
| 980 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 981 | |
| 982 | * main.c (captured_main): Call bfd_init. |
| 983 | |
| 984 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 985 | |
| 986 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. |
| 987 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. |
| 988 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. |
| 989 | * NEWS: Update. |
| 990 | |
| 991 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 992 | |
| 993 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. |
| 994 | |
| 995 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 996 | |
| 997 | Fix gdb.fortran/common-block.exp crash in PIE mode. |
| 998 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use |
| 999 | LOC_COMMON_BLOCK. |
| 1000 | * f-valprint.c (info_common_command_for_block): Expect |
| 1001 | LOC_COMMON_BLOCK in gdb_assert. |
| 1002 | * symtab.h (struct general_symbol_info): Update comment for the |
| 1003 | common_block member. |
| 1004 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. |
| 1005 | (enum address_class): New member LOC_COMMON_BLOCK. |
| 1006 | |
| 1007 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
| 1008 | |
| 1009 | * MAINTAINERS (Write After Approval): Add "David Blaikie". |
| 1010 | |
| 1011 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
| 1012 | |
| 1013 | PR c++/14999: |
| 1014 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: |
| 1015 | Call require_rvalue. |
| 1016 | |
| 1017 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
| 1018 | |
| 1019 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. |
| 1020 | (dbx_read_symtab): New declaration. |
| 1021 | (dbx_psymtab_to_symtab): Delete. |
| 1022 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. |
| 1023 | Rename parameter PST to SELF. Exchanged two parameters. |
| 1024 | (start_psymtab): Caller update. |
| 1025 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. |
| 1026 | (dwarf2_read_symtab): New declaration. |
| 1027 | (dwarf2_psymtab_to_symtab): Delete. |
| 1028 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. |
| 1029 | Rename parameter PST to SELF. Exchanged two parameters. |
| 1030 | (create_partial_symtab): Caller update. |
| 1031 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. |
| 1032 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. |
| 1033 | Rename parameter PST to SELF. Exchanged two parameters. |
| 1034 | (parse_partial_symbols, new_psymtab): Caller update. |
| 1035 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange |
| 1036 | two parameters. |
| 1037 | * psymtab.c (psymtab_to_symtab): Caller update. |
| 1038 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. |
| 1039 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. |
| 1040 | Rename parameter PST to SELF. Exchanged two parameters. |
| 1041 | (xcoff_start_psymtab): Caller update. |
| 1042 | |
| 1043 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
| 1044 | |
| 1045 | * infrun.c (proceed): Rename local variable 'oneproc' to |
| 1046 | 'force_step'. |
| 1047 | |
| 1048 | 2013-01-17 Doug Evans <dje@google.com> |
| 1049 | |
| 1050 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
| 1051 | (dw2_build_type_unit_groups): Delete. All uses updated. |
| 1052 | |
| 1053 | * symtab.h (struct symbol_search): Add comment. |
| 1054 | |
| 1055 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1056 | |
| 1057 | * symtab.c (compare_filenames_for_search): New comment for |
| 1058 | HAS_DRIVE_SPEC. |
| 1059 | |
| 1060 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 1061 | |
| 1062 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. |
| 1063 | |
| 1064 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1065 | |
| 1066 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, |
| 1067 | initialize it by existing make_cleanup. Call new do_cleanups. |
| 1068 | |
| 1069 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 1070 | |
| 1071 | * cp-abi.c (cp_abi_completer): New function. |
| 1072 | (_initialize_cp_abi): Set completer for "set cp-abi". |
| 1073 | |
| 1074 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 1075 | |
| 1076 | * mem-break.c: Remove obsolete comment. |
| 1077 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. |
| 1078 | |
| 1079 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
| 1080 | |
| 1081 | * jit.c (jit_reader_load_command): Interpret the jit reader name |
| 1082 | as an absolute path if it begins with a forward slash. |
| 1083 | |
| 1084 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
| 1085 | |
| 1086 | PR gdb/14550 |
| 1087 | |
| 1088 | * jit.c (finalize_symtab): Ensure that only the global block has a |
| 1089 | NULL superblock. |
| 1090 | |
| 1091 | 2013-01-17 Pedro Alves <palves@redhat.com> |
| 1092 | |
| 1093 | * acinclude.m4: Include ../config/plugins.m4, |
| 1094 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. |
| 1095 | * Makefile.in (aclocal_m4_deps): Update. |
| 1096 | * aclocal.m4: Renegerate. |
| 1097 | |
| 1098 | 2013-01-16 Doug Evans <dje@google.com> |
| 1099 | |
| 1100 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. |
| 1101 | |
| 1102 | 2013-01-16 Pedro Alves <palves@redhat.com> |
| 1103 | Tom Tromey <tromey@redhat.com> |
| 1104 | |
| 1105 | PR cli/7221: |
| 1106 | * NEWS: Add "catch signal". |
| 1107 | * breakpoint.c (base_breakpoint_ops): No longer static. |
| 1108 | (bpstat_explains_signal): New function. |
| 1109 | (init_catchpoint): No longer static. |
| 1110 | (base_breakpoint_explains_signal): New function. |
| 1111 | (base_breakpoint_ops): Initialize new field. |
| 1112 | * breakpoint.h (enum bpstat_signal_value): New. |
| 1113 | (struct breakpoint_ops) <explains_signal>: New field. |
| 1114 | (bpstat_explains_signal): Remove macro, declare as function. |
| 1115 | (base_breakpoint_ops, init_catchpoint): Declare. |
| 1116 | * break-catch-sig.c: New file. |
| 1117 | * inferior.h (signal_catch_update): Declare. |
| 1118 | * infrun.c (signal_catch): New global. |
| 1119 | (handle_syscall_event): Update for change to |
| 1120 | bpstat_explains_signal. |
| 1121 | (handle_inferior_event): Likewise. Always handle random signals |
| 1122 | via bpstats. |
| 1123 | (signal_cache_update): Check signal_catch. |
| 1124 | (signal_catch_update): New function. |
| 1125 | (_initialize_infrun): Initialize signal_catch. |
| 1126 | * Makefile.in (SFILES): Add break-catch-sig.c. |
| 1127 | (COMMON_OBS): Add break-catch-sig.o. |
| 1128 | |
| 1129 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
| 1130 | |
| 1131 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) |
| 1132 | (print_one_catch_solib, print_one_catch_syscall) |
| 1133 | (print_one_catch_exec, print_one_exception_catchpoint): Emit |
| 1134 | "catch-type". |
| 1135 | |
| 1136 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
| 1137 | |
| 1138 | * printcmd.c (current_display_number): Make it static. |
| 1139 | |
| 1140 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
| 1141 | |
| 1142 | * infcmd.c (step_once): Don't check '!single_inst' as it was |
| 1143 | checked before. |
| 1144 | |
| 1145 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1146 | |
| 1147 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. |
| 1148 | |
| 1149 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 1150 | |
| 1151 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the |
| 1152 | set command. |
| 1153 | * command.h (add_setshow_string_noescape_cmd): Update. |
| 1154 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. |
| 1155 | (complete_set_gnutarget): New function. |
| 1156 | (_initialize_core): Set the "set gnutarget" completer. |
| 1157 | |
| 1158 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 1159 | |
| 1160 | PR symtab/14442: |
| 1161 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. |
| 1162 | (c_type_print_modifier): Likewise. |
| 1163 | * dwarf2read.c (read_tag_restrict_type): New function. |
| 1164 | (read_type_die_1): Handle DW_TAG_restrict_type. |
| 1165 | * gdbtypes.c (make_restrict_type): New function. |
| 1166 | (recursive_dump_type): Handle TYPE_RESTRICT. |
| 1167 | * gdbtypes.h (enum type_flag_values): Renumber. |
| 1168 | (enum type_instance_flag_value): Add |
| 1169 | TYPE_INSTANCE_FLAG_RESTRICT. |
| 1170 | (TYPE_RESTRICT): New macro. |
| 1171 | (make_restrict_type): Declare. |
| 1172 | |
| 1173 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 1174 | |
| 1175 | PR symtab/14931: |
| 1176 | * psymtab.c (struct psymtab_state): New. |
| 1177 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New |
| 1178 | functions. |
| 1179 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. |
| 1180 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. |
| 1181 | |
| 1182 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
| 1183 | Pedro Alves <palves@redhat.com> |
| 1184 | |
| 1185 | PR remote/14786 |
| 1186 | |
| 1187 | * remote.c (remote_threads_info): Make a copy of the reply from |
| 1188 | qfThreadInfo and use that instead of rs->buf. |
| 1189 | |
| 1190 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
| 1191 | |
| 1192 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. |
| 1193 | (dbx_psymtab_to_symtab): Likewise. |
| 1194 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. |
| 1195 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. |
| 1196 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. |
| 1197 | |
| 1198 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1199 | |
| 1200 | * parse.c (parse_exp_in_context): New variable inner_chain. Call |
| 1201 | make_cleanup_restore_current_language. Call set_language. Move |
| 1202 | OLD_CHAIN and INNER_CHAIN cleanups. |
| 1203 | * utils.c (do_restore_current_language) |
| 1204 | (make_cleanup_restore_current_language): New functions. |
| 1205 | * utils.h (make_cleanup_restore_current_language): New declaration. |
| 1206 | |
| 1207 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1208 | |
| 1209 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for |
| 1210 | non-existing files. |
| 1211 | |
| 1212 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
| 1213 | non-existing files if FILENAME is already absolute. |
| 1214 | |
| 1215 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1216 | |
| 1217 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of |
| 1218 | fputs_filtered. Append trailing newline. |
| 1219 | |
| 1220 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
| 1221 | Stan Shebs <stan@codesourcery.com> |
| 1222 | |
| 1223 | * psymtab.c (init_psymbol_list): Clarify the comment. |
| 1224 | |
| 1225 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
| 1226 | |
| 1227 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. |
| 1228 | (update_dprintf_command_list): Assert that 'printf_line' is |
| 1229 | non-null. Remove condition check. |
| 1230 | |
| 1231 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1232 | |
| 1233 | Code cleanup. |
| 1234 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return |
| 1235 | type const char *. |
| 1236 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname |
| 1237 | const char *. |
| 1238 | * tui/tui-source.h (tui_source_is_displayed): Likewise. |
| 1239 | |
| 1240 | 2013-01-09 Anthony Green <green@moxielogic.com> |
| 1241 | |
| 1242 | * cp-abi.c (cplus_print_vtable): Don't return value from void |
| 1243 | function. |
| 1244 | * ada-lang.c (re_set_catch_assert): Ditto. |
| 1245 | |
| 1246 | 2013-01-09 Doug Evans <dje@google.com> |
| 1247 | |
| 1248 | * symfile.h (quick_symbol_functions): Delete member |
| 1249 | pre_expand_symtabs_matching. All uses removed. |
| 1250 | * dwarf2read.c (dw2_lookup_symbol): Implement. |
| 1251 | (dw2_do_expand_symtabs_matching): Delete. |
| 1252 | (dw2_pre_expand_symtabs_matching): Delete. |
| 1253 | (struct dw2_symtab_iterator): New type. |
| 1254 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. |
| 1255 | (dw2_expand_symtabs_for_function): Rewrite. |
| 1256 | (dwarf2_gdb_index_functions): Update. |
| 1257 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. |
| 1258 | (psym_functions): Update. |
| 1259 | |
| 1260 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
| 1261 | |
| 1262 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. |
| 1263 | * configure: Rebuild. |
| 1264 | * configure.ac: Add somread.o to the build if BFD has SOM |
| 1265 | support. |
| 1266 | * somread.c: Include som/aout.h, not syms.h. |
| 1267 | (som_symtab_read): Use som_external_symbol_dictionary_record. |
| 1268 | Unpack records manually. |
| 1269 | (_initialize_somread): Declare. |
| 1270 | |
| 1271 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
| 1272 | |
| 1273 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: |
| 1274 | Cast return_address to 64bits. |
| 1275 | |
| 1276 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
| 1277 | |
| 1278 | * printcmd.c: Remove define of function output_command. |
| 1279 | * tracepoint.c: Remove extern of function output_command. |
| 1280 | * valprint.h: (output_command): New extern. |
| 1281 | |
| 1282 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
| 1283 | |
| 1284 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): |
| 1285 | Remove. |
| 1286 | (objc_language_defn): Use c_printchar, c_printstr, |
| 1287 | c_emit_char. |
| 1288 | |
| 1289 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
| 1290 | |
| 1291 | PR cli/7719: |
| 1292 | * NEWS: Update. |
| 1293 | * ada-valprint.c (printstr, print_field_values): Remove |
| 1294 | "inspect_it" code. |
| 1295 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" |
| 1296 | code. |
| 1297 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" |
| 1298 | code. |
| 1299 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. |
| 1300 | * main.c (captured_main): Remove "epoch" argument. |
| 1301 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. |
| 1302 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. |
| 1303 | * p-valprint.c (pascal_object_print_value_fields): Remove |
| 1304 | "inspect_it" code. |
| 1305 | * printcmd.c (print_command_1): Remove 'inspect' argument. |
| 1306 | (print_command, call_command): Update. |
| 1307 | (inspect_command): Remove. |
| 1308 | (_initialize_printcmd): Make "inspect" an alias for "print". |
| 1309 | * top.c (epoch_interface): Remove. |
| 1310 | * top.h (epoch_interface): Remove. |
| 1311 | * valprint.c (user_print_options): Update. |
| 1312 | (print_converted_chars_to_obstack): Remove "inspect_it" code. |
| 1313 | * valprint.h (struct value_print_options) <inspect_it>: Remove |
| 1314 | field. |
| 1315 | |
| 1316 | 2013-01-04 Tom Tromey <tromey@redhat.com> |
| 1317 | |
| 1318 | * valprint.h (read_string): Add 'extern'. |
| 1319 | |
| 1320 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
| 1321 | |
| 1322 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test |
| 1323 | used to decide whether to define darwin_read_dyld_info or not. |
| 1324 | |
| 1325 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
| 1326 | |
| 1327 | * main.c (relocate_gdb_directory): Avoid calling stat function |
| 1328 | if DIR is empty. |
| 1329 | |
| 1330 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
| 1331 | |
| 1332 | * psymtab.c (fixup_psymbol_section): Update declaration. |
| 1333 | (fixup_psymbol_section): Remove code returning value. |
| 1334 | |
| 1335 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
| 1336 | |
| 1337 | * symtab.h: Remove some out of date comments. |
| 1338 | (enum exception_event_kind): Move it ... |
| 1339 | * breakpoint.c: ... here. |
| 1340 | |
| 1341 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
| 1342 | |
| 1343 | PR gdb/14405 |
| 1344 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
| 1345 | TASK_DYLD_INFO_COUNT is defined. |
| 1346 | (darwin_xfer_partial): Call darwin_read_dyld_info only if |
| 1347 | TASK_DYLD_INFO_COUNT is defined. |
| 1348 | |
| 1349 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 1350 | |
| 1351 | * symfile.h (struct ecoff_debug_hack): Remove. |
| 1352 | * objfiles.c: Don't include mdebugread.h. |
| 1353 | |
| 1354 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 1355 | |
| 1356 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. |
| 1357 | * configure.ac: Check for Mach-O support in BFD. Update |
| 1358 | CONFIG_OBS. |
| 1359 | * configure: Rebuild. |
| 1360 | |
| 1361 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 1362 | |
| 1363 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. |
| 1364 | * configure.ac: Use GDB_AC_CHECK_BFD. |
| 1365 | * configure: Rebuild. |
| 1366 | |
| 1367 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
| 1368 | |
| 1369 | * MAINTAINERS: Update my email. |
| 1370 | |
| 1371 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1372 | |
| 1373 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. |
| 1374 | |
| 1375 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1376 | |
| 1377 | * rs6000-nat.c (bss_data_overlap): New function. |
| 1378 | (vmap_symtab): Use it to adjust the .bss section's offset. |
| 1379 | |
| 1380 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1381 | |
| 1382 | Update year range in copyright notice of all files. |
| 1383 | |
| 1384 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
| 1385 | |
| 1386 | * top.c (print_gdb_version): Update copyright year. |
| 1387 | |
| 1388 | For older changes see ChangeLog-2012. |
| 1389 | \f |
| 1390 | Local Variables: |
| 1391 | mode: change-log |
| 1392 | left-margin: 8 |
| 1393 | fill-column: 74 |
| 1394 | version-control: never |
| 1395 | coding: utf-8 |
| 1396 | End: |