| 1 | 2013-04-10 Pedro Alves <palves@redhat.com> |
| 2 | |
| 3 | * cli/cli-decode.c (integer_unlimited_completer): New function. |
| 4 | (add_setshow_integer_cmd, add_setshow_uinteger_cmd) |
| 5 | (add_setshow_zuinteger_unlimited_cmd): Install the "unlimited" |
| 6 | completer. |
| 7 | * cli/cli-setshow.c: Include "cli/cli-utils.h". |
| 8 | (is_unlimited_literal): New function. |
| 9 | (do_set_command): Handle literal "unlimited" arguments. |
| 10 | * frame.c (_initialize_frame) <set backtrace limit>: Document |
| 11 | "unlimited". |
| 12 | * printcmd.c (_initialize_printcmd) <set print |
| 13 | max-symbolic-offset>: Add help text. |
| 14 | * record-full.c (_initialize_record_full) <set record full |
| 15 | insn-number-max>: Likewise. |
| 16 | * record.c (_initialize_record) <set record |
| 17 | instruction-history-size, set record function-call-history-size>: |
| 18 | Add help text. |
| 19 | * ser-tcp.c (_initialize_ser_tcp) <set tcp connect-timeout>: Add |
| 20 | help text. |
| 21 | * tracepoint.c (_initialize_tracepoint) <set trace-buffer-size>: |
| 22 | Likewise. |
| 23 | * source.c (_initialize_source) <set listsize>: Add help text. |
| 24 | * utils.c (initialize_utils) <set height, set width>: Likewise. |
| 25 | <set pagination>: Mention "set height unlimited". |
| 26 | * valprint.c (_initialize_valprint) <set print elements, set print |
| 27 | repeats>: Document "unlimited". |
| 28 | |
| 29 | 2013-04-10 Pedro Alves <palves@redhat.com> |
| 30 | |
| 31 | * cli/cli-cmds.c (quit_command): Call query_if_trace_running |
| 32 | instead of disconnect_tracing. |
| 33 | * infcmd.c (detach_command, disconnect_command): Call |
| 34 | query_if_trace_running. Adjust. |
| 35 | * top.c: Include "tracepoint.h". |
| 36 | (quit_target): Delete. Contents moved ... |
| 37 | (quit_force): ... here. Wrap each stage of teardown in |
| 38 | TRY_CATCH. Call disconnect_tracing before detaching. |
| 39 | |
| 40 | 2013-04-10 Hui Zhu <hui@codesourcery.com> |
| 41 | Yao Qi <yao@codesourcery.com> |
| 42 | |
| 43 | * configure.ac: Check libbabeltrace is installed. |
| 44 | * config.in: Regenerate. |
| 45 | * configure: Regenerate. |
| 46 | * Makefile.in (LIBBABELTRACE): New. |
| 47 | (CLIBS): Add LIBBABELTRACE. |
| 48 | * ctf.c: Include "exec.h". |
| 49 | (CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros. |
| 50 | (CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros. |
| 51 | (ctf_save_metadata_header): Define new type aliases in |
| 52 | metadata. |
| 53 | (ctf_write_header): Define event type "tsv_def" and "tp_def" |
| 54 | in metadata. Start a new faked packet for trace status. |
| 55 | (ctf_write_status): Write trace status to CTF. |
| 56 | (ctf_write_uploaded_tsv): Write TSV to CTF. |
| 57 | (ctf_write_uploaded_tp): Write tracepoint definition to CTF. |
| 58 | (ctf_write_definition_end): End the faked packet. |
| 59 | |
| 60 | (ctx, ctf_iter, trace_dirname): New. |
| 61 | (start_pos): New variable. |
| 62 | (ctf_destroy, ctf_open_dir, ctf_open): New. |
| 63 | (SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New |
| 64 | macros. |
| 65 | (ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New. |
| 66 | (ctf_fetch_registers, ctf_xfer_partial): New. |
| 67 | (ctf_get_trace_state_variable_value): New. |
| 68 | (ctf_get_tpnum_from_frame_event): New. |
| 69 | (ctf_get_traceframe_address): New. |
| 70 | (ctf_trace_find, ctf_has_stack): New. |
| 71 | (ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New. |
| 72 | (ctf_get_trace_status, ctf_read_status): New. |
| 73 | (_initialize_ctf): New. |
| 74 | * tracepoint.c (get_tracepoint_number): New |
| 75 | (get_uploaded_tsv): Remove 'static'. |
| 76 | (struct traceframe_info, trace_regblock_size): Move it to ... |
| 77 | * tracepoint.h: ... here. |
| 78 | (get_tracepoint_number): Declare it. |
| 79 | (get_uploaded_tsv): Declare it. |
| 80 | |
| 81 | * NEWS: Mention new configure option. |
| 82 | |
| 83 | 2013-04-10 Pedro Alves <palves@redhat.com> |
| 84 | Hui Zhu <hui@codesourcery.com> |
| 85 | |
| 86 | * breakpoint.c (dprintf_re_set): New. |
| 87 | (initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set |
| 88 | to dprintf_re_set. |
| 89 | |
| 90 | 2013-04-09 Joel Brobecker <brobecker@adacore.com> |
| 91 | |
| 92 | * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>: |
| 93 | Remove solib-svr4.o from the list. |
| 94 | |
| 95 | 2013-04-09 Joel Brobecker <brobecker@adacore.com> |
| 96 | |
| 97 | * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]: |
| 98 | Use gdb_assert_not_reached instead of invalid boolean expression. |
| 99 | |
| 100 | 2013-04-09 Pedro Alves <palves@redhat.com> |
| 101 | |
| 102 | * remote.c (unpush_and_perror): New function. |
| 103 | (readchar, remote_serial_write): Use it. |
| 104 | |
| 105 | 2013-04-09 Markus Metzger <markus.t.metzger@intel.com> |
| 106 | |
| 107 | * NEWS: Mention new btrace RSP packets. |
| 108 | |
| 109 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 110 | |
| 111 | * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to |
| 112 | long. |
| 113 | |
| 114 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 115 | |
| 116 | * maint.c (print_bfd_section_info): Print the section index. |
| 117 | * symmisc.c (dump_msymbols): Print the section index. |
| 118 | |
| 119 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 120 | |
| 121 | PR symtab/8424: |
| 122 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Check |
| 123 | SYMBOL_SECTION, not SYMBOL_OBJ_SECTION. |
| 124 | * breakpoint.c (resolve_sal_pc): Update. |
| 125 | * elfread.c (elf_gnu_ifunc_record_cache): Update. |
| 126 | * findvar.c (struct minsym_lookup_data) <objfile>: New field. |
| 127 | (minsym_lookup_iterator_cb): Use it. |
| 128 | (default_read_var_value): Update. |
| 129 | * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline): |
| 130 | Update. |
| 131 | * infcmd.c (jump_command): Update. |
| 132 | * linespec.c (minsym_found): Update. |
| 133 | * maint.c (maintenance_translate_address): Update. |
| 134 | * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update. |
| 135 | (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION. |
| 136 | * parse.c (write_exp_msymbol): Update. |
| 137 | * printcmd.c (address_info): Update. |
| 138 | * psymtab.c (find_pc_sect_psymbol): Update. |
| 139 | (fixup_psymbol_section): Check SYMBOL_SECTION, not |
| 140 | SYMBOL_OBJ_SECTION. |
| 141 | (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION. |
| 142 | Don't initialize SYMBOL_OBJ_SECTION. |
| 143 | * spu-tdep.c (spu_catch_start): Update. |
| 144 | * stabsread.c (define_symbol): Don't set SYMBOL_SECTION. |
| 145 | * symmisc.c (dump_msymbols, print_symbol): Update. |
| 146 | * symtab.c (fixup_section): Don't set 'obj_section'. Change |
| 147 | how fallback section is computed. |
| 148 | (fixup_symbol_section): Update. |
| 149 | (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal): |
| 150 | Update. |
| 151 | (allocate_symbol, initialize_symbol, allocate_template_symbol): |
| 152 | Initialize SYMBOL_SECTION. |
| 153 | * symtab.h (struct general_symbol_info) <section>: Update comment. |
| 154 | <obj_section>: Remove. |
| 155 | (SYMBOL_OBJ_SECTION): Add 'objfile' argument. Rewrite. |
| 156 | (SYMBOL_OBJFILE): New macro. |
| 157 | |
| 158 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 159 | |
| 160 | * coffread.c (record_minimal_symbol): Update. |
| 161 | * dbxread.c (record_minimal_symbol): Update. |
| 162 | * elfread.c (record_minimal_symbol): Update. |
| 163 | * machoread.c (macho_symtab_add_minsym): Update. |
| 164 | * mdebugread.c (record_minimal_symbol, parse_partial_symbols): |
| 165 | Update. |
| 166 | * minsyms.c (prim_record_minimal_symbol): Update. |
| 167 | (prim_record_minimal_symbol_full): Remove 'bfd_section' |
| 168 | argument. |
| 169 | (prim_record_minimal_symbol_and_info): Likewise. |
| 170 | * minsyms.h (prim_record_minimal_symbol_full) |
| 171 | (prim_record_minimal_symbol_and_info): Update. |
| 172 | * symtab.c (allocate_symbol, initialize_symbol) |
| 173 | (allocate_template_symbol): Initialize SYMBOL_SECTION. |
| 174 | * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab): |
| 175 | Update. |
| 176 | |
| 177 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 178 | |
| 179 | PR symtab/8423: |
| 180 | * solib-som.c (som_solib_section_offsets): Use BFD section |
| 181 | indices. Set offsets for all sections. |
| 182 | * somread.c (som_symtab_read): Compute BFD section for |
| 183 | symbol. Use prim_record_minimal_symbol_and_info. |
| 184 | (som_symfile_read): Fix comment. |
| 185 | (struct find_section_offset_arg): New. |
| 186 | (find_section_offset, set_section_index): New functions. |
| 187 | (som_symfile_offsets): Use set_section_index to compute |
| 188 | section indices. |
| 189 | |
| 190 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 191 | |
| 192 | * coffread.c (cs_to_section): Use gdb_bfd_section_index. |
| 193 | * elfread.c (record_minimal_symbol, elf_symtab_read): Use |
| 194 | gdb_bfd_section_index. |
| 195 | * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections): |
| 196 | New functions. |
| 197 | * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections): |
| 198 | Declare. |
| 199 | * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets): |
| 200 | Update. |
| 201 | * objfiles.c (add_to_objfile_sections_full): New function. |
| 202 | (add_to_objfile_sections): Use it. |
| 203 | (build_section_table): Rewrite. |
| 204 | (objfile_relocate1): Use gdb_bfd_section_index. Update. |
| 205 | * objfiles.h (obj_section_offset): Use gdb_bfd_section_index. |
| 206 | (struct objfile) <sections>: Update comment. |
| 207 | (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section |
| 208 | is NULL. |
| 209 | (ALL_OBJSECTIONS): Use it. |
| 210 | * solib-dsbt.c (dsbt_relocate_main_executable): Update. |
| 211 | * solib-frv.c (frv_relocate_main_executable): Update. |
| 212 | * solib-target.c (solib_target_relocate_section_addresses): |
| 213 | Use gdb_bfd_section_index. |
| 214 | * symfile.c (build_section_addr_info_from_section_table): |
| 215 | Use gdb_bfd_section_index. |
| 216 | (build_section_addr_info_from_bfd, place_section): Likewise. |
| 217 | * symtab.c (fixup_section): Update. |
| 218 | * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index. |
| 219 | |
| 220 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 221 | |
| 222 | * minsyms.h (struct bound_minimal_symbol): New. |
| 223 | (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol. |
| 224 | Remove objfile argument. |
| 225 | (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc): |
| 226 | Return bound_minimal_symbol. |
| 227 | * minsyms.c (lookup_minimal_symbol_by_pc_1) |
| 228 | (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc): |
| 229 | Return bound_minimal_symbol. |
| 230 | (in_gnu_ifunc_stub): Update. |
| 231 | (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol. |
| 232 | Remove 'objfile_p' argument. |
| 233 | (lookup_solib_trampoline_symbol_by_pc): Update. |
| 234 | * ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c, |
| 235 | arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c, |
| 236 | c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c, |
| 237 | glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c, |
| 238 | i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c, |
| 239 | linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c, |
| 240 | mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c, |
| 241 | ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c, |
| 242 | stack.c, symtab.c, tui/tui-disasm.c: Update. |
| 243 | |
| 244 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 245 | |
| 246 | * ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'. |
| 247 | Use symbol's obstack, not an objfile. |
| 248 | * coffread.c (process_coff_symbol): Update. |
| 249 | * dwarf2read.c (fixup_go_packaging, new_symbol_full): Update. |
| 250 | * jv-lang.c (add_class_symbol): Update. |
| 251 | * mdebugread.c (new_symbol): Update. |
| 252 | * minsyms.c (prim_record_minimal_symbol_full) |
| 253 | (terminate_minimal_symbol_table): Update. |
| 254 | * psymtab.c (add_psymbol_to_bcache): Clear entire symbol. Update. |
| 255 | * stabsread.c (define_symbol, read_enum_type): Update. |
| 256 | * symtab.c (symbol_set_demangled_name, symbol_get_demangled_name): |
| 257 | Handle Ada specially. |
| 258 | (symbol_set_language): Add 'obstack' argument. |
| 259 | (symbol_set_names): Update. |
| 260 | (symbol_natural_name, symbol_demangled_name): Always use |
| 261 | ada_decode_symbol. |
| 262 | * symtab.h (struct general_symbol_info) |
| 263 | <language_specific::obstack>: New field. |
| 264 | <ada_mangled>: New field. |
| 265 | (SYMBOL_SET_LANGUAGE): Add 'obstack' argument. |
| 266 | (symbol_set_language): Update. |
| 267 | |
| 268 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 269 | |
| 270 | * symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name): |
| 271 | Take an obstack, not an objfile. |
| 272 | (symbol_set_names): Update. |
| 273 | * symtab.h (symbol_set_demangled_name): Update. |
| 274 | |
| 275 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 276 | |
| 277 | * coffread.c (process_coff_symbol, coff_read_enum_type): Call |
| 278 | allocate_symbol. |
| 279 | * dwarf2read.c (fixup_go_packaging): Call allocate_symbol. |
| 280 | (read_func_scope): Call allocate_template_symbol. |
| 281 | (new_symbol_full): Call allocate_symbol. |
| 282 | * jit.c (finalize_symtab): Call allocate_symbol. |
| 283 | * jv-lang.c (add_class_symbol): Call allocate_symbol. |
| 284 | * mdebugread.c (parse_symbol, new_block): Call allocate_symbol. |
| 285 | * stabsread.c (patch_block_stabs, define_symbol, read_enum_type) |
| 286 | (common_block_end): Call allocate_symbol. |
| 287 | * symtab.c (allocate_symbol, initialize_symbol) |
| 288 | (allocate_template_symbol): New functions. |
| 289 | * symtab.c (allocate_symbol, initialize_symbol) |
| 290 | (allocate_template_symbol): Declare. |
| 291 | * xcoffread.c (process_xcoff_symbol): Call initialize_symbol. |
| 292 | |
| 293 | 2013-04-08 Pedro Alves <palves@redhat.com> |
| 294 | Keith Seitz <keiths@redhat.com> |
| 295 | |
| 296 | * breakpoint.c (create_breakpoint): Rename |
| 297 | "parse_condition_and_thread" parameter to "parse_arg". Update |
| 298 | describing comment. If !PARSE_ARG, then error out if ARG is not |
| 299 | the empty string after extracting the location. |
| 300 | * breakpoint.h (create_breakpoint): Rename |
| 301 | "parse_condition_and_thread" parameter to "parse_arg". |
| 302 | |
| 303 | 2013-04-08 Aleksandar Ristovski <aristovski@qnx.com |
| 304 | |
| 305 | * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg. |
| 306 | |
| 307 | 2013-04-07 Yao Qi <yao@codesourcery.com> |
| 308 | |
| 309 | * remote.c (remote_trace_find): Change type of parameters 'addr1' |
| 310 | and 'addr2' to CORE_ADDR. |
| 311 | * target.c (update_current_target): Update. |
| 312 | * target.h (struct target_ops) <to_trace_find>: Change parameter |
| 313 | type to CORE_ADDR. |
| 314 | * tracepoint.c (tfind_1): Change type of parameters 'addr1' and |
| 315 | 'addr2' to CORE_ADDR. |
| 316 | (tfile_trace_find): Likewise. |
| 317 | (tfile_get_traceframe_address): Change return type to CORE_ADDR. |
| 318 | Change local variable 'addr' to type CORE_ADDR. |
| 319 | * tracepoint.h (tfind_1): Update declaration. |
| 320 | |
| 321 | 2013-04-06 Eli Zaretskii <eliz@gnu.org> |
| 322 | |
| 323 | * windows-nat.c (windows_get_absolute_argv0): Move from here... |
| 324 | * mingw-hdep.c (windows_get_absolute_argv0): ...to here. |
| 325 | Include main.h. |
| 326 | |
| 327 | * windows-nat.h (windows_get_absolute_argv0): Move prototype from |
| 328 | here... |
| 329 | * main.h (windows_get_absolute_argv0): ...to here. |
| 330 | |
| 331 | 2013-04-05 Doug Evans <dje@google.com> |
| 332 | |
| 333 | * dwarf2read.c (struct dwarf2_per_objfile): Tweak comment. |
| 334 | (read_cutu_die_from_dwo): Add comments. |
| 335 | (read_structure_type): Update comment. |
| 336 | (read_enumeration_type, read_namespace_type): Update comment. |
| 337 | (read_die_type, get_die_type_at_offset, get_die_type): Update comment. |
| 338 | |
| 339 | 2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 340 | |
| 341 | Convert man pages to texinfo, new gdbinit.5 texinfo page. |
| 342 | * Makefile.in (gdb.z): Remove. |
| 343 | (install-only): Remove $(man1dir) and gdb.1 installation. |
| 344 | * gdb.1: Remove. |
| 345 | |
| 346 | 2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 347 | |
| 348 | Fix compatibility with Linux kernel 3.8.3. |
| 349 | * linux-tdep.c (linux_find_memory_regions_full): Move variable number |
| 350 | to more inner block. Remove parsing of NUMBER from outer block. |
| 351 | Parse NUMBER only if KEYWORD has been identified. |
| 352 | |
| 353 | 2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 354 | |
| 355 | Fix variable name shadowing. |
| 356 | * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable |
| 357 | filename to mapsfilename and update its uses. |
| 358 | |
| 359 | 2013-04-05 Eli Zaretskii <eliz@gnu.org> |
| 360 | |
| 361 | * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is |
| 362 | empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html |
| 363 | and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for |
| 364 | details of the problem. |
| 365 | |
| 366 | 2013-04-04 Pedro Alves <palves@redhat.com> |
| 367 | Hui Zhu <hui@codesourcery.com> |
| 368 | |
| 369 | * breakpoint.c (validate_commands_for_breakpoint): If validating a |
| 370 | tracepoint, reset its STEP_COUNT and call validate_actionline. |
| 371 | |
| 372 | 2013-04-03 Doug Evans <dje@google.com> |
| 373 | |
| 374 | * dwarf2read.c (read_die_and_siblings_1): Renamed from |
| 375 | read_die_and_siblings. |
| 376 | (read_die_and_siblings): New function. |
| 377 | (read_cutu_die_from_dwo): Dump die if requested. |
| 378 | (read_die_and_children): Call read_full_die_1 and |
| 379 | read_die_and_siblings_1. |
| 380 | (read_full_die): Dump die if requested. |
| 381 | |
| 382 | * dwarf2read.c (read_comp_units_from_section): Add debugging printf. |
| 383 | |
| 384 | * dwarf2read.c (struct dwo_file): New member comp_dir. |
| 385 | Rename member name to dwo_name. All uses updated. |
| 386 | (hash_dwo_file): Include comp_dir in computation. |
| 387 | (eq_dwo_file): Ditto. |
| 388 | (lookup_dwo_file_slot): New arg comp_dir. All callers updated. |
| 389 | (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto. |
| 390 | |
| 391 | * psymtab.c (read_psymtabs_with_fullname): Don't call |
| 392 | psymtab_to_fullname if the basenames are different. |
| 393 | |
| 394 | 2013-04-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 395 | |
| 396 | * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname". |
| 397 | New entry about "fullname" presence. |
| 398 | |
| 399 | 2013-04-03 Pedro Alves <palves@redhat.com> |
| 400 | |
| 401 | * NEWS: Mention x86_64/Cygwin as new native configuration. |
| 402 | |
| 403 | 2013-04-02 Doug Evans <dje@google.com> |
| 404 | |
| 405 | * dwarf2read.c (read_structure_type): Fix typo in comment. |
| 406 | |
| 407 | 2013-04-02 Pedro Alves <palves@redhat.com> |
| 408 | |
| 409 | * NEWS: Mention "set/show debug aarch64", "set/show debug |
| 410 | coff-pe-read" and "set/show debug mach-o". |
| 411 | |
| 412 | 2013-04-02 Pedro Alves <palves@redhat.com> |
| 413 | |
| 414 | * NEWS: Mention "set/show remote trace-buffer-size-packet". |
| 415 | |
| 416 | 2013-04-02 Eli Zaretskii <eliz@gnu.org> |
| 417 | |
| 418 | * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h. |
| 419 | gdb_string.h is now in common/. |
| 420 | |
| 421 | 2013-04-02 Pedro Alves <palves@redhat.com> |
| 422 | |
| 423 | * NEWS: Move "set debug notification" and "set trace-buffer-size" |
| 424 | under "New options". |
| 425 | |
| 426 | 2013-04-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 427 | |
| 428 | Revert this patch: |
| 429 | PR gdb/15275 |
| 430 | * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. |
| 431 | |
| 432 | 2013-04-02 Pedro Alves <palves@redhat.com> |
| 433 | |
| 434 | PR gdb/15275 |
| 435 | |
| 436 | * remote.c (send_interrupt_sequence): Use remote_serial_write. |
| 437 | (remote_serial_write): New function. |
| 438 | (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write. |
| 439 | |
| 440 | 2013-04-01 Jiong Wang <jiwang@tilera.com> |
| 441 | |
| 442 | * NEWS: Mention TILE-Gx in "New native configurations" and |
| 443 | "New targets" sections. |
| 444 | |
| 445 | 2013-04-01 Doug Evans <dje@google.com> |
| 446 | |
| 447 | * dwarf2read.c (lookup_signatured_type_at_offset): Delete. |
| 448 | (process_enumeration_scope): Simplify. |
| 449 | |
| 450 | * dwarf2read.c (struct dwarf2_per_cu_data): Move member |
| 451 | type_unit_group ... |
| 452 | (struct signatured_type): ... to here. |
| 453 | (sig_type_ptr): New typedef. |
| 454 | (type_unit_group): Delete member 't.first_cu'. Move member 'tus' |
| 455 | out of union 't'. All uses updated. |
| 456 | (dw2_get_file_names_reader): Assert not called for a type unit. |
| 457 | (dw2_get_file_names): Assert not called for a type unit or type |
| 458 | unit group. |
| 459 | (build_type_psymtabs_reader): Assert called for a type unit. |
| 460 | (build_type_psymtab_dependencies): Assert called for a type unit group. |
| 461 | |
| 462 | * dwarf2read.c (free_dwo_file): Add comment. |
| 463 | (dwarf2_per_objfile_free): Unref dwp bfd. |
| 464 | |
| 465 | 2013-04-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 466 | |
| 467 | * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'. |
| 468 | (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'. |
| 469 | (read_pe_exported_syms): Remove unused 'exportix'. |
| 470 | (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries', |
| 471 | 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata', |
| 472 | 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'. |
| 473 | |
| 474 | 2013-04-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 475 | |
| 476 | * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'. |
| 477 | (print_it_watchpoint): Remove unused 'bl'. |
| 478 | (say_where): Remove unused 'uiout'. |
| 479 | (bpstat_remove_breakpoint_callback): Remove unused 'uiout'. |
| 480 | (bkpt_breakpoint_hit): Remove unused 'b'. |
| 481 | (internal_bkpt_print_it): Remove unused 'uiout'. |
| 482 | * buildsym.c (augment_type_symtab): Remove unused 'i'. |
| 483 | |
| 484 | 2013-03-31 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
| 485 | |
| 486 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function. |
| 487 | (ppc64_sysv_abi_push_dummy_call): Handle complex arguments. |
| 488 | |
| 489 | 2013-03-29 Doug Evans <dje@google.com> |
| 490 | |
| 491 | * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file. |
| 492 | Delete arg is_dwp. All callers updated. |
| 493 | (open_dwp_file): New function. |
| 494 | (open_and_init_dwp_file): Call it. |
| 495 | (get_dwp_file): New function. |
| 496 | (lookup_dwo_cutu): Call it. |
| 497 | |
| 498 | * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and |
| 499 | unnecessary, cleanup. |
| 500 | |
| 501 | * dwarf2read.c (lookup_dwo_cutu): Improve complaint text. |
| 502 | |
| 503 | * dwarf2read.c (read_cutu_die_from_dwo): New function. |
| 504 | (lookup_dwo_unit): New function. |
| 505 | (init_cutu_and_read_dies): Move DWO handling to new functions. |
| 506 | |
| 507 | * dwarf2read.c (struct signatured_type): Tweak comment. |
| 508 | (struct dwo_unit): Tweak comment. |
| 509 | (create_debug_types_hash_table): Tweak comment. Reformat long line. |
| 510 | (create_dwo_debug_info_hash_table): Tweak comment. |
| 511 | (dwarf2_per_cu_offset_and_type): Tweak comment. |
| 512 | |
| 513 | * dwarf2read.c (lookup_signatured_type): Remove complaint about |
| 514 | missing .debug_types section. |
| 515 | |
| 516 | 2013-03-29 Yao Qi <yao@codesourcery.com> |
| 517 | |
| 518 | * corelow.c: Include "completer.h". |
| 519 | (_initialize_corelow): Call add_target_with_completer with |
| 520 | argument 'filename_completer'. |
| 521 | * tracepoint.c: Likewise. |
| 522 | * exec.c (_initialize_exec): Likewise. |
| 523 | * target.c (add_target): Rename to ... |
| 524 | (add_target_with_completer): ... this. Call set_cmd_completer |
| 525 | if parameter completer is not NULL. |
| 526 | (add_target): New. |
| 527 | * target.h: Include "command.h". |
| 528 | (add_target_with_completer): Declare it. |
| 529 | |
| 530 | 2013-03-28 Joel Brobecker <brobecker@adacore.com> |
| 531 | |
| 532 | * coffread.c (is_import_fixup_symbol): New function. |
| 533 | (record_minimal_symbol): Use is_import_fixup_symbol to |
| 534 | detect import fixup symbols, and discard them. |
| 535 | |
| 536 | 2013-03-28 Doug Evans <dje@google.com> |
| 537 | |
| 538 | * dwarf2read.c (create_debug_types_hash_table): Don't allocate the |
| 539 | types hash table until we know we need it. |
| 540 | |
| 541 | * dwarf2read.c (create_addrmap_from_index): Complain about bad CU |
| 542 | index numbers. |
| 543 | |
| 544 | * dwarf2read.c (dw2_get_file_names): Delete arg "objfile". |
| 545 | All callers updated. |
| 546 | (dw2_print_stats): Print #read CUs too. |
| 547 | (dump_die_shallow): Print signatured types better. |
| 548 | |
| 549 | * dwarf2read.c (struct dwarf2_per_cu_data): Rename member |
| 550 | info_or_types_section to section. All uses updated. |
| 551 | (struct dwo_unit): Ditto. |
| 552 | |
| 553 | 2013-03-28 Pedro Alves <palves@redhat.com> |
| 554 | |
| 555 | * NEWS (New options): New section. |
| 556 | (New options): Mention set/show remote trace-status-packet. |
| 557 | * remote.c (PACKET_qTStatus): New enumeration value. |
| 558 | (remote_get_trace_status): Skip sending qTStatus if the packet is |
| 559 | disabled. Use packet_ok. |
| 560 | (_initialize_remote): Register a configuration command for |
| 561 | qTStatus packet. |
| 562 | |
| 563 | 2013-03-28 Doug Evans <dje@google.com> |
| 564 | |
| 565 | * symfile.c (find_separate_debug_file): Add comment. |
| 566 | (terminate_after_last_dir_separator): Tweak comment. |
| 567 | |
| 568 | * dwarf2read.c (create_partial_symtab): Add forward decl. |
| 569 | (create_partial_symtab): Move to be closer to other psymtab functions. |
| 570 | (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto. |
| 571 | |
| 572 | * dwarf2read.c (dwarf2_physname): Move declaration to better spot. |
| 573 | (compute_symtab_includes): Remove unnecessary forward declaration. |
| 574 | (die_needs_namespace): Add comment marking group of functions for |
| 575 | dwarf2 name computation. |
| 576 | |
| 577 | * typeprint.c (_initialize_typeprint): Improve type help text. |
| 578 | |
| 579 | * python/python.c (finish_python_initialization): Provide suggestion |
| 580 | for how to tell gdb to find its python files. |
| 581 | |
| 582 | 2013-03-28 Pedro Alves <palves@redhat.com> |
| 583 | |
| 584 | PR gdb/15294 |
| 585 | |
| 586 | * source.c (_initialize_source): Change back "set listsize" to an |
| 587 | integer command. |
| 588 | |
| 589 | 2013-03-27 Gareth McMullin <gareth@blacksphere.co.nz> |
| 590 | |
| 591 | PR gdb/15275 |
| 592 | * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. |
| 593 | |
| 594 | 2013-03-27 Pedro Alves <palves@redhat.com> |
| 595 | |
| 596 | * top.c (history_size): Rename to ... |
| 597 | (history_size_setshow_var): ... this. Add comment. |
| 598 | (show_commands): Use readline's 'history_length' instead of |
| 599 | computing the history length by calling history_get in a loop. |
| 600 | (set_history_size_command): Error out for sizes over INT_MAX. |
| 601 | Restore previous history size on invalid size. |
| 602 | (init_history): If HISTSIZE is negative, leave the history size as |
| 603 | zero. Add comments. |
| 604 | (init_main): Adjust. |
| 605 | |
| 606 | 2013-03-27 Pedro Alves <palves@redhat.com> |
| 607 | |
| 608 | * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug |
| 609 | coff_pe_read" command to "set debug coff-pe-read". |
| 610 | |
| 611 | 2013-03-27 Markus Metzger <markus.t.metzger@intel.com> |
| 612 | |
| 613 | * record.c (command_size_to_target_size): Fix size comparison. |
| 614 | Change parameter type from pointer to integer to integer. |
| 615 | Update all users. |
| 616 | |
| 617 | 2013-03-27 Pierre Muller <muller@sourceware.org> |
| 618 | |
| 619 | * windows-nat.c (handle_output_debug_string): Avoid typecast |
| 620 | from integer of different size warning. |
| 621 | |
| 622 | 2013-03-26 Joel Brobecker <brobecker@adacore.com> |
| 623 | |
| 624 | * windows-nat.c (handle_output_debug_string): Add empty line |
| 625 | after local block variable definition. |
| 626 | |
| 627 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 628 | |
| 629 | * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned. |
| 630 | (net_open): Make 'polls' local unsigned. |
| 631 | |
| 632 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 633 | |
| 634 | * remote.c (_initialize_remote): Make "set remoteaddresssize" |
| 635 | a zuinteger command instead of uinteger. |
| 636 | |
| 637 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 638 | |
| 639 | * record-full.c (record_full_insn_num): Make it unsigned. |
| 640 | (record_full_check_insn_num, record_full_message) |
| 641 | (record_full_registers_change, record_full_xfer_partial): Remove |
| 642 | record_full_insn_max_num check (it's always != 0). |
| 643 | (record_full_info, record_full_restore): Use %u as format string. |
| 644 | (): Use %u as format string. |
| 645 | (set_record_full_insn_max_num): Remove record_full_insn_max_num |
| 646 | check (it's always != 0). |
| 647 | |
| 648 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 649 | |
| 650 | * dcache.c (_initialize_dcache): Make the "set dcache line-size" |
| 651 | and "set dcache size" commands zuinteger instead of uinteger. |
| 652 | |
| 653 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 654 | |
| 655 | * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version" |
| 656 | command zuinteger instead of uinteger. |
| 657 | |
| 658 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 659 | |
| 660 | * coff-pe-read.c (_initialize_coff_pe_read): Make the command |
| 661 | zuinteger instead of uinteger. |
| 662 | |
| 663 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 664 | |
| 665 | * record.c (record_insn_history_size_setshow_var) |
| 666 | (record_call_history_size_setshow_var): New globals. |
| 667 | (command_size_to_target_size): New function. |
| 668 | (cmd_record_insn_history, cmd_record_call_history): Use |
| 669 | command_size_to_target_size instead of cast. |
| 670 | (validate_history_size, set_record_insn_history_size) |
| 671 | (set_record_call_history_size): New functions. |
| 672 | (_initialize_record): Install set_record_insn_history_size and |
| 673 | set_record_call_history_size as "set" hooks of "set record |
| 674 | instruction-history-size" and "set record |
| 675 | function-call-history-size". |
| 676 | |
| 677 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 678 | |
| 679 | * top.c (gdb_rl_operate_and_get_next): Replace max_input_history |
| 680 | use with history_max_entries use. Remove FIXME note. |
| 681 | |
| 682 | 2013-03-26 Markus Metzger <markus.t.metzger@intel.com> |
| 683 | |
| 684 | * record-btrace.c (record_btrace_close): Call |
| 685 | record_btrace_auto_disable. |
| 686 | |
| 687 | 2013-03-25 Joel Brobecker <brobecker@adacore.com> |
| 688 | |
| 689 | * rs6000-nat.c (fixup_breakpoints): Delete declaration. |
| 690 | |
| 691 | 2013-03-25 Doug Evans <dje@google.com> |
| 692 | |
| 693 | * contrib/cc-with-tweaks.sh: Check exit code of dwp. |
| 694 | |
| 695 | 2013-03-25 Tom Tromey <tromey@redhat.com> |
| 696 | |
| 697 | PR symtab/11462: |
| 698 | * c-exp.y (exp): Add new productions for destructors after '.' and |
| 699 | '->'. |
| 700 | (write_destructor_name): New function. |
| 701 | |
| 702 | 2013-03-25 Tom Tromey <tromey@redhat.com> |
| 703 | |
| 704 | PR c++/9197: |
| 705 | * opencl-lang.c (evaluate_subexp_opencl) <STRUCTOP_STRUCT>: Use |
| 706 | value_struct_elt, not lookup_struct_elt_type. |
| 707 | * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT, |
| 708 | STRUCTOP_PTR>: Use value_struct_elt, not lookup_struct_elt_type. |
| 709 | * expression.h (EVAL_AVOID_SIDE_EFFECTS): Update comment. |
| 710 | |
| 711 | 2013-03-25 Yao Qi <yao@codesourcery.com> |
| 712 | |
| 713 | * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir' |
| 714 | instead of '_mkdir'. |
| 715 | |
| 716 | 2013-03-23 Eli Zaretskii <eliz@gnu.org> |
| 717 | |
| 718 | * windows-nat.c (windows_get_absolute_argv0): New function. |
| 719 | * windows-nat.h: Add its prototype. |
| 720 | |
| 721 | * main.c (get_init_files): Use filename_ncmp instead of strncmp. |
| 722 | Use IS_DIR_SEPARATOR instead of looking for a character inside |
| 723 | SLASH_STRING. Include filenames.h. |
| 724 | (captured_main) [__MINGW32__]: Make argv[0] absolute, so that |
| 725 | relocate_gdb_directory works when passed gdb_program_name. |
| 726 | Include windows-nat.h. |
| 727 | |
| 728 | 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 729 | |
| 730 | * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR. |
| 731 | * remote.c (trace_error): Remove the special handling of '2'. |
| 732 | (readchar) <SERIAL_EOF> |
| 733 | (readchar) <SERIAL_ERROR> |
| 734 | (getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them. |
| 735 | (remote_get_trace_status): Call throw_exception if EX is |
| 736 | TARGET_CLOSE_ERROR. |
| 737 | * utils.c (perror_with_name): Rename to ... |
| 738 | (throw_perror_with_name): ... here. New parameter errcode, describe it |
| 739 | in the function comment. |
| 740 | (perror_with_name): New function wrapper. |
| 741 | * utils.h (enum errors): New stub declaration. |
| 742 | (throw_perror_with_name): New declaration. |
| 743 | |
| 744 | 2013-03-22 Pedro Alves <palves@redhat.com> |
| 745 | Yao Qi <yao@codesourcery.com> |
| 746 | Mark Kettenis <kettenis@gnu.org> |
| 747 | |
| 748 | * cli/cli-setshow.c (do_set_command) <var_uinteger>: |
| 749 | Don't let the user set the value to UINT_MAX directly. |
| 750 | <var_integer>: Don't let the user set the value to INT_MAX |
| 751 | directly. |
| 752 | |
| 753 | 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 754 | |
| 755 | * remote.c (remote_unpush_target): New function. |
| 756 | (remote_open_1): Remove two pop_target calls, update one comment, add |
| 757 | comment to target_preopen call. Replace pop_target call by |
| 758 | remote_unpush_target call. |
| 759 | (interrupt_query, readchar, getpkt_or_notif_sane_1): Replace |
| 760 | pop_target calls by remote_unpush_target calls. |
| 761 | |
| 762 | 2013-03-22 Pedro Alves <palves@redhat.com> |
| 763 | |
| 764 | * linux-nat.c (linux_child_follow_fork): Don't call |
| 765 | linux_enable_event_reporting. |
| 766 | (linux_handle_extended_wait): Don't call |
| 767 | linux_enable_event_reporting. |
| 768 | |
| 769 | 2013-03-22 Pedro Alves <palves@redhat.com> |
| 770 | |
| 771 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro, |
| 772 | use it to rewrite the trampoline buffers with type gdb_byte[], and |
| 773 | undefine the macro. Remove char* cast. |
| 774 | |
| 775 | 2013-03-21 Doug Evans <dje@google.com> |
| 776 | |
| 777 | New commands "mt set per-command {space,time,symtab} {on,off}". |
| 778 | * NEWS: Add entry. |
| 779 | * event-top.c: #include "maint.h". |
| 780 | * main.c: #include "maint.h". |
| 781 | * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h, |
| 782 | timeval-utils.h, maint.h, cli/cli-setshow.h. |
| 783 | (per_command_time, per_command_space): New static globals. |
| 784 | (per_command_symtab): New static global. |
| 785 | (per_command_setlist, per_command_showlist): New static globals. |
| 786 | (struct cmd_stats): Move here from utils.c. |
| 787 | (set_per_command_time): Renamed from set_display_time in utils.c |
| 788 | and moved here. All callers updated. |
| 789 | (set_per_command_space): Renamed from set_display_space in utils.c |
| 790 | and moved here. All callers updated. |
| 791 | (count_symtabs_and_blocks): New function. |
| 792 | (report_command_stats): Moved here from utils.c. Add support for |
| 793 | printing symtab stats. Only print data if enabled before command |
| 794 | executed. |
| 795 | (make_command_stats_cleanup): Ditto. |
| 796 | (sert_per_command_cmd, show_per_command_cmd): New functions. |
| 797 | (_initialize_maint_cmds): Add new commands |
| 798 | mt set per-command {space,time,symtab} {on,off}. |
| 799 | * maint.h: New file. |
| 800 | * top.c: #include "maint.h". |
| 801 | * utils.c (reset_prompt_for_continue_wait_time): New function. |
| 802 | (get_prompt_for_continue_wait_time): New function. |
| 803 | * utils.h (reset_prompt_for_continue_wait_time): Declare |
| 804 | (get_prompt_for_continue_wait_time): Declare. |
| 805 | (make_command_stats_cleanup): Moved to maint.h. |
| 806 | (set_display_time, set_display_space): Moved to maint.h and renamed |
| 807 | to set_per_command_time, set_per_command_space. |
| 808 | * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from |
| 809 | parse_binary_operation and made non-static. Don't call error, |
| 810 | just return an error marker. All callers updated. |
| 811 | * cli/cli-setshow.h (parse_cli_boolean_value): Declare. |
| 812 | |
| 813 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 814 | |
| 815 | * symfile.c (alloc_section_addr_info): Update header. Don't set |
| 816 | 'num_sections' field. |
| 817 | (build_section_addr_info_from_section_table): Set 'num_sections'. |
| 818 | (build_section_addr_info_from_bfd): Likewise. |
| 819 | (build_section_addr_info_from_objfile): Remove dead loop |
| 820 | condition. |
| 821 | (free_section_addr_info): Unconditionally call xfree. |
| 822 | (relative_addr_info_to_section_offsets, addrs_section_sort) |
| 823 | (addr_info_make_relative, syms_from_objfile_1): Remove dead loop |
| 824 | condition. |
| 825 | (syms_from_objfile_1): Remove dead 'if' condition. Check |
| 826 | 'num_sections'. |
| 827 | (add_symbol_file_command): Set 'num_sections'. |
| 828 | * symfile-mem.c (symbol_file_add_from_memory): Set |
| 829 | 'num_sections'. |
| 830 | * somread.c (som_symfile_offsets): Remove dead loop condition. |
| 831 | * machoread.c (macho_symfile_offsets): Remove dead 'if'. |
| 832 | * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'. |
| 833 | |
| 834 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 835 | |
| 836 | * tracepoint.h (decode_agent_options): Add 'trace_string' |
| 837 | argument. |
| 838 | * tracepoint.c (decode_agent_options): Add 'trace_string' |
| 839 | argument. |
| 840 | (validate_actionline): Update. |
| 841 | (collect_symbol): Add 'trace_string' argument. |
| 842 | (struct add_local_symbols_data) <trace_string>: New field. |
| 843 | (do_collect_symbol): Update. |
| 844 | (add_local_symbols): Add 'trace_string' argument. |
| 845 | (encode_actions_1): Update. |
| 846 | (trace_dump_actions): Update. |
| 847 | * dwarf2loc.c (access_memory): Update. |
| 848 | * ax.h (struct agent_expr) <tracing, trace_string>: New fields. |
| 849 | * ax-general.c (new_agent_expr): Update. |
| 850 | * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var) |
| 851 | (gen_trace_for_return_address): Add argument. |
| 852 | (trace_kludge, trace_string_kludge): Remove. |
| 853 | * ax-gdb.c (trace_kludge, trace_string_kludge): Remove. |
| 854 | (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update. |
| 855 | (gen_trace_for_var): Add 'trace_string' argument. |
| 856 | (gen_trace_for_expr, gen_trace_for_return_address): Likewise. |
| 857 | (gen_printf, agent_eval_command_one): Update. |
| 858 | |
| 859 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 860 | |
| 861 | PR exp/15109: |
| 862 | * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO. |
| 863 | Handle FILENAME token. |
| 864 | |
| 865 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 866 | |
| 867 | * c-exp.y (YYPRINT): Define. |
| 868 | (c_print_token): New function. |
| 869 | |
| 870 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 871 | |
| 872 | * c-exp.y (%union) <sym, ivar, ivec>: Remove. |
| 873 | |
| 874 | 2013-03-21 Yao Qi <yao@codesourcery.com> |
| 875 | |
| 876 | * ctf.c: Include "gdb_stat.h". |
| 877 | [USE_WIN32API]: New macro 'mkdir'. |
| 878 | (ctf_start): Use permission bits macros if they are defined. |
| 879 | |
| 880 | 2013-03-20 Keith Seitz <keiths@redhat.com> |
| 881 | |
| 882 | * breakpoint.h (struct breakpoint): Add comment to |
| 883 | extra_string indicating that this member is mallod'd. |
| 884 | * breakpoint.c (base_breakpoint_dtor): Free extra_string. |
| 885 | |
| 886 | 2013-03-20 Pedro Alves <palves@redhat.com> |
| 887 | |
| 888 | PR gdb/15289 |
| 889 | |
| 890 | * cli/cli-setshow.c (do_set_command) |
| 891 | <var_uinteger, var_zuinteger>: Use LONGEST for variable holding |
| 892 | the result of parsing the command argument. Throw error if the |
| 893 | value is greater than UINT_MAX. Print the invalid value with |
| 894 | plongest. |
| 895 | <var_integer, var_zinteger>: Use LONGEST for variable holding the |
| 896 | result of parsing the command argument. Throw error if the value |
| 897 | is greater than INT_MAX, not greater or equal. Also throw error |
| 898 | if the value is less than INT_MIN. Print the invalid value with |
| 899 | plongest. |
| 900 | <var_zuinteger_unlimited>: Throw error if the value is greater |
| 901 | than INT_MAX, not greater or equal. |
| 902 | (do_show_command) <var_integer, var_zinteger, |
| 903 | var_zuinteger_unlimited>: Use %d for printing int, not %u. |
| 904 | |
| 905 | 2013-03-20 Tom Tromey <tromey@redhat.com> |
| 906 | |
| 907 | * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops, |
| 908 | if possible. |
| 909 | * dwarf2read.c (read_func_scope): Remove old FIXME. |
| 910 | * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS, |
| 911 | not LOC_COMPUTED. |
| 912 | * findvar.c (symbol_read_needs_frame, default_read_var_value): |
| 913 | Unconditionally call via computed ops, if possible. |
| 914 | * printcmd.c (address_info): Unconditionally call via computed ops, |
| 915 | if possible. |
| 916 | * stack.c (read_frame_arg): Unconditionally call via computed ops, |
| 917 | if possible. |
| 918 | * symtab.c (register_symbol_computed_impl): Sanity check 'ops'. |
| 919 | * tracepoint.c (scope_info): Unconditionally call via computed ops, |
| 920 | if possible. |
| 921 | |
| 922 | 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 923 | Tom Tromey <tromey@redhat.com> |
| 924 | |
| 925 | PR symtab/8421: |
| 926 | * coffread.c (coff_register_index): New global. |
| 927 | (process_coff_symbol, coff_read_enum_type): Set |
| 928 | SYMBOL_ACLASS_INDEX. |
| 929 | (_initialize_coffread): Initialize new global. |
| 930 | * dwarf2loc.c (locexpr_find_frame_base_location) |
| 931 | (dwarf2_block_frame_base_locexpr_funcs) |
| 932 | (loclist_find_frame_base_location) |
| 933 | (dwarf2_block_frame_base_loclist_funcs): New. |
| 934 | (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error. |
| 935 | (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist. |
| 936 | * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs) |
| 937 | (dwarf2_block_frame_base_loclist_funcs): New. |
| 938 | * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index) |
| 939 | (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New |
| 940 | globals. |
| 941 | (read_func_scope): Update. |
| 942 | (fixup_go_packaging, mark_common_block_symbol_computed) |
| 943 | (var_decode_location, new_symbol_full, dwarf2_const_value): |
| 944 | Set SYMBOL_ACLASS_INDEX. |
| 945 | (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument. |
| 946 | (_initialize_dwarf2_read): Initialize new globals. |
| 947 | * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX. |
| 948 | * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX. |
| 949 | * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New |
| 950 | globals. |
| 951 | (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX. |
| 952 | (_initialize_mdebugread): Initialize new globals. |
| 953 | * psympriv.h (struct partial_symbol) <aclass>: Update comment. |
| 954 | * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX. |
| 955 | (stab_register_index, stab_regparm_index): New globals. |
| 956 | (define_symbol, read_enum_type, common_block_end): Set |
| 957 | SYMBOL_ACLASS_INDEX. |
| 958 | (_initialize_stabsread): Initialize new globals. |
| 959 | * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New |
| 960 | globals. |
| 961 | (MAX_SYMBOL_IMPLS): New define. |
| 962 | (register_symbol_computed_impl, register_symbol_block_impl) |
| 963 | (register_symbol_register_impl) |
| 964 | (initialize_ordinary_address_classes): New functions. |
| 965 | (_initialize_symtab): Call initialize_ordinary_address_classes. |
| 966 | * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant. |
| 967 | (struct symbol_impl): New. |
| 968 | (SYMBOL_ACLASS_BITS): New define. |
| 969 | (struct symbol) <aclass, ops>: Remove fields. |
| 970 | <aclass_index>: New field. |
| 971 | (symbol_impls): Declare. |
| 972 | (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine. |
| 973 | (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines. |
| 974 | (register_symbol_computed_impl, register_symbol_block_impl) |
| 975 | (register_symbol_register_impl): Declare. |
| 976 | (struct symbol_computed_ops): Add location_has_loclist. |
| 977 | (struct symbol_block_ops): New. |
| 978 | (SYMBOL_BLOCK_OPS): New. |
| 979 | * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX. |
| 980 | |
| 981 | 2013-03-20 Tom Tromey <tromey@redhat.com> |
| 982 | |
| 983 | * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section) |
| 984 | (print_partial_symbols, recursively_search_psymtabs): Use |
| 985 | PSYMBOL_CLASS. |
| 986 | |
| 987 | 2013-03-20 Pierre Muller <muller@sourceware.org> |
| 988 | |
| 989 | * contrib/ari/gdb_ari.sh (OP eol rule): Also check |
| 990 | addtion, subtraction, multiplication and division binary operator. |
| 991 | |
| 992 | 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 993 | |
| 994 | Code cleanup. |
| 995 | * bfd-target.c (target_bfd_xclose): Remove parameter quitting. |
| 996 | * bsd-kvm.c (bsd_kvm_close): Likewise. |
| 997 | * bsd-uthread.c (bsd_uthread_close): Likewise. |
| 998 | * corelow.c (core_close): Likewise. |
| 999 | (core_close_cleanup): Remove parameter quitting from a caller. |
| 1000 | * event-top.c (async_disconnect): Likewise. |
| 1001 | * exec.c (exec_close_1): Remove parameter quitting. |
| 1002 | * go32-nat.c (go32_close): Likewise. |
| 1003 | * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove |
| 1004 | parameter quitting from a caller. |
| 1005 | * mips-linux-nat.c (super_close): Remove parameter quitting from the |
| 1006 | variable. |
| 1007 | (mips_linux_close): Remove parameter quitting. Remove parameter |
| 1008 | quitting from a caller. |
| 1009 | * monitor.c (monitor_close): Remove parameter quitting. |
| 1010 | * monitor.h (monitor_close): Likewise. |
| 1011 | * record-btrace.c (record_btrace_close): Likewise. |
| 1012 | * record-full.c (record_full_close): Likewise. |
| 1013 | * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove |
| 1014 | it also from fprintf_unfiltered. |
| 1015 | * remote-mips.c (mips_close): Remove parameter quitting. |
| 1016 | (mips_detach): Remove parameter quitting from a caller. |
| 1017 | * remote-sim.c (gdbsim_close): Remove parameter quitting. |
| 1018 | (gdbsim_close): Remove duplicate function comment. Remove parameter |
| 1019 | quitting and remove it also from printf_filtered. |
| 1020 | * remote.c (remote_close): Remove parameter quitting. |
| 1021 | * solib-svr4.c (enable_break): Remove parameter quitting from a caller. |
| 1022 | * target.c (update_current_target): Remove parameter int from to_close |
| 1023 | de_fault. |
| 1024 | (push_target, unpush_target, pop_target): Remove parameter quitting from |
| 1025 | a caller. |
| 1026 | (pop_all_targets_above, pop_all_targets): Remove parameter quitting. |
| 1027 | Remove parameter quitting from a caller. |
| 1028 | (target_preopen): Remove parameter quitting from a caller. |
| 1029 | (target_close): Remove parameter quitting. Remove parameter quitting |
| 1030 | from a caller two times. Remove parameter quitting also from |
| 1031 | fprintf_unfiltered. |
| 1032 | * target.h (struct target_ops): Remove parameter quitting and as int |
| 1033 | from fields to_xclose and to_close. |
| 1034 | (extern struct target_ops current_target): |
| 1035 | (target_close, pop_all_targets): Remove parameter quitting. Update the |
| 1036 | comment. |
| 1037 | (pop_all_targets_above): Remove parameter quitting. |
| 1038 | * top.c (quit_target): Remove parameter quitting from a caller. |
| 1039 | * tracepoint.c (tfile_close): Remove parameter quitting. |
| 1040 | * windows-nat.c (windows_close): Remove parameter quitting. |
| 1041 | |
| 1042 | 2013-03-20 Corinna Vinschen <vinschen@redhat.com> |
| 1043 | |
| 1044 | * windows-nat.c (handle_output_debug_string): Replace call |
| 1045 | to string_to_core_addr with call to strtoull. |
| 1046 | |
| 1047 | 2013-03-20 Yao Qi <yao@codesourcery.com> |
| 1048 | |
| 1049 | * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS |
| 1050 | and write it to CTF metadata. |
| 1051 | |
| 1052 | 2013-03-19 Corinna Vinschen <vinschen@redhat.com> |
| 1053 | |
| 1054 | * windows-nat.c (handle_output_debug_string): Change type of n to |
| 1055 | SIZE_T to avoid crash on 64 bit systems. |
| 1056 | |
| 1057 | 2013-03-17 Eli Zaretskii <eliz@gnu.org> |
| 1058 | |
| 1059 | * python/python-internal.h (HAVE_SNPRINTF) |
| 1060 | [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings |
| 1061 | about redefinition of snprintf by pyerrors.h. |
| 1062 | |
| 1063 | 2013-03-15 Steve Ellcey <sellcey@mips.com> |
| 1064 | |
| 1065 | * remote-sim.c (sim_command_completer): Make char arguments const. |
| 1066 | |
| 1067 | 2013-03-15 Tom Tromey <tromey@redhat.com> |
| 1068 | |
| 1069 | PR c++/15116: |
| 1070 | * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC. |
| 1071 | |
| 1072 | 2013-03-14 Tom Tromey <tromey@redhat.com> |
| 1073 | |
| 1074 | * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>: |
| 1075 | New fields. |
| 1076 | (get_file_crc): Move from symfile.c. |
| 1077 | (gdb_bfd_crc): New function. |
| 1078 | * gdb_bfd.h (gdb_bfd_crc): Declare. |
| 1079 | * objfiles.h (struct objfile) <crc32, crc32_p>: Remove. |
| 1080 | * symfile.c (get_file_crc): Move to gdb_bfd.c. |
| 1081 | (separate_debug_file_exists): Use gdb_bfd_crc. |
| 1082 | |
| 1083 | 2013-03-14 Tom Tromey <tromey@redhat.com> |
| 1084 | |
| 1085 | * symfile.c (get_debug_link_info): Remove. |
| 1086 | (find_separate_debug_file_by_debuglink): Use |
| 1087 | bfd_get_debug_link_info. |
| 1088 | |
| 1089 | 2013-03-14 Tom Tromey <tromey@redhat.com> |
| 1090 | |
| 1091 | * symtab.c (error_in_psymtab_expansion): New function. |
| 1092 | (lookup_symbol_aux_quick) |
| 1093 | (basic_lookup_transparent_type_quick): Remove "last resort" |
| 1094 | code. Use error_in_psymtab_expansion. |
| 1095 | |
| 1096 | 2013-03-14 Doug Evans <dje@google.com> |
| 1097 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1098 | |
| 1099 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after |
| 1100 | any successful compare_filenames_for_search or FILENAME_CMP. |
| 1101 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. |
| 1102 | * symtab.c (iterate_over_some_symtabs): Likewise. |
| 1103 | |
| 1104 | 2013-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1105 | |
| 1106 | * source.c (print_source_lines_base): Make a local copy of |
| 1107 | symtab_to_fullname. |
| 1108 | |
| 1109 | 2013-03-14 Hui Zhu <hui_zhu@mentor.com> |
| 1110 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1111 | |
| 1112 | * source.c (print_source_lines_base): Suppress "file" for TUI. |
| 1113 | |
| 1114 | 2013-03-14 Keith Seitz <keiths@redhat.com> |
| 1115 | Alan Matsuoka <alanm@redhat.com> |
| 1116 | |
| 1117 | PR c++/15203 |
| 1118 | PR c++/15210 |
| 1119 | * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and |
| 1120 | TYPE_CODE_METHOD. |
| 1121 | * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain |
| 1122 | symbols. |
| 1123 | |
| 1124 | 2013-03-14 Yao Qi <yao@codesourcery.com> |
| 1125 | |
| 1126 | * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace |
| 1127 | status to tfile if trace is stopped by command 'tstop'. |
| 1128 | |
| 1129 | 2013-03-14 Yao Qi <yao@codesourcery.com> |
| 1130 | |
| 1131 | * tracepoint.c (tfile_write_status): Write trace notes and user |
| 1132 | name into tfile if they are not NULL. |
| 1133 | |
| 1134 | 2013-03-14 Hui Zhu <hui@codesourcery.com> |
| 1135 | Yao Qi <yao@codesourcery.com> |
| 1136 | |
| 1137 | * Makefile.in (REMOTE_OBS): Add ctf.o. |
| 1138 | (SFILES): Add ctf.c. |
| 1139 | (HFILES_NO_SRCDIR): Add ctf.h. |
| 1140 | * ctf.c, ctf.h: New files. |
| 1141 | * tracepoint.c: Include 'ctf.h'. |
| 1142 | (collect_pseudocommand): Remove static. |
| 1143 | (trace_save_command): Parse option "-ctf". |
| 1144 | Produce different trace file writers per option. |
| 1145 | Adjust output message. |
| 1146 | (trace_save_tfile, trace_save_ctf): New. |
| 1147 | * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare. |
| 1148 | * mi/mi-main.c: Include 'ctf.h'. |
| 1149 | (mi_cmd_trace_save): Handle option '-ctf'. Call either |
| 1150 | trace_save_tfile or trace_save_ctf. |
| 1151 | * NEWS: Mention these changes. |
| 1152 | |
| 1153 | 2013-03-14 Yao Qi <yao@codesourcery.com> |
| 1154 | |
| 1155 | * tracepoint.c (trace_file_writer_xfree): New. |
| 1156 | (struct tfile_writer_data): New. |
| 1157 | (tfile_dtor, tfile_can_target_save, tfile_start): New. |
| 1158 | (tfile_write_header, tfile_write_regblock_type): New. |
| 1159 | (tfile_write_status, tfile_write_uploaded_tsv): New. |
| 1160 | (tfile_write_uploaded_tp, tfile_write_definition_end): New. |
| 1161 | (tfile_write_raw_data, (tfile_end): New. |
| 1162 | (tfile_write_ops): New global variable. |
| 1163 | (TRACE_WRITE_R_BLOCK): New macro. |
| 1164 | (TRACE_WRITE_M_BLOCK_HEADER): New macro. |
| 1165 | (TRACE_WRITE_M_BLOCK_MEMORY): New macro. |
| 1166 | (TRACE_WRITE_V_BLOCK): New macro. |
| 1167 | (trace_save): Add extra one parameter WRITER. Make it static. |
| 1168 | Use WRITER to writer trace. |
| 1169 | (tfile_trace_file_writer_new): New. |
| 1170 | (trace_save_command): Caller update. |
| 1171 | (trace_save_tfile): Write trace data in TFILE format. |
| 1172 | * tracepoint.h (struct trace_frame_write_ops): New. |
| 1173 | (struct trace_file_write_ops): New. |
| 1174 | (struct trace_file_writer): New. |
| 1175 | (trace_save): Remove its declaration. |
| 1176 | (trace_save_tfile): Declare it. |
| 1177 | * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile |
| 1178 | instead of trace_save. |
| 1179 | |
| 1180 | 2013-03-13 Pedro Alves <palves@redhat.com> |
| 1181 | |
| 1182 | * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static. |
| 1183 | |
| 1184 | 2013-03-13 Pedro Alves <palves@redhat.com> |
| 1185 | |
| 1186 | * dbxread.c (read_ofile_symtab, process_one_symbol): Remove |
| 1187 | commented out code. |
| 1188 | * demangle.c (current_demangling_style_string): Make it const. |
| 1189 | (set_demangling_command): Assert the demangling style is known. |
| 1190 | Remove all handling of unknown styles. Set |
| 1191 | 'current_demangling_style_string' to an element of the |
| 1192 | demangling_style_names array. |
| 1193 | (set_demangling_style): Delete. |
| 1194 | (_initialize_demangler): Set current_demangling_style_string to the |
| 1195 | element of the demangling_style_names array that corresponds to |
| 1196 | the default demangling style. Remove FIXME note. Don't call |
| 1197 | set_demangling_style. |
| 1198 | * gdb-demangle.h (set_demangling_style): Remove declaration. |
| 1199 | |
| 1200 | 2013-03-13 Pedro Alves <palves@redhat.com> |
| 1201 | |
| 1202 | * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make |
| 1203 | fields const. |
| 1204 | (ada_make_symbol_completion_list): Make "text0" parameter const. |
| 1205 | * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const. |
| 1206 | * breakpoint.c (condition_completer): Make "text" and "word" |
| 1207 | parameters const. Adjust. |
| 1208 | (check_tracepoint_command): Adjust to validate_actionline |
| 1209 | prototype change. |
| 1210 | (catch_syscall_completer): Make "text" and "word" parameters |
| 1211 | const. |
| 1212 | * cli/cli-cmds.c (show_user): Make "comname" local const. |
| 1213 | (valid_command_p): Make "command" parameter const. |
| 1214 | (alias_command): Make "alias_prefix" and "command_prefix" locals |
| 1215 | const. |
| 1216 | * cli/cli-decode.c (add_cmd): Make "name" parameter const. |
| 1217 | (add_alias_cmd): Make "name" and "oldname" parameters const. |
| 1218 | Adjust. No longer make copy of OLDNAME. |
| 1219 | (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd) |
| 1220 | (add_setshow_cmd_full, add_setshow_enum_cmd) |
| 1221 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) |
| 1222 | (add_setshow_filename_cmd, add_setshow_string_cmd) |
| 1223 | (add_setshow_string_noescape_cmd) |
| 1224 | (add_setshow_optional_filename_cmd, add_setshow_integer_cmd) |
| 1225 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd) |
| 1226 | (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd) |
| 1227 | (delete_cmd, add_info, add_info_alias, add_com, add_com_alias): |
| 1228 | Make "name" parameter const. |
| 1229 | (help_cmd): Rename "command" parameter to "arg". New const local |
| 1230 | "command". |
| 1231 | (find_cmd): Make "command" parameter const. |
| 1232 | (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to |
| 1233 | deprecated_cmd_warning prototype change. |
| 1234 | (undef_cmd_error): Make "cmdtype" parameter const. |
| 1235 | (lookup_cmd): Make "line" parameter const. |
| 1236 | (deprecated_cmd_warning): Change type of "text" parameter to |
| 1237 | pointer to const char, from pointer to pointer to char. Adjust. |
| 1238 | (lookup_cmd_composition): Make "text" parameter const. |
| 1239 | (complete_on_cmdlist, complete_on_enum): Make "text" and "word" |
| 1240 | parameters const. |
| 1241 | * cli/cli-decode.h (struct cmd_list_element) <name>: Make field |
| 1242 | const. |
| 1243 | * cli/cli-script.c (validate_comname): Make "tem" local const. |
| 1244 | (define_command): New const local "tem_c". Use it in calls to |
| 1245 | lookup_cmd. |
| 1246 | (document_command): Make "tem" and "comfull" locals const. |
| 1247 | (show_user_1): Make "prefix" and "name" parameters const. |
| 1248 | * cli-script.h (show_user_1): Make "prefix" and "name" parameters |
| 1249 | const. |
| 1250 | * command.h (add_cmd, add_alias_cmd, add_prefix_cmd) |
| 1251 | (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1) |
| 1252 | (deprecated_cmd_warning, lookup_cmd_composition, add_com) |
| 1253 | (add_com_alias, add_info, add_info_alias, complete_on_cmdlist) |
| 1254 | (complete_on_enum, add_setshow_enum_cmd) |
| 1255 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) |
| 1256 | (add_setshow_filename_cmd, add_setshow_string_cmd) |
| 1257 | (add_setshow_string_noescape_cmd) |
| 1258 | (add_setshow_optional_filename_cmd, add_setshow_integer_cmd) |
| 1259 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd) |
| 1260 | (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd): |
| 1261 | Change prototypes, constifying strings. |
| 1262 | * completer.c (noop_completer, filename_completer): Make "text" |
| 1263 | and "prefix" parameters const. |
| 1264 | (location_completer, expression_completer) |
| 1265 | (complete_line_internal): Make "text" and "prefix" parameters |
| 1266 | const and adjust. |
| 1267 | (command_completer, signal_completer): Make "text" and "prefix" |
| 1268 | parameters const. |
| 1269 | * completer.h (noop_completer, filename_completer) |
| 1270 | (expression_completer, location_completer, command_completer) |
| 1271 | (signal_completer): Change prototypes. |
| 1272 | * corefile.c (complete_set_gnutarget): Make "text" and "word" |
| 1273 | parameters const. |
| 1274 | * cp-abi.c (cp_abi_completer): Likewise. |
| 1275 | * expression.h (parse_expression_for_completion): Change |
| 1276 | prototype. |
| 1277 | * f-lang.c (f_make_symbol_completion_list): Make "text" and "word" |
| 1278 | parameters const. |
| 1279 | * infcmd.c (_initialize_infcmd): Make "cmd_name" local const. |
| 1280 | * infrun.c (handle_completer): Make "text" and "word" parameters |
| 1281 | const. |
| 1282 | * interps.c (interpreter_completer): Make "text" and "word" |
| 1283 | parameters const. |
| 1284 | * language.h (struct language_defn) |
| 1285 | <la_make_symbol_completion_list>: Make "text" and "word" |
| 1286 | parameters const. |
| 1287 | * parse.c (parse_exp_1): Move const hack to parse_exp_in_context. |
| 1288 | (parse_exp_in_context): Rename to ... |
| 1289 | (parse_exp_in_context_1): ... this. |
| 1290 | (parse_exp_in_context): Reimplement, with const hack from |
| 1291 | parse_exp_1. |
| 1292 | (parse_expression_for_completion): Make "string" parameter const. |
| 1293 | * printcmd.c (decode_format): Make "string_ptr" parameter pointer |
| 1294 | to pointer to const char. Adjust. |
| 1295 | (print_command_1): Make "exp" parameter const. |
| 1296 | (output_command): Rename to ... |
| 1297 | (output_command_const): ... this. Make "exp" parameter const. |
| 1298 | (output_command): Reimplement. |
| 1299 | (x_command): Adjust. |
| 1300 | (display_command): Rename "exp" parameter to "arg". New "exp" |
| 1301 | local, const version of "arg". |
| 1302 | * python/py-auto-load.c (gdbpy_initialize_auto_load): Make |
| 1303 | "cmd_name" local const. |
| 1304 | * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree |
| 1305 | call. |
| 1306 | (cmdpy_completer): Make "text" and "word" parameters const. |
| 1307 | (gdbpy_parse_command_name): Make "prefix_text2" local const. |
| 1308 | * python/py-param.c (add_setshow_generic): Make "tmp_name" local |
| 1309 | const. |
| 1310 | * remote.c (_initialize_remote): Make "cmd_name" local const. |
| 1311 | * symtab.c (language_search_unquoted_string): Make "text" and "p" |
| 1312 | parameters const. Adjust. |
| 1313 | (completion_list_add_fields): Make "sym_text", "text" and "word" |
| 1314 | parameters const. |
| 1315 | (struct add_name_data) <sym_text, text, word>: Make fields const. |
| 1316 | (default_make_symbol_completion_list_break_on): Make "text" and |
| 1317 | "word" parameters const. Adjust locals. |
| 1318 | (default_make_symbol_completion_list) |
| 1319 | (make_symbol_completion_list, make_symbol_completion_type) |
| 1320 | (make_symbol_completion_list_fn): Make "text" and "word" |
| 1321 | parameters const. |
| 1322 | (make_file_symbol_completion_list): Make "text", "word" and |
| 1323 | "srcfile" parameters const. Adjust locals. |
| 1324 | (add_filename_to_list): Make "text" and "word" parameters const. |
| 1325 | (struct add_partial_filename_data) <text, word>: Make fields |
| 1326 | const. |
| 1327 | (make_source_files_completion_list): Make "text" and "word" |
| 1328 | parameters const. |
| 1329 | * symtab.h (default_make_symbol_completion_list_break_on) |
| 1330 | (default_make_symbol_completion_list, make_symbol_completion_list) |
| 1331 | (make_symbol_completion_type enum type_code) |
| 1332 | (make_symbol_completion_list_fn make_file_symbol_completion_list) |
| 1333 | (make_source_files_completion_list): Change prototype. |
| 1334 | * top.c (execute_command): Adjust to pass pointer to pointer to |
| 1335 | const char to lookup_cmd, and to deprecated_cmd_warning prototype |
| 1336 | change. |
| 1337 | (set_verbose): Make "cmdname" local const. |
| 1338 | * tracepoint.c (decode_agent_options): Make "exp" parameter const, |
| 1339 | and adjust. |
| 1340 | (validate_actionline): Make "line" parameter a pointer to const |
| 1341 | char, and adjust. |
| 1342 | (encode_actions_1): Make "action_exp" local const, and adjust. |
| 1343 | (encode_actions): Adjust. |
| 1344 | (replace_comma): Delete. |
| 1345 | (trace_dump_actions): Make "action_exp" and "next_comma" locals |
| 1346 | const, and adjust. Don't frob the action string while splitting |
| 1347 | it at commas. Instead, make a copy of each split substring in |
| 1348 | turn. |
| 1349 | (trace_dump_command): Adjust to validate_actionline prototype |
| 1350 | change. |
| 1351 | * tracepoint.h (decode_agent_options, decode_agent_options) |
| 1352 | (encode_actions, validate_actionline): Change prototypes. |
| 1353 | * valprint.h (output_command): Delete declaration. |
| 1354 | (output_command_const): Declare. |
| 1355 | * value.c (function_destroyer): Cast const away in xfree call. |
| 1356 | |
| 1357 | 2013-03-13 Pedro Alves <palves@redhat.com> |
| 1358 | |
| 1359 | * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL |
| 1360 | rather than casting 'const char * const *' to 'const char **'. |
| 1361 | * ada-lex.l (processInt): Make "trailer" local const. Remove |
| 1362 | 'const char **' cast. |
| 1363 | * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *' |
| 1364 | locals, and use those as strtol output pointer, instead than doing |
| 1365 | invalid casts to from 'const char **' to 'char **'. |
| 1366 | (_initialize_demangle): Remove cast. |
| 1367 | * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *' |
| 1368 | locals, and use those as strtol output pointer, instead than doing |
| 1369 | invalid casts to from 'const char **' to 'char **'. |
| 1370 | * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**' |
| 1371 | casts. |
| 1372 | * stap-probe.c (stap_parse_register_operand) |
| 1373 | (stap_parse_single_operand): Likewise. |
| 1374 | |
| 1375 | 2013-03-13 Yao Qi <yao@codesourcery.com> |
| 1376 | |
| 1377 | * tracepoint.c (tfile_get_trace_state_variable_value): Look for |
| 1378 | the last matched 'V' blcok in trace frame. |
| 1379 | |
| 1380 | 2013-03-12 Joel Brobecker <brobecker@adacore.com> |
| 1381 | |
| 1382 | * NEWS: Create a new section for the next release branch. |
| 1383 | Rename the section of the current branch, now that it has |
| 1384 | been cut. |
| 1385 | |
| 1386 | 2013-03-12 Joel Brobecker <brobecker@adacore.com> |
| 1387 | |
| 1388 | GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC) |
| 1389 | * version.in: Bump version to 7.6.50.20130312-cvs. |
| 1390 | |
| 1391 | 2013-03-12 Keith Seitz <keiths@redhat.com> |
| 1392 | |
| 1393 | * mi/mi-cmds.h (mi_execute_command): Make "cmd" const. |
| 1394 | * mi/mi-interp.c (mi_interpreter_exec): Make "command" const. |
| 1395 | Remove temporary copy of input string. |
| 1396 | (mi_execute_command_wrapper): Make "cmd" const. |
| 1397 | * mi/mi-main.c (mi_execute_command): Make "string_ptr" const. |
| 1398 | * mi/mi-parse.c (mi_parse_argv): Make "args" const. |
| 1399 | Use const strings. |
| 1400 | (mi_parse): Make "cmd" const. |
| 1401 | Use const strings. |
| 1402 | * mi/mi-parse.h (mi_parse): Make "cmd" const. |
| 1403 | |
| 1404 | 2013-03-12 Keith Seitz <keiths@redhat.com> |
| 1405 | |
| 1406 | * ada-lang.c (ada_read_renaming_var_value): Pass const |
| 1407 | pointer to expression string to parse_exp_1. |
| 1408 | (create_excep_cond_exprs): Likewise. |
| 1409 | * ax-gdb.c (agent_eval_command_one): Likewise. |
| 1410 | (maint_agent_printf_command): Likewise. |
| 1411 | Constify much of the string handling/parsing. |
| 1412 | * breakpoint.c (set_breakpoint_condition): Pass const |
| 1413 | pointer to expression string to parse_exp_1. |
| 1414 | (update_watchpoint): Likewise. |
| 1415 | (parse_cmd_to_aexpr): Constify string handling. |
| 1416 | Pass const pointer to parse_exp_1. |
| 1417 | (init_breakpoint_sal): Pass const pointer to parse_exp_1. |
| 1418 | (find_condition_and_thread): Likewise. |
| 1419 | Make TOK const. |
| 1420 | (watch_command_1): Make "arg" const. |
| 1421 | Constify string handling. |
| 1422 | Copy the expression string instead of changing the input |
| 1423 | string. |
| 1424 | (update_breakpoint_location): Pass const pointer to |
| 1425 | parse_exp_1. |
| 1426 | * eval.c (parse_and_eval_address): Make "exp" const. |
| 1427 | (parse_to_comma_and_eval): Make "expp" const. |
| 1428 | (parse_and_eval): Make "exp" const. |
| 1429 | * expression.h (parse_expression): Make argument const. |
| 1430 | (parse_exp_1): Make first argument const. |
| 1431 | * findcmd.c (parse_find_args): Treat "args" as const. |
| 1432 | * linespec.c (parse_linespec): Pass const pointer to |
| 1433 | linespec_expression_to_pc. |
| 1434 | (linespec_expression_to_pc): Make "exp_ptr" const. |
| 1435 | * parse.c (parse_exp_1): Make "stringptr" const. |
| 1436 | Make a copy of the expression to pass to parse_exp_in_context until |
| 1437 | this whole interface can be constified. |
| 1438 | (parse_expression): Make "string" const. |
| 1439 | * printcmd.c (ui_printf): Treat "arg" as const. |
| 1440 | Handle const strings. |
| 1441 | * tracepoint.c (validate_actionline): Pass const pointer to |
| 1442 | all calls to parse_exp_1. |
| 1443 | (encode_actions_1): Likewise. |
| 1444 | * value.h (parse_to_comma_and_eval): Make argument const. |
| 1445 | (parse_and_eval_address): Likewise. |
| 1446 | (parse_and_eval): Likewise. |
| 1447 | * varobj.c (varobj_create): Pass const pointer to parse_exp_1. |
| 1448 | (varobj_set_value): Likewise. |
| 1449 | * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and |
| 1450 | constify string handling. |
| 1451 | Pass const pointers to parse_and_eval_address and |
| 1452 | parse_to_comman_and_eval. |
| 1453 | * cli/cli-utils.c (skip_to_space): Rename to ... |
| 1454 | (skip_to_space_const): ... this. Handle const strings. |
| 1455 | * cli/cli-utils.h (skip_to_space): Turn into macro which invokes |
| 1456 | skip_to_space_const. |
| 1457 | (skip_to_space_const): Declare. |
| 1458 | * common/format.c (parse_format_string): Make "arg" const. |
| 1459 | Handle const strings. |
| 1460 | * common/format.h (parse_format_string): Make "arg" const. |
| 1461 | * gdbserver/ax.c (ax_printf): Make "format" const. |
| 1462 | * python/python.c (gdbpy_parse_and_eval): Do not make a copy |
| 1463 | of the expression string. |
| 1464 | |
| 1465 | 2013-03-12 Hui Zhu <hui@codesourcery.com> |
| 1466 | |
| 1467 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message. |
| 1468 | |
| 1469 | 2013-03-12 Yao Qi <yao@codesourcery.com> |
| 1470 | Hui Zhu <hui@codesourcery.com> |
| 1471 | |
| 1472 | * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert. |
| 1473 | (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and |
| 1474 | DW_OP_deref_size. |
| 1475 | |
| 1476 | 2013-03-12 Paul Hilfinger <hilfingr@adacore.com> |
| 1477 | |
| 1478 | * ada-lex.l (rules): Only recognize 'thread' as a |
| 1479 | delimiter when followed by numerals, as for c-exp.y. |
| 1480 | Use new rewind_to_char function to rewind the input for |
| 1481 | expression-delimiting tokens. |
| 1482 | (rewind_to_char): New function. |
| 1483 | |
| 1484 | 2013-03-11 Pedro Alves <palves@redhat.com> |
| 1485 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1486 | |
| 1487 | * configure: Regenerate. |
| 1488 | * configure.ac (check dynamic export flag): Link python test with |
| 1489 | $PYTHON_LIBS. |
| 1490 | |
| 1491 | 2013-03-11 Doug Evans <dje@google.com> |
| 1492 | Keith Seitz <keiths@redhat.com> |
| 1493 | |
| 1494 | * linespec.c (find_linespec_symbols): Call find_function_symbols |
| 1495 | first, and then call lookup_prefix_sym/find_method. |
| 1496 | |
| 1497 | 2013-03-11 Pedro Alves <palves@redhat.com> |
| 1498 | |
| 1499 | * charset.c (convert_between_encodings): Don't cast between |
| 1500 | different pointer to pointer types. Instead, make the 'inp' local |
| 1501 | be of the type iconv expects. |
| 1502 | (wchar_iterate): Don't cast between different pointer to pointer |
| 1503 | types. Instead, use new pointer local of the type iconv expects. |
| 1504 | * target.c (target_read_stralloc, target_fileio_read_stralloc): |
| 1505 | Add new local of type char pointer, and use it to get a |
| 1506 | char/string view of the byte buffer, instead of casting between |
| 1507 | pointer to pointer types. |
| 1508 | |
| 1509 | 2013-03-11 Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 1510 | |
| 1511 | * remote.c (remote_set_trace_buffer_size): Move != operator |
| 1512 | to the start of next line to fix an ARI warning. |
| 1513 | |
| 1514 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1515 | |
| 1516 | * NEWS: Add record changes. |
| 1517 | |
| 1518 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1519 | |
| 1520 | * record-btrace.c (btrace_insn_history): Omit the pc prefix in |
| 1521 | the instruction history disassembly. |
| 1522 | * disasm.c (dump_insns): Omit the pc prefix, if requested. |
| 1523 | * disasm.h (DISASSEMBLY_OMIT_PC): New. |
| 1524 | |
| 1525 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1526 | |
| 1527 | * Makefile.in (SFILES): Add record-btrace.c |
| 1528 | (COMMON_OBS): Add record-btrace.o |
| 1529 | * record-btrace.c: New. |
| 1530 | * objfiles.c: Include btrace.h. |
| 1531 | (free_objfile): call btrace_free_objfile. |
| 1532 | |
| 1533 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1534 | |
| 1535 | * target.c (target_call_history, target_call_history_from, |
| 1536 | target_call_history_range): New. |
| 1537 | * target.h (target_ops) <to_call_history, to_call_history_from, |
| 1538 | to_call_history_range>: New fields. |
| 1539 | (target_call_history, target_call_history_from, |
| 1540 | target_call_history_range): New declaration. |
| 1541 | * record.c (get_call_history_modifiers, cmd_record_call_history, |
| 1542 | record_call_history_size): New. |
| 1543 | (_initialize_record): Add the "record function-call-history" command. |
| 1544 | Add "set/show record function-call-history-size" commands. |
| 1545 | * record.h (record_print_flag): New. |
| 1546 | |
| 1547 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1548 | |
| 1549 | * target.h (target_ops) <to_insn_history, to_insn_history_from, |
| 1550 | to_insn_history_range>: New fields. |
| 1551 | (target_insn_history): New. |
| 1552 | (target_insn_history_from): New. |
| 1553 | (target_insn_history_range): New. |
| 1554 | * target.c (target_insn_history): New. |
| 1555 | (target_insn_history_from): New. |
| 1556 | (target_insn_history_range): New. |
| 1557 | * record.c: Include cli/cli-utils.h, disasm.h, ctype.h. |
| 1558 | (record_insn_history_size): New. |
| 1559 | (get_insn_number): New. |
| 1560 | (get_context_size): New. |
| 1561 | (no_chunk): New. |
| 1562 | (get_insn_history_modifiers): New. |
| 1563 | (cmd_record_insn_history): New. |
| 1564 | (_initialize_record): Add "set/show record instruction-history-size" |
| 1565 | command. Add "record instruction-history" command. |
| 1566 | |
| 1567 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1568 | |
| 1569 | * record.h (record_disconnect): New. |
| 1570 | (record_detach): New. |
| 1571 | (record_mourn_inferior): New. |
| 1572 | (record_kill): New. |
| 1573 | * record-full.c (record_disconnect, record_detach, |
| 1574 | record_mourn_inferior, record_kill): Move to... |
| 1575 | * record.c: ...here. |
| 1576 | (DEBUG): New. |
| 1577 | (record_stop): New. |
| 1578 | (record_unpush): New. |
| 1579 | (cmd_record_stop): Call record_stop. Replace unpush_target |
| 1580 | call with record_unpush call. |
| 1581 | (record_disconnect, record_detach): Assert that the target |
| 1582 | is of record stratum. Call record_unpush, record_stop, and |
| 1583 | DEBUG. |
| 1584 | (record_mourn_inferior, record_kill): Assert that the target |
| 1585 | is of record stratum. Call record_unpush and DEBUG. |
| 1586 | |
| 1587 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1588 | |
| 1589 | * record-full.h, record-full.c (record_memory_query): Rename |
| 1590 | to ... |
| 1591 | (record_full_memory_query): ...this. Update all users. |
| 1592 | (record_arch_list_add_reg): Rename to ... |
| 1593 | (record_full_arch_list_add_reg): ...this. Update all users. |
| 1594 | (record_arch_list_add_mem): Rename to ... |
| 1595 | (record_full_arch_list_add_mem): ...this. Update all users. |
| 1596 | (record_arch_list_add_end): Rename to ... |
| 1597 | (record_full_arch_list_add_end): ...this. Update all users. |
| 1598 | (record_gdb_operation_disable_set): Rename to ... |
| 1599 | (record_full_gdb_operation_disable_set): ...this. |
| 1600 | Update all users. |
| 1601 | |
| 1602 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1603 | |
| 1604 | * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ... |
| 1605 | (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users. |
| 1606 | (RECORD_IS_REPLAY): Renamed to ... |
| 1607 | (RECORD_FULL_IS_REPLAY): ... this. Updated all users. |
| 1608 | (RECORD_FILE_MAGIC): Renamed to ... |
| 1609 | (RECORD_FULL_FILE_MAGIC): ... this. Updated all users. |
| 1610 | (record_mem_entry): Renamed to ... |
| 1611 | (record_full_mem_entry): ... this. Updated all users. |
| 1612 | (record_reg_entry): Renamed to ... |
| 1613 | (record_full_reg_entry): ... this. Updated all users. |
| 1614 | (record_end_entry): Renamed to ... |
| 1615 | (record_full_end_entry): ... this. Updated all users. |
| 1616 | (record_type) <record_end, record_reg, record_mem>: Renamed |
| 1617 | to ... |
| 1618 | (record_full_type) <record_full_end, record_full_reg, |
| 1619 | record_full_mem>: ... this. Updated all users. |
| 1620 | (record_entry): Renamed to ... |
| 1621 | (record_full_entry): ... this. Updated all users. |
| 1622 | (record_core_buf_entry): Renamed to ... |
| 1623 | (record_full_core_buf_entry): ... this. Updated all users. |
| 1624 | (record_core_regbuf): Renamed to ... |
| 1625 | (record_full_core_regbuf): ... this. Updated all users. |
| 1626 | (record_core_start): Renamed to ... |
| 1627 | (record_full_core_start): ... this. Updated all users. |
| 1628 | (record_core_end): Renamed to ... |
| 1629 | (record_full_core_end): ... this. Updated all users. |
| 1630 | (record_core_buf_list): Renamed to ... |
| 1631 | (record_full_core_buf_list): ... this. Updated all users. |
| 1632 | (record_first): Renamed to ... |
| 1633 | (record_full_first): ... this. Updated all users. |
| 1634 | (record_list): Renamed to ... |
| 1635 | (record_full_list): ... this. Updated all users. |
| 1636 | (record_arch_list_head): Renamed to ... |
| 1637 | (record_full_arch_list_head): ... this. Updated all users. |
| 1638 | (record_arch_list_tail): Renamed to ... |
| 1639 | (record_full_arch_list_tail): ... this. Updated all users. |
| 1640 | (record_stop_at_limit): Renamed to ... |
| 1641 | (record_full_stop_at_limit): ... this. Updated all users. |
| 1642 | (record_insn_max_num): Renamed to ... |
| 1643 | (record_full_insn_max_num): ... this. Updated all users. |
| 1644 | (record_insn_num): Renamed to ... |
| 1645 | (record_full_insn_num): ... this. Updated all users. |
| 1646 | (record_insn_count): Renamed to ... |
| 1647 | (record_full_insn_count): ... this. Updated all users. |
| 1648 | (record_ops): Renamed to ... |
| 1649 | (record_full_ops): ... this. Updated all users. |
| 1650 | (record_core_ops): Renamed to ... |
| 1651 | (record_full_core_ops): ... this. Updated all users. |
| 1652 | (set_record_cmdlist): Renamed to ... |
| 1653 | (set_record_full_cmdlist): ... this. Updated all users. |
| 1654 | (show_record_cmdlist): Renamed to ... |
| 1655 | (show_record_full_cmdlist): ... this. Updated all users. |
| 1656 | (record_cmdlist): Renamed to ... |
| 1657 | (record_full_cmdlist): ... this. Updated all users. |
| 1658 | (record_beneath_to_resume_ops): Renamed to ... |
| 1659 | (record_full_beneath_to_resume_ops): ... this. Updated all users. |
| 1660 | (record_beneath_to_resume): Renamed to ... |
| 1661 | (record_full_beneath_to_resume): ... this. Updated all users. |
| 1662 | (record_beneath_to_wait_ops): Renamed to ... |
| 1663 | (record_full_beneath_to_wait_ops): ... this. Updated all users. |
| 1664 | (record_beneath_to_wait): Renamed to ... |
| 1665 | (record_full_beneath_to_wait): ... this. Updated all users. |
| 1666 | (record_beneath_to_store_registers_ops): Renamed to ... |
| 1667 | (record_full_beneath_to_store_registers_ops): ... this. |
| 1668 | Updated all users. |
| 1669 | (record_beneath_to_store_registers): Renamed to ... |
| 1670 | (record_full_beneath_to_store_registers): ... this. |
| 1671 | Updated all users. |
| 1672 | (record_beneath_to_xfer_partial_ops): Renamed to ... |
| 1673 | (record_full_beneath_to_xfer_partial_ops): ... this. |
| 1674 | Updated all users. |
| 1675 | (record_beneath_to_xfer_partial): Renamed to ... |
| 1676 | (record_full_beneath_to_xfer_partial): ... this. |
| 1677 | Updated all users. |
| 1678 | (record_beneath_to_insert_breakpoint): Renamed to ... |
| 1679 | (record_full_beneath_to_insert_breakpoint): ... this. |
| 1680 | Updated all users. |
| 1681 | (record_beneath_to_stopped_by_watchpoint): Renamed to ... |
| 1682 | (record_full_beneath_to_stopped_by_watchpoint): ... this. |
| 1683 | Updated all users. |
| 1684 | (record_beneath_to_stopped_data_address): Renamed to ... |
| 1685 | (record_full_beneath_to_stopped_data_address): ... this. |
| 1686 | Updated all users. |
| 1687 | (record_beneath_to_async): Renamed to ... |
| 1688 | (record_full_beneath_to_async): ... this. Updated all users. |
| 1689 | (record_goto_insn): Renamed to ... |
| 1690 | (record_full_goto_insn): ... this. Updated all users. |
| 1691 | (record_save): Renamed to ... |
| 1692 | (record_full_save): ... this. Updated all users. |
| 1693 | (record_reg_alloc): Renamed to ... |
| 1694 | (record_full_reg_alloc): ... this. Updated all users. |
| 1695 | (record_reg_release): Renamed to ... |
| 1696 | (record_full_reg_release): ... this. Updated all users. |
| 1697 | (record_mem_alloc): Renamed to ... |
| 1698 | (record_full_mem_alloc): ... this. Updated all users. |
| 1699 | (record_mem_release): Renamed to ... |
| 1700 | (record_full_mem_release): ... this. Updated all users. |
| 1701 | (record_end_alloc): Renamed to ... |
| 1702 | (record_full_end_alloc): ... this. Updated all users. |
| 1703 | (record_end_release): Renamed to ... |
| 1704 | (record_full_end_release): ... this. Updated all users. |
| 1705 | (record_entry_release): Renamed to ... |
| 1706 | (record_full_entry_release): ... this. Updated all users. |
| 1707 | (record_list_release): Renamed to ... |
| 1708 | (record_full_list_release): ... this. Updated all users. |
| 1709 | (record_list_release_following): Renamed to ... |
| 1710 | (record_full_list_release_following): ... this. |
| 1711 | Updated all users. |
| 1712 | (record_list_release_first): Renamed to ... |
| 1713 | (record_full_list_release_first): ... this. Updated all users. |
| 1714 | (record_arch_list_add): Renamed to ... |
| 1715 | (record_full_arch_list_add): ... this. Updated all users. |
| 1716 | (record_get_loc): Renamed to ... |
| 1717 | (record_full_get_loc): ... this. Updated all users. |
| 1718 | (record_check_insn_num): Renamed to ... |
| 1719 | (record_full_check_insn_num): ... this. Updated all users. |
| 1720 | (record_arch_list_cleanups): Renamed to ... |
| 1721 | (record_full_arch_list_cleanups): ... this. Updated all users. |
| 1722 | (record_message): Renamed to ... |
| 1723 | (record_full_message): ... this. Updated all users. |
| 1724 | (record_message_wrapper): Renamed to ... |
| 1725 | (record_full_message_wrapper): ... this. Updated all users. |
| 1726 | (record_message_wrapper_safe): Renamed to ... |
| 1727 | (record_full_message_wrapper_safe): ... this. Updated all users. |
| 1728 | (record_gdb_operation_disable): Renamed to ... |
| 1729 | (record_full_gdb_operation_disable): ... this. Updated all users. |
| 1730 | (record_hw_watchpoint): Renamed to ... |
| 1731 | (record_full_hw_watchpoint): ... this. Updated all users. |
| 1732 | (record_exec_insn): Renamed to ... |
| 1733 | (record_full_exec_insn): ... this. Updated all users. |
| 1734 | (record_restore): Renamed to ... |
| 1735 | (record_full_restore): ... this. Updated all users. |
| 1736 | (record_async_inferior_event_token): Renamed to ... |
| 1737 | (record_full_async_inferior_event_token): ... this. |
| 1738 | Updated all users. |
| 1739 | (record_async_inferior_event_handler): Renamed to ... |
| 1740 | (record_full_async_inferior_event_handler): ... this. |
| 1741 | Updated all users. |
| 1742 | (record_core_open_1): Renamed to ... |
| 1743 | (record_full_core_open_1): ... this. Updated all users. |
| 1744 | (record_open_1): Renamed to ... |
| 1745 | (record_full_open_1): ... this. Updated all users. |
| 1746 | (record_open): Renamed to ... |
| 1747 | (record_full_open): ... this. Updated all users. |
| 1748 | (record_close): Renamed to ... |
| 1749 | (record_full_close): ... this. Updated all users. |
| 1750 | (record_resume_step): Renamed to ... |
| 1751 | (record_full_resume_step): ... this. Updated all users. |
| 1752 | (record_resumed): Renamed to ... |
| 1753 | (record_full_resumed): ... this. Updated all users. |
| 1754 | (record_execution_dir): Renamed to ... |
| 1755 | (record_full_execution_dir): ... this. Updated all users. |
| 1756 | (record_resume): Renamed to ... |
| 1757 | (record_full_resume): ... this. Updated all users. |
| 1758 | (record_get_sig): Renamed to ... |
| 1759 | (record_full_get_sig): ... this. Updated all users. |
| 1760 | (record_sig_handler): Renamed to ... |
| 1761 | (record_full_sig_handler): ... this. Updated all users. |
| 1762 | (record_wait_cleanups): Renamed to ... |
| 1763 | (record_full_wait_cleanups): ... this. Updated all users. |
| 1764 | (record_wait_1): Renamed to ... |
| 1765 | (record_full_wait_1): ... this. Updated all users. |
| 1766 | (record_wait): Renamed to ... |
| 1767 | (record_full_wait): ... this. Updated all users. |
| 1768 | (record_stopped_by_watchpoint): Renamed to ... |
| 1769 | (record_full_stopped_by_watchpoint): ... this. Updated all users. |
| 1770 | (record_disconnect): Renamed to ... |
| 1771 | (record_full_disconnect): ... this. Updated all users. |
| 1772 | (record_detach): Renamed to ... |
| 1773 | (record_full_detach): ... this. Updated all users. |
| 1774 | (record_mourn_inferior): Renamed to ... |
| 1775 | (record_full_mourn_inferior): ... this. Updated all users. |
| 1776 | (record_kill): Renamed to ... |
| 1777 | (record_full_kill): ... this. Updated all users. |
| 1778 | (record_stopped_data_address): Renamed to ... |
| 1779 | (record_full_stopped_data_address): ... this. Updated all users. |
| 1780 | (record_registers_change): Renamed to ... |
| 1781 | (record_full_registers_change): ... this. Updated all users. |
| 1782 | (record_store_registers): Renamed to ... |
| 1783 | (record_full_store_registers): ... this. Updated all users. |
| 1784 | (record_xfer_partial): Renamed to ... |
| 1785 | (record_full_xfer_partial): ... this. Updated all users. |
| 1786 | (record_breakpoint): Renamed to ... |
| 1787 | (record_full_breakpoint): ... this. Updated all users. |
| 1788 | (record_breakpoint_p): Renamed to ... |
| 1789 | (record_full_breakpoint_p): ... this. Updated all users. |
| 1790 | (record_breakpoints): Renamed to ... |
| 1791 | (record_full_breakpoints): ... this. Updated all users. |
| 1792 | (record_sync_record_breakpoints): Renamed to ... |
| 1793 | (record_full_sync_record_breakpoints): ... this. |
| 1794 | Updated all users. |
| 1795 | (record_init_record_breakpoints): Renamed to ... |
| 1796 | (record_full_init_record_breakpoints): ... this. |
| 1797 | Updated all users. |
| 1798 | (record_insert_breakpoint): Renamed to ... |
| 1799 | (record_full_insert_breakpoint): ... this. Updated all users. |
| 1800 | (record_remove_breakpoint): Renamed to ... |
| 1801 | (record_full_remove_breakpoint): ... this. Updated all users. |
| 1802 | (record_can_execute_reverse): Renamed to ... |
| 1803 | (record_full_can_execute_reverse): ... this. Updated all users. |
| 1804 | (record_get_bookmark): Renamed to ... |
| 1805 | (record_full_get_bookmark): ... this. Updated all users. |
| 1806 | (record_goto_bookmark): Renamed to ... |
| 1807 | (record_full_goto_bookmark): ... this. Updated all users. |
| 1808 | (record_async): Renamed to ... |
| 1809 | (record_full_async): ... this. Updated all users. |
| 1810 | (record_can_async_p): Renamed to ... |
| 1811 | (record_full_can_async_p): ... this. Updated all users. |
| 1812 | (record_is_async_p): Renamed to ... |
| 1813 | (record_full_is_async_p): ... this. Updated all users. |
| 1814 | (record_execution_direction): Renamed to ... |
| 1815 | (record_full_execution_direction): ... this. Updated all users. |
| 1816 | (record_info): Renamed to ... |
| 1817 | (record_full_info): ... this. Updated all users. |
| 1818 | (record_delete): Renamed to ... |
| 1819 | (record_full_delete): ... this. Updated all users. |
| 1820 | (record_is_replaying): Renamed to ... |
| 1821 | (record_full_is_replaying): ... this. Updated all users. |
| 1822 | (record_goto_entry): Renamed to ... |
| 1823 | (record_full_goto_entry): ... this. Updated all users. |
| 1824 | (record_goto_begin): Renamed to ... |
| 1825 | (record_full_goto_begin): ... this. Updated all users. |
| 1826 | (record_goto_end): Renamed to ... |
| 1827 | (record_full_goto_end): ... this. Updated all users. |
| 1828 | (record_goto): Renamed to ... |
| 1829 | (record_full_goto): ... this. Updated all users. |
| 1830 | (init_record_ops): Renamed to ... |
| 1831 | (init_record_full_ops): ... this. Updated all users. |
| 1832 | (record_core_resume): Renamed to ... |
| 1833 | (record_full_core_resume): ... this. Updated all users. |
| 1834 | (record_core_kill): Renamed to ... |
| 1835 | (record_full_core_kill): ... this. Updated all users. |
| 1836 | (record_core_fetch_registers): Renamed to ... |
| 1837 | (record_full_core_fetch_registers): ... this. Updated all users. |
| 1838 | (record_core_prepare_to_store): Renamed to ... |
| 1839 | (record_full_core_prepare_to_store): ... this. Updated all users. |
| 1840 | (record_core_store_registers): Renamed to ... |
| 1841 | (record_full_core_store_registers): ... this. Updated all users. |
| 1842 | (record_core_xfer_partial): Renamed to ... |
| 1843 | (record_full_core_xfer_partial): ... this. Updated all users. |
| 1844 | (record_core_insert_breakpoint): Renamed to ... |
| 1845 | (record_full_core_insert_breakpoint): ... this. Updated all users. |
| 1846 | (record_core_remove_breakpoint): Renamed to ... |
| 1847 | (record_full_core_remove_breakpoint): ... this. Updated all users. |
| 1848 | (record_core_has_execution): Renamed to ... |
| 1849 | (record_full_core_has_execution): ... this. Updated all users. |
| 1850 | (init_record_core_ops): Renamed to ... |
| 1851 | (init_record_full_core_ops): ... this. Updated all users. |
| 1852 | (cmd_record_restore): Renamed to ... |
| 1853 | (cmd_record_full_restore): ... this. Updated all users. |
| 1854 | (record_save_cleanups): Renamed to ... |
| 1855 | (record_full_save_cleanups): ... this. Updated all users. |
| 1856 | (cmd_record_start): Renamed to ... |
| 1857 | (cmd_record_full_start): ... this. Updated all users. |
| 1858 | (set_record_insn_max_num): Renamed to ... |
| 1859 | (set_record_full_insn_max_num): ... this. Updated all users. |
| 1860 | (set_record_command): Renamed to ... |
| 1861 | (set_record_full_command): ... this. Updated all users. |
| 1862 | (show_record_command): Renamed to ... |
| 1863 | (show_record_full_command): ... this. Updated all users. |
| 1864 | (_initialize_record): Renamed to ... |
| 1865 | (_initialize_record_full): ... this. Updated all users. |
| 1866 | |
| 1867 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1868 | |
| 1869 | * record.h: Split into this and ... |
| 1870 | * record-full.h: ... this. |
| 1871 | * record.c: Split into this and ... |
| 1872 | * record-full.c: ... this. |
| 1873 | * target.h (target_ops): Add new fields to_info_record, |
| 1874 | to_save_record, to_delete_record, to_record_is_replaying, |
| 1875 | to_goto_record_begin, to_goto_record_end, to_goto_record. |
| 1876 | (target_info_record): New. |
| 1877 | (target_save_record): New. |
| 1878 | (target_supports_delete_record): New. |
| 1879 | (target_delete_record): New. |
| 1880 | (target_record_is_replaying): New. |
| 1881 | (target_goto_record_begin): New. |
| 1882 | (target_goto_record_end): New. |
| 1883 | (target_goto_record): New. |
| 1884 | * target.c (target_info_record): New. |
| 1885 | (target_save_record): New. |
| 1886 | (target_supports_delete_record): New. |
| 1887 | (target_delete_record): New. |
| 1888 | (target_record_is_replaying): New. |
| 1889 | (target_goto_record_begin): New. |
| 1890 | (target_goto_record_end): New. |
| 1891 | (target_goto_record): New. |
| 1892 | * record.h: Declare struct cmd_list_element. |
| 1893 | (record_cmdlist): New declaration. |
| 1894 | (set_record_cmdlist): New declaration. |
| 1895 | (show_record_cmdlist): New declaration. |
| 1896 | (info_record_cmdlist): New declaration. |
| 1897 | (cmd_record_goto): New declaration. |
| 1898 | * record.c: Remove unnecessary includes. |
| 1899 | Include inferior.h. |
| 1900 | (cmd_record_goto): Remove declaration. |
| 1901 | (record_cmdlist): Now extern. Initialize. |
| 1902 | (set_record_cmdlist): Now extern. Initialize. |
| 1903 | (show_record_cmdlist): Now extern. Initialize. |
| 1904 | (info_record_cmdlist): Now extern. Initialize. |
| 1905 | (find_record_target): New. |
| 1906 | (require_record_target): New. |
| 1907 | (cmd_record_start): Update. |
| 1908 | (cmd_record_delete): Remove target-specific code. |
| 1909 | Call target_delete_record. |
| 1910 | (cmd_record_stop): Unpush any record target. |
| 1911 | (set_record_insn_max_num): Move to record-full.c |
| 1912 | (set_record_command): Add comment. |
| 1913 | (show_record_command): Add comment. |
| 1914 | (info_record_command): Update comment. |
| 1915 | Remove target-specific code. |
| 1916 | Call the record target's to_info_record. |
| 1917 | (cmd_record_start): New. |
| 1918 | (cmd_record_goto): Now extern. |
| 1919 | Remove target-specific code. |
| 1920 | Call target_goto_begin, target_goto_end, or target_goto. |
| 1921 | (_initialize_record): Move record target ops initialization to |
| 1922 | record-full.c. |
| 1923 | Change "record" command help text. |
| 1924 | Move "record restore", "record set", and "record show" commands to |
| 1925 | record-full.c. |
| 1926 | * Makefile.in (SFILES): Add record-full.c. |
| 1927 | (HFILES_NO_SRCDIR): Add record-full.h. |
| 1928 | (COMMON_OBS): Add record-full.o. |
| 1929 | * amd64-linux-tdep.c: Include record-full.h instead of record.h. |
| 1930 | * arm-tdep.c: Include record-full.h. |
| 1931 | * i386-linux-tdep.c: Include record-full.h instead of record.h. |
| 1932 | * i386-tdep.c: Include record-full.h. |
| 1933 | * infrun.c: Include record-full.h. |
| 1934 | * linux-record.c: Include record-full.h. |
| 1935 | * moxie-tdep.c: Include record-full.h. |
| 1936 | * record-full.c: Include record-full.h. |
| 1937 | Change module comment. |
| 1938 | (set_record_full_cmdlist): New. |
| 1939 | (show_record_full_cmdlist): New. |
| 1940 | (record_full_cmdlist): New. |
| 1941 | (record_goto_insn): New declaration. |
| 1942 | (record_save): New declaration. |
| 1943 | (record_check_insn_num): Change query string. |
| 1944 | (record_info): New. |
| 1945 | (record_delete): New. |
| 1946 | (record_is_replaying): New. |
| 1947 | (record_goto_entry): New. |
| 1948 | (record_goto_begin): New. |
| 1949 | (record_goto_end): New. |
| 1950 | (record_goto): New. |
| 1951 | (init_record_ops): Update. |
| 1952 | (init_record_core_ops): Update. |
| 1953 | (cmd_record_save): Rename to record_save. Remove target and arg checks. |
| 1954 | (cmd_record_start): New. |
| 1955 | (set_record_insn_max_num): Moved from record.c |
| 1956 | (set_record_full_command): New. |
| 1957 | (show_record_full_command): New. |
| 1958 | (_initialize_record_full): New. |
| 1959 | |
| 1960 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1961 | |
| 1962 | * target.h (add_deprecated_target_alias): New. |
| 1963 | * target.c (add_deprecated_target_alias): New. |
| 1964 | |
| 1965 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1966 | |
| 1967 | * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h, |
| 1968 | and signal.h. |
| 1969 | (linux_supports_btrace): Add kernel and |
| 1970 | cpuid check. |
| 1971 | (kernel_supports_btrace): New function. |
| 1972 | (cpu_supports_btrace): New function. |
| 1973 | (intel_supports_btrace): New function. |
| 1974 | |
| 1975 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1976 | |
| 1977 | * target.h (enum target_object): Add TARGET_OBJECT_BTRACE. |
| 1978 | * remote.c: Include btrace.h. |
| 1979 | (struct btrace_target_info): New struct. |
| 1980 | (remote_supports_btrace): New function. |
| 1981 | (send_Qbtrace): New function. |
| 1982 | (remote_enable_btrace): New function. |
| 1983 | (remote_disable_btrace): New function. |
| 1984 | (remote_teardown_btrace): New function. |
| 1985 | (remote_read_btrace): New function. |
| 1986 | (init_remote_ops): Add btrace ops. |
| 1987 | (enum <unnamed>): Add btrace packets. |
| 1988 | (struct protocol_feature remote_protocol_features[]): Add btrace packets. |
| 1989 | (_initialize_remote): Add packet configuration for branch tracing. |
| 1990 | |
| 1991 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 1992 | |
| 1993 | * features/btrace.dtd: New file. |
| 1994 | * Makefile.in (XMLFILES): Add btrace.dtd. |
| 1995 | * btrace.h (parse_xml_btrace): New declaration. |
| 1996 | * btrace.c: Include xml-support.h. |
| 1997 | (parse_xml_btrace): New function. |
| 1998 | (parse_xml_btrace_block): New function. |
| 1999 | (block_attributes): New struct. |
| 2000 | (btrace_attributes): New struct. |
| 2001 | (btrace_children): New struct. |
| 2002 | (btrace_elements): New struct. |
| 2003 | |
| 2004 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 2005 | |
| 2006 | * amd64-linux-nat.c: Include btrace.h and linux-btrace.h. |
| 2007 | (amd64_linux_enable_btrace): New. |
| 2008 | (amd64_linux_disable_btrace): New. |
| 2009 | (amd64_linux_teardown_btrace): New. |
| 2010 | (_initialize_amd64_linux_nat): Initialize btrace ops. |
| 2011 | * i386-linux.nat.c: Include btrace.h and linux-btrace.h. |
| 2012 | (i386_linux_enable_btrace): New. |
| 2013 | (i386_linux_disable_btrace): New. |
| 2014 | (i386_linux_teardown_btrace): New. |
| 2015 | (_initialize_i386_linux_nat): Initialize btrace ops. |
| 2016 | * config/i386/linux.mh: Add linux-btrace.o. |
| 2017 | * config/i386/linux64.mh: Add linux-btrace.o. |
| 2018 | |
| 2019 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 2020 | |
| 2021 | * common/linux_btrace.h: New file. |
| 2022 | * common/linux_btrace.c: New file. |
| 2023 | * Makefile.in (SFILES): Add btrace.c. |
| 2024 | (HFILES_NO_SRCDIR): Add common/linux-btrace.h. |
| 2025 | (COMMON_OBS): Add btrace.o. |
| 2026 | (linux-btrace.o): New rule. |
| 2027 | |
| 2028 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 2029 | |
| 2030 | * target.h: Include btrace.h. |
| 2031 | (struct target_ops) <to_supports_btrace, to_enable_btrace, |
| 2032 | to_disable_btrace, to_teardown_btrace, to_read_btrace>: New. |
| 2033 | * target.c (target_supports_btrace): New function. |
| 2034 | (target_enable_btrace): New function. |
| 2035 | (target_disable_btrace): New function. |
| 2036 | (target_teardown_btrace): New function. |
| 2037 | (target_read_btrace): New function. |
| 2038 | * btrace.h: New file. |
| 2039 | * btrace.c: New file. |
| 2040 | * Makefile.in: Add btrace.c. |
| 2041 | * gdbthread.h: Include btrace.h. |
| 2042 | (struct thread_info): Add btrace field. |
| 2043 | * thread.c: Include btrace.h. |
| 2044 | (clear_thread_inferior_resources): Call target_teardown_btrace. |
| 2045 | * common/btrace-common.h: New file. |
| 2046 | |
| 2047 | 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2048 | |
| 2049 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill |
| 2050 | for CHILD, ignore PTRACE_KILL errors, move the inner block variable |
| 2051 | kill_status to outer block. |
| 2052 | |
| 2053 | 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2054 | |
| 2055 | Fix entry-values if the callee called a noreturn function. |
| 2056 | * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use |
| 2057 | get_frame_address_in_block. Add new comment. |
| 2058 | |
| 2059 | 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2060 | |
| 2061 | Fix entry-values in C++ across CUs. |
| 2062 | * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use |
| 2063 | lookup_minimal_symbol. Add a comment. |
| 2064 | * dwarf2read.c |
| 2065 | (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer |
| 2066 | DW_AT_linkage_name. |
| 2067 | |
| 2068 | 2013-03-08 Yao Qi <yao@codesourcery.com> |
| 2069 | |
| 2070 | * tracepoint.c (_initialize_tracepoint): Indent the code. |
| 2071 | |
| 2072 | 2013-03-08 Pedro Alves <palves@redhat.com> |
| 2073 | |
| 2074 | * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'. |
| 2075 | (parse_find_args, find_command): Change type of pattern buffer |
| 2076 | locals to 'gdb_byte *'. |
| 2077 | |
| 2078 | 2013-03-08 Stan Shebs <stan@codesourcery.com> |
| 2079 | Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 2080 | |
| 2081 | * NEWS: Mention set and show trace-buffer-size commands. |
| 2082 | Mention new packet. |
| 2083 | * target.h (struct target_ops): New method |
| 2084 | to_set_trace_buffer_size. |
| 2085 | (target_set_trace_buffer_size): New macro. |
| 2086 | * target.c (update_current_target): Set up new method. |
| 2087 | * tracepoint.c (trace_buffer_size): New global. |
| 2088 | (start_tracing): Send it to the target. |
| 2089 | (set_trace_buffer_size): New function. |
| 2090 | (_initialize_tracepoint): Add new setshow for trace-buffer-size. |
| 2091 | * remote.c (remote_set_trace_buffer_size): New function. |
| 2092 | (_initialize_remote): Use it. |
| 2093 | (QTBuffer:size) New remote command. |
| 2094 | (PACKET_QTBuffer_size): New enum. |
| 2095 | (remote_protocol_features): Add an entry for |
| 2096 | PACKET_QTBuffer_size. |
| 2097 | |
| 2098 | 2013-03-08 Tom Tromey <tromey@redhat.com> |
| 2099 | |
| 2100 | * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct |
| 2101 | variable. |
| 2102 | |
| 2103 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2104 | |
| 2105 | * target.c (target_read_stralloc, target_fileio_read_alloc): |
| 2106 | *Cast pointer to 'gdb_byte *' in target call. |
| 2107 | |
| 2108 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2109 | |
| 2110 | * corefile.c (read_memory_string): Cast pointer to gdb_byte* in |
| 2111 | call. |
| 2112 | |
| 2113 | 2013-03-07 Keith Seitz <keiths@redhat.com> |
| 2114 | |
| 2115 | * breakpoint.c (catch_syscall_split_args): Use skip_spaces. |
| 2116 | (trace_pass_command): Likewise. |
| 2117 | * cli/cli-cmds.c: Include cli/cli-utils.h. |
| 2118 | (source_command): Use skip-spaces. |
| 2119 | (disassemble_command): Likewise. |
| 2120 | * findcmd.c: Include cli/cli-utils.h. |
| 2121 | (parse_find_args): Use skip_spaces. |
| 2122 | * go32-nat.c: Include cli/cli-utils.h. |
| 2123 | (go32_sldt): Use skip_spaces. |
| 2124 | (go32_sgdt): Likewise. |
| 2125 | (go32_sidt): Likewise. |
| 2126 | (go32_pde): Likewise. |
| 2127 | (go32_pte): Likewise. |
| 2128 | (go32_pte_for_address): Likewise. |
| 2129 | * infcmd.c: Include cli/cli-utils.h. |
| 2130 | (registers_info): Use skip_spaces. |
| 2131 | * linux-tdep.c (read_mapping): Use skip_spaces_const. |
| 2132 | (linux_info_proc): Likewise. |
| 2133 | * linux-thread-db.c: Include cli/cli-utils.h. |
| 2134 | (info_auto_load_libthread_db): Use skip_spaces_const. |
| 2135 | * m32r-rom.c: Include cli/cli-utils.h. |
| 2136 | (m32r_upload_command): Use skip_spaces. |
| 2137 | * maint.c: Include cli/cli-utils.h. |
| 2138 | (maintenance_translate_address): Use skip_spaces. |
| 2139 | * mi/mi-parse.c: Include cli/cli-utils.h. |
| 2140 | (mi_parse_argv): Use skip_spaces. |
| 2141 | (mi_parse): Likewise. |
| 2142 | * minsyms.c: Include cli/cli-utils.h. |
| 2143 | (msymbol_hash_iw): Use skip_spaces_const. |
| 2144 | * objc-lang.c: Include cli/cli-utils.h. |
| 2145 | (parse_selector): Use skip_spaces. |
| 2146 | (parse_method): Likewise. |
| 2147 | * python/python.c: Include cli/cli-utils.h. |
| 2148 | (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces. |
| 2149 | (python_command)[HAVE_PYTHON]: Likewise. |
| 2150 | (python_interactive_command)[!HAVE_PYTHON]: Likewise. |
| 2151 | * remote-m32r-sdi.c: Include cli/cli-utils.h. |
| 2152 | (m32r_load): Use skip_spaces. |
| 2153 | * serial.c: Include cli/cli-utils.h. |
| 2154 | (serial_open): Use skip_spaces_const. |
| 2155 | * stack.c: Include cli/cli-utils.h. |
| 2156 | (parse_frame_specification_1): Use skip_spaces_const. |
| 2157 | * symfile.c: Include cli/cli-utils.h. |
| 2158 | (set_ext_lang_command): Use skip_spaces. |
| 2159 | * symtab.c: Include cli/cli-utils.h. |
| 2160 | (rbreak_command): Use skip_spaces. |
| 2161 | * thread.c (thread_name_command): Use skip_spaces. |
| 2162 | * tracepoint.c (validate_actionline): Use skip_spaces. |
| 2163 | (encode_actions_1): Likewise. |
| 2164 | (trace_find_range_command): Likewise. |
| 2165 | (trace_find_outside_command): Likewise. |
| 2166 | (trace_dump_actions): Likewise. |
| 2167 | |
| 2168 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2169 | |
| 2170 | * c-lang.c (parse_one_string): Cast argument to gdb_byte *. |
| 2171 | * expprint.c (print_subexp_standard): Likewise. |
| 2172 | * utils.c (host_char_to_target): Likewise. |
| 2173 | * valprint.c (generic_emit_char, generic_printstr): Likewise. |
| 2174 | * varobj.c (value_get_print_value): Change type of local to char*. |
| 2175 | Cast it gdb_byte * in call to language printer. |
| 2176 | |
| 2177 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2178 | |
| 2179 | * charset.c (struct wchar_iterator) <input>: Change type to 'const |
| 2180 | gdb_byte *'. |
| 2181 | (make_wchar_iterator): Remove cast to char*. |
| 2182 | (wchar_iterate): Change type of local. |
| 2183 | |
| 2184 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2185 | |
| 2186 | * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char |
| 2187 | for 'regcache->register_status'. |
| 2188 | |
| 2189 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2190 | |
| 2191 | * breakpoint.c (breakpoint_xfer_memory): Change type of local to |
| 2192 | int. |
| 2193 | |
| 2194 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2195 | |
| 2196 | * stap-probe.c (handle_stap_probe): Add cast to char*. |
| 2197 | |
| 2198 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2199 | |
| 2200 | * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv, |
| 2201 | RECORD_MSGRCV>: Pass a signed variable to |
| 2202 | regcache_raw_read_signed, instead of an unsigned one. |
| 2203 | |
| 2204 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2205 | |
| 2206 | * remote-notif.c (notif_debug): Change type to int. |
| 2207 | * remote-notif.h (notif_debug): Likewise. |
| 2208 | |
| 2209 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2210 | |
| 2211 | * ser-tcp.c (tcp_retry_limit): Change type to unsigned int. |
| 2212 | |
| 2213 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 2214 | |
| 2215 | * remote.c (hex2bin, bin2hex): Move extern declarations to ... |
| 2216 | * remote.h (hex2bin, bin2hex): ... here. |
| 2217 | * tracepoint.c (hex2bin, bin2hex): Remove extern declarations. |
| 2218 | |
| 2219 | 2013-03-07 Eli Zaretskii <eliz@gnu.org> |
| 2220 | |
| 2221 | * utils.c (initialize_utils): Improve doc strings of "set/show |
| 2222 | width", "set/show height", and "set/show pagination". |
| 2223 | |
| 2224 | 2013-03-06 Keith Seitz <keiths@redhat.com> |
| 2225 | |
| 2226 | * ax-gdb.c (gen_printf): Make FORMAT const. |
| 2227 | * ax-gdb.h (gen_printf): Likewise. |
| 2228 | * ax-general.c (ax_string): Make STR const. |
| 2229 | * ax.h (ax_string): Likewise. |
| 2230 | |
| 2231 | 2013-03-06 Doug Evans <dje@google.com> |
| 2232 | |
| 2233 | * elfread.c (elf_symfile_read): Move debugging printf to more |
| 2234 | logical location. |
| 2235 | |
| 2236 | 2013-03-06 Pedro Alves <palves@redhat.com> |
| 2237 | |
| 2238 | * python/py-utils.c (target_string_to_unicode): Delete function. |
| 2239 | * python/python-internal.h (target_string_to_unicode): Delete |
| 2240 | declaration. |
| 2241 | |
| 2242 | 2013-03-06 Pierre Muller <muller@sourceware.org> |
| 2243 | |
| 2244 | * linespec.c (get_current_search_block): ARI fix, use (void) |
| 2245 | for empty parameter list. |
| 2246 | |
| 2247 | 2013-03-05 Doug Evans <dje@google.com> |
| 2248 | |
| 2249 | * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents |
| 2250 | of old ada_lookup_symbol_list. In !full_search case, don't |
| 2251 | search superblocks. |
| 2252 | (ada_lookup_symbol_list): Delete arg full_search, all callers |
| 2253 | updated. Call ada_lookup_symbol_list_worker. |
| 2254 | (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker. |
| 2255 | * ada-lang.h (ada_lookup_symbol_list): Update. |
| 2256 | * language.h (language_defn): Update comment for |
| 2257 | la_iterate_over_symbols. |
| 2258 | * linespec.c (iterate_over_file_blocks): New function. |
| 2259 | (iterate_over_all_matching_symtabs): Call it. |
| 2260 | (lookup_prefix_sym): Ditto. |
| 2261 | (get_current_search_block): New function. |
| 2262 | (get_search_block): Delete. |
| 2263 | (find_label_symbols): Call get_current_search_block. |
| 2264 | (add_matching_symbols_to_info): Call iterate_over_file_blocks. |
| 2265 | * symtab.c (iterate_over_symbols): Don't search superblocks. |
| 2266 | |
| 2267 | 2013-03-05 Yao Qi <yao@codesourcery.com> |
| 2268 | |
| 2269 | * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change |
| 2270 | parameter VAR's type from "unsigned int" to "int". |
| 2271 | * command.h (var_zuinteger_unlimited): Update its comments. |
| 2272 | (add_setshow_zuinteger_unlimited_cmd): Update the declaration. |
| 2273 | |
| 2274 | 2013-03-05 Corinna Vinschen <vinschen@redhat.de> |
| 2275 | |
| 2276 | * NEWS: Mention new target x86_64-*-cygwin*. |
| 2277 | |
| 2278 | 2013-03-05 Corinna Vinschen <vinschen@redhat.de> |
| 2279 | |
| 2280 | * configure.host: Add x86_64-*-cygwin* as host. |
| 2281 | * configure.tgt: Add x86_64-*-cygwin* as target. |
| 2282 | * config/i386/cygwin64.mh: New file. |
| 2283 | |
| 2284 | 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2285 | |
| 2286 | * linespec.c (decode_line_2): Fix duplicate request off by two message. |
| 2287 | |
| 2288 | 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2289 | |
| 2290 | * linespec.c (struct linespec_canonical_name): New. |
| 2291 | (struct linespec_state): Change canonical_names type to it. |
| 2292 | (add_sal_to_sals): Change variable canonical_name to canonical. Change |
| 2293 | xrealloc element size. Initialize the different CANONICAL fields. |
| 2294 | (canonical_to_fullform): New. |
| 2295 | (filter_results): Use it. Add variables canonical, fullform and |
| 2296 | cleanup. |
| 2297 | (struct decode_line_2_item, decode_line_2_compare_items): New. |
| 2298 | (decode_line_2): Remove variables iter and item_names, add variables |
| 2299 | items and items_count. Modify the code for these new variables. |
| 2300 | |
| 2301 | 2013-03-04 Corinna Vinschen <vinschen@redhat.com> |
| 2302 | |
| 2303 | * coff-pe-read.c (read_pe_exported_syms): Don't return without |
| 2304 | calling do_cleanup. |
| 2305 | |
| 2306 | 2013-03-04 Luis Machado <lgustavo@codesourcery.com> |
| 2307 | |
| 2308 | * tracepoint.c (build_traceframe_info): Add code for byte order. |
| 2309 | |
| 2310 | 2013-03-02 Kevin Buettner <kevinb@redhat.com> |
| 2311 | |
| 2312 | * v850-tdep.c: (v850e2_register_name): Revise system register |
| 2313 | names to match current V850E2M architecture specifications. |
| 2314 | Update register number enum comments too. |
| 2315 | |
| 2316 | 2013-03-01 Jiong Wang <jiwang@tilera.com> |
| 2317 | Pedro Alves <palves@redhat.com> |
| 2318 | |
| 2319 | * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading |
| 2320 | to END_ADDR. |
| 2321 | (tilegx_skip_prologue): Limit prologue analysis to section end. |
| 2322 | |
| 2323 | 2013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2324 | |
| 2325 | * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc, |
| 2326 | use it. |
| 2327 | |
| 2328 | 2013-03-01 Pedro Alves <palves@redhat.com> |
| 2329 | |
| 2330 | Use gdb_byte for bytes from the program being debugged. |
| 2331 | |
| 2332 | * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target): |
| 2333 | Change type of local 'buf' to gdb_byte. |
| 2334 | * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise. |
| 2335 | * bfin-tdep.c (bfin_push_dummy_call): Likewise. |
| 2336 | * cris-tdep.c (cris_sigcontext_addr) |
| 2337 | (cris_sigtramp_frame_unwind_cache): Likewise. |
| 2338 | * frv-linux-tdep.c (frv_linux_pc_in_sigtramp) |
| 2339 | (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache): |
| 2340 | Likewise. |
| 2341 | * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise. |
| 2342 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer) |
| 2343 | (hppa32_hpux_search_dummy_call_sequence) |
| 2344 | (hppa_hpux_supply_save_state): Likewise. |
| 2345 | * hppa-linux-tdep.c (insns_match_pattern) |
| 2346 | (hppa_linux_find_global_pointer): Likewise. |
| 2347 | * hppa-tdep.c (hppa_in_function_epilogue_p) |
| 2348 | (skip_prologue_hard_way, hppa_frame_cache): Likewise. |
| 2349 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise. |
| 2350 | * i386fbsd-tdep.c (i386fbsd_supply_uthread) |
| 2351 | (i386fbsd_collect_uthread): Likewise. |
| 2352 | * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise. |
| 2353 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise. |
| 2354 | * ia64-tdep.c (examine_prologue, ia64_frame_cache) |
| 2355 | (ia64_frame_prev_register, ia64_sigtramp_frame_cache) |
| 2356 | (ia64_sigtramp_frame_prev_register, ia64_access_reg) |
| 2357 | (ia64_access_rse_reg, ia64_libunwind_frame_this_id) |
| 2358 | (ia64_libunwind_frame_prev_register) |
| 2359 | (ia64_libunwind_sigtramp_frame_this_id) |
| 2360 | (ia64_find_global_pointer_from_dynamic_section) |
| 2361 | (find_extant_func_descr, find_func_descr, ia64_dummy_id) |
| 2362 | (ia64_unwind_pc): Likewise. |
| 2363 | * iq2000-tdep.c (iq2000_store_return_value): Likewise. |
| 2364 | * m68hc11-tdep.c (m68hc11_push_dummy_call) |
| 2365 | (m68hc11_extract_return_value): Likewise. |
| 2366 | * m68klinux-nat.c (fetch_register, store_register): Likewise. |
| 2367 | * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write) |
| 2368 | (mep_get_insn, mep_push_dummy_call): Likewise. |
| 2369 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) |
| 2370 | (mips_linux_in_dynsym_stub): Likewise. |
| 2371 | * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise. |
| 2372 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. |
| 2373 | * regcache.c (dump_endian_bytes): Change type of parameter 'buf' |
| 2374 | to gdb_byte. |
| 2375 | * remote-mips.c (mips_set_register): Likewise. |
| 2376 | * remote-sim.c (gdbsim_fetch_register): Likewise. |
| 2377 | * score-tdep.c (score7_fetch_inst): Change type of parameter |
| 2378 | 'memblock' and local 'buf' to gdb_byte. |
| 2379 | (score7_malloc_and_get_memblock): Change return type to gdb_byte. |
| 2380 | Change type of local 'buf' to gdb_byte. Adjust. |
| 2381 | (score7_adjust_memblock_ptr): Change type of parameter 'memblock' |
| 2382 | to gdb_byte**. |
| 2383 | (score7_analyze_prologue): Change type of 'memblock' and |
| 2384 | 'memblock_ptr' locals to gdb_byte*. |
| 2385 | * sh64-tdep.c (sh64_extract_return_value) |
| 2386 | (sh64_store_return_value): Change type of local 'buf' to gdb_byte. |
| 2387 | * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr): |
| 2388 | * solib-pa64.c (pa64_solib_create_inferior_hook) |
| 2389 | (pa64_open_symbol_file_object): Remove local 'buf'. |
| 2390 | * solib-som.c (som_solib_create_inferior_hook, link_map_start) |
| 2391 | (som_open_symbol_file_object): Likewise. |
| 2392 | * solib-spu.c (spu_current_sos): Likewise. |
| 2393 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. |
| 2394 | * spu-multiarch.c (parse_spufs_run, spu_fetch_registers) |
| 2395 | (spu_store_registers): Likewise. |
| 2396 | * target.c (debug_print_register): Likewise. |
| 2397 | * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise. |
| 2398 | * xstormy16-tdep.c (xstormy16_store_return_value) |
| 2399 | (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry) |
| 2400 | (xstormy16_find_jmp_table_entry): Likewise. |
| 2401 | |
| 2402 | 2013-03-01 Jiong Wang <jiwang@tilera.com> |
| 2403 | |
| 2404 | * tilegx-tdep.c (tilegx_get_longjmp_target): New function. |
| 2405 | (tilegx_gdbarch_init): Install it. |
| 2406 | |
| 2407 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 2408 | |
| 2409 | * python/py-arch.c (archpy_disassemble): Use PyInt_Check and |
| 2410 | PyLong_Check. |
| 2411 | |
| 2412 | 2013-02-28 Doug Evans <dje@google.com> |
| 2413 | |
| 2414 | * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint. |
| 2415 | * python/python.c (gdbpy_find_pc_line): Ditto. |
| 2416 | |
| 2417 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 2418 | |
| 2419 | * contrib/excheck.py: New file. |
| 2420 | * contrib/exsummary.py: New file. |
| 2421 | * contrib/gcc-with-excheck: New file. |
| 2422 | |
| 2423 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 2424 | |
| 2425 | * python/python.c (gdbpy_print_stack): Call begin_line and |
| 2426 | fprintf_filtered inside TRY_CATCH. |
| 2427 | |
| 2428 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 2429 | |
| 2430 | * python/python.c (gdbpy_find_pc_line): Call find_pc_line |
| 2431 | inside TRY_CATCH. |
| 2432 | |
| 2433 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 2434 | |
| 2435 | * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call |
| 2436 | frame_object_to_frame_info inside TRY_CATCH. |
| 2437 | |
| 2438 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 2439 | |
| 2440 | * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside |
| 2441 | TRY_CATCH. |
| 2442 | |
| 2443 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 2444 | |
| 2445 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash. |
| 2446 | |
| 2447 | 2013-02-27 Corinna Vinschen <vinschen@redhat.com> |
| 2448 | |
| 2449 | * windows-nat.c: Throughout, fix format strings and casts of |
| 2450 | printf-like functions to avoid type related warnings on all |
| 2451 | platforms. |
| 2452 | (handle_output_debug_string): Fetch context information address |
| 2453 | from debug string using string_to_core_addr. |
| 2454 | |
| 2455 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
| 2456 | |
| 2457 | * regformats/reg-tilegx.dat (name): Change abi name to "tilegx". |
| 2458 | * regformats/reg-tilegx32.dat: New. |
| 2459 | |
| 2460 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
| 2461 | |
| 2462 | * configure.tgt (tilegx-*-linux*): Enable gdbserver. |
| 2463 | |
| 2464 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
| 2465 | |
| 2466 | * configure.tgt (tilegx-*-linux*): Replace whitespace with tab. |
| 2467 | |
| 2468 | 2013-02-27 Yao Qi <yao@codesourcery.com> |
| 2469 | Pedro Alves <palves@redhat.com> |
| 2470 | |
| 2471 | * tracepoint.c (tfile_trace_find): For tfind |
| 2472 | pc/tp/range/outside, look for the next trace frame instead of |
| 2473 | always starting from frame 0. |
| 2474 | |
| 2475 | 2013-02-26 Anthony Green <green@moxielogic.com> |
| 2476 | |
| 2477 | * configure.tgt: Add support for moxie-*-rtems* target. |
| 2478 | |
| 2479 | 2013-02-25 Pedro Alves <palves@redhat.com> |
| 2480 | |
| 2481 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change |
| 2482 | warning text. |
| 2483 | |
| 2484 | 2013-02-24 Maciej W. Rozycki <macro@codesourcery.com> |
| 2485 | |
| 2486 | * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero |
| 2487 | if $fp is used as the virtual frame pointer. |
| 2488 | |
| 2489 | 2013-02-23 Alan Modra <amodra@gmail.com> |
| 2490 | |
| 2491 | * elfread.c (elf_symtab_read): Do not use udata.p here to find |
| 2492 | symbol size. |
| 2493 | * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. |
| 2494 | * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. |
| 2495 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. |
| 2496 | * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise. |
| 2497 | |
| 2498 | 2013-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2499 | |
| 2500 | Code cleanup. |
| 2501 | * elfread.c (build_id_bfd_get): Make the return type const. |
| 2502 | (build_id_verify): Make the check parameter const. |
| 2503 | (build_id_to_debug_filename): Make the build_id parameter and variable |
| 2504 | data const. |
| 2505 | (find_separate_debug_file_by_buildid): Make the variable build_id const. |
| 2506 | |
| 2507 | 2013-02-21 Alan Modra <amodra@gmail.com> |
| 2508 | |
| 2509 | * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes. |
| 2510 | |
| 2511 | 2013-02-20 Siva Chandra Reddy <sivachandra@google.com> |
| 2512 | |
| 2513 | Add a new method 'disassemble' to gdb.Architecture class. |
| 2514 | * python/py-arch.c (archpy_disassmble): Implementation of the |
| 2515 | new method gdb.Architecture.disassemble. |
| 2516 | (arch_object_methods): Add entry for the new method. |
| 2517 | |
| 2518 | 2013-02-20 Jiong Wang <jiwang@tilera.com> |
| 2519 | |
| 2520 | * MAINTAINERS (Write After Approval): Add myself to the list. |
| 2521 | |
| 2522 | 2013-02-19 Pedro Alves <palves@redhat.com> |
| 2523 | |
| 2524 | Garbage collect 'struct monitor_ops'::load_routine. |
| 2525 | |
| 2526 | * monitor.h (struct monitor_ops) <load_routine>: Remove field. |
| 2527 | * monitor.c (monitor_load): No longer call |
| 2528 | current_monitor->load_routine. |
| 2529 | * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'. |
| 2530 | * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'. |
| 2531 | * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'. |
| 2532 | |
| 2533 | 2013-02-19 Pedro Alves <palves@redhat.com> |
| 2534 | |
| 2535 | PR gdb/15161 |
| 2536 | |
| 2537 | Harmonize with generic_load. |
| 2538 | |
| 2539 | * monitor.c: Include "readline/readline.h". |
| 2540 | (monitor_load): Rename parameter 'file' to 'args'. Use build_argv |
| 2541 | instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned |
| 2542 | long/strtol for the 'load_offset' local. Error out if no argument |
| 2543 | is given or if too many arguments are given. Tilde expand the |
| 2544 | passed in file name. |
| 2545 | |
| 2546 | 2013-02-19 Kai Tietz <ktietz@redhat.com> |
| 2547 | |
| 2548 | PR gdb/15161 |
| 2549 | * symfile.c (load_section_data): Change type of load_offset |
| 2550 | to CORE_ADDR. |
| 2551 | (generic_load): User strtoulst instead of strtoul for conversion |
| 2552 | of load_offset. |
| 2553 | |
| 2554 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 2555 | |
| 2556 | * tilegx-tdep.c (tilegx_analyze_prologue): add check for |
| 2557 | for return address, "lr" register, saved on stack. |
| 2558 | * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg |
| 2559 | after we invoke tilegx_analyze_prologue. |
| 2560 | |
| 2561 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 2562 | |
| 2563 | * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed. |
| 2564 | |
| 2565 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 2566 | |
| 2567 | * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal. |
| 2568 | |
| 2569 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 2570 | |
| 2571 | * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro. |
| 2572 | (tilegx_write_pc): New function. |
| 2573 | (tilegx_cannot_reference_register): Return zero if REGNO |
| 2574 | is TILEGX_FAULTNUM_REGNUM. |
| 2575 | (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc. |
| 2576 | (tilegx_register_name): Add handling of "faultnum" register. |
| 2577 | * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM. |
| 2578 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add |
| 2579 | handling of TILEGX_FAULTNUM_REGNUM. |
| 2580 | * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM. |
| 2581 | |
| 2582 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 2583 | |
| 2584 | * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack |
| 2585 | should be aligned to 64bit. |
| 2586 | |
| 2587 | 2013-02-19 Kai Tietz <ktietz@redhat.com> |
| 2588 | |
| 2589 | * windows-nat.c (windows_xfer_memory): Fix debug-output |
| 2590 | for LLP64. |
| 2591 | |
| 2592 | 2013-02-19 Lei Liu <lei.liu2@windriver.com> |
| 2593 | |
| 2594 | * mips-linux-nat.c (mips64_linux_regsets_store_registers): |
| 2595 | Don't check DSP register number if HAVE_DSP is not set. |
| 2596 | |
| 2597 | 2013-02-19 Alan Modra <amodra@gmail.com> |
| 2598 | |
| 2599 | * elfread.c (struct build_id): Delete. Use struct elf_build_id |
| 2600 | throughout file instead. |
| 2601 | (build_id_bfd_get): Update to use new elf_tdata build_id field. |
| 2602 | Don't xmalloc return value. |
| 2603 | (build_id_verify): Similarly. Don't xfree. |
| 2604 | (build_id_to_debug_filename): Update. |
| 2605 | (find_separate_debug_file_by_buildid): Update, don't xfree. |
| 2606 | |
| 2607 | 2013-02-18 Tom Tromey <tromey@redhat.com> |
| 2608 | |
| 2609 | PR gdb/15102: |
| 2610 | * dwarf2read.c (read_subrange_type): Use result of |
| 2611 | 'check_typedef'. |
| 2612 | |
| 2613 | 2013-02-16 Yuanhui Zhang <asmwarrior@gmail.com> |
| 2614 | |
| 2615 | * frame.c: Remove one extra white space after #include |
| 2616 | directive. |
| 2617 | |
| 2618 | 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2619 | |
| 2620 | * contrib/cc-with-tweaks.sh: Extend the comment for -p option. |
| 2621 | |
| 2622 | 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2623 | |
| 2624 | * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command |
| 2625 | and dir commands into an if block. |
| 2626 | |
| 2627 | 2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com> |
| 2628 | |
| 2629 | * python/py-breakpoint (struct pybp_code): Use int instead of |
| 2630 | enum type_code. |
| 2631 | |
| 2632 | 2013-02-15 Pedro Alves <pedro@codesourcery.com> |
| 2633 | Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 2634 | |
| 2635 | * NEWS: Mention new field "trace-file". |
| 2636 | * tracepoint.c (trace_status_mi): Output "trace-file" field. |
| 2637 | (tfile_open): Record the trace file's filename in the trace |
| 2638 | status. |
| 2639 | (tfile_files_info): Mention the name of the trace file. |
| 2640 | Check the "filename" field explicitely. |
| 2641 | (trace_status_command): Explicitely check "filename" field. |
| 2642 | (trace_find_command): Ditto. |
| 2643 | (trace_find_pc_command): Ditto. |
| 2644 | (trace_find_tracepoint_command): Ditto. |
| 2645 | (trace_find_line_command): Ditto. |
| 2646 | (trace_find_range_command): Ditto. |
| 2647 | (trace_find_outside_command): Ditto. |
| 2648 | * tracepoint.h (struct trace_status) <from_file>: Rename it |
| 2649 | to "filename" and make it hold the trace file's filename |
| 2650 | instead of a boolean. |
| 2651 | * remote.c (remote_get_trace_status): Initialize "filename" |
| 2652 | field with NULL instead of 0. |
| 2653 | |
| 2654 | 2013-02-15 Yao Qi <yao@codesourcery.com> |
| 2655 | |
| 2656 | * remote.c: Fix a typo. |
| 2657 | |
| 2658 | 2013-02-14 Pierre Muller <muller@sourceware.org> |
| 2659 | |
| 2660 | * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove. |
| 2661 | |
| 2662 | 2013-02-14 Pedro Alves <palves@redhat.com> |
| 2663 | |
| 2664 | * utils.c (savestring): Don't #undef it. Move function to |
| 2665 | common/common-utils.c. |
| 2666 | * common/common-utils.c: Include gdb_string.h. |
| 2667 | (savestring): Move here from utils.c. |
| 2668 | * common/common-utils.h (savestring): Declare. |
| 2669 | |
| 2670 | 2013-02-14 Pedro Alves <palves@redhat.com> |
| 2671 | |
| 2672 | * utils.c (savestring): Rename parameter 'size' to 'len'. |
| 2673 | |
| 2674 | 2013-02-14 Pedro Alves <palves@redhat.com> |
| 2675 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 2676 | |
| 2677 | * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete. |
| 2678 | (aarch64_inferior_data, struct aarch64_inferior_data): |
| 2679 | Delete. |
| 2680 | (struct aarch64_process_info): New. |
| 2681 | (aarch64_process_list): New global. |
| 2682 | (aarch64_find_process_pid, aarch64_add_process) |
| 2683 | (aarch64_process_info_get): New functions. |
| 2684 | (aarch64_inferior_data_get): Delete. |
| 2685 | (aarch64_process_info_get): New function. |
| 2686 | (aarch64_forget_process): New function. |
| 2687 | (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement. |
| 2688 | (aarch64_linux_prepare_to_resume): Pass the lwp's pid to |
| 2689 | aarch64_get_debug_reg_state. |
| 2690 | (aarch64_notify_debug_reg_change): Use iterate_over_lwps |
| 2691 | instead of linux_nat_iterate_watchpoint_lwps. |
| 2692 | (aarch64_linux_new_fork): New function. |
| 2693 | (aarch64_linux_child_post_startup_inferior): Use |
| 2694 | aarch64_forget_process instead of aarch64_init_debug_reg_state. |
| 2695 | (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint) |
| 2696 | (aarch64_linux_remove_hw_breakpoint) |
| 2697 | (aarch64_handle_aligned_watchpoint) |
| 2698 | (aarch64_handle_unaligned_watchpoint) |
| 2699 | (aarch64_linux_insert_watchpoint) |
| 2700 | (aarch64_linux_remove_watchpoint) |
| 2701 | (aarch64_linux_stopped_data_address): Adjust to pass the current |
| 2702 | process id to aarch64_debug_reg_state. |
| 2703 | (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as |
| 2704 | linux_nat_new_fork hook, and aarch64_forget_process as |
| 2705 | linux_nat_forget_process hook; remove the call to |
| 2706 | register_inferior_data_with_cleanup. |
| 2707 | |
| 2708 | 2013-02-14 Pedro Alves <palves@redhat.com> |
| 2709 | |
| 2710 | * eval.c (evaluate_subexp_for_address) <default_case_after_eval, |
| 2711 | EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before |
| 2712 | lval_memory. |
| 2713 | |
| 2714 | 2013-02-14 Pedro Alves <pedro@codesourcery.com> |
| 2715 | Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 2716 | |
| 2717 | * tracepoint.h (validate_trace_state_variable_name): Declare. |
| 2718 | * tracepoint.c (validate_trace_state_variable_name): New. |
| 2719 | (trace_variable_command): Parse the trace state variable's name |
| 2720 | without using parse_expression. Do several validations. |
| 2721 | * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the |
| 2722 | trace state variable's name with parse_expression. Validate it. |
| 2723 | |
| 2724 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
| 2725 | |
| 2726 | * infcmd.c (breakpoint_proceeded): Remove it. |
| 2727 | |
| 2728 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
| 2729 | |
| 2730 | * tracepoint.c (end_actions_pseudocommand): Make it static. |
| 2731 | (while_stepping_pseudocommand): Likewise. |
| 2732 | * tracepoint.h (end_actions_pseudocommand): Remove the |
| 2733 | declaration. |
| 2734 | (while_stepping_pseudocommand): Likewise. |
| 2735 | |
| 2736 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
| 2737 | |
| 2738 | * cli/cli-decode.c (help_cmd): Remove the declaration of |
| 2739 | "cmdlist". |
| 2740 | (help_all): Likewise. |
| 2741 | |
| 2742 | 2013-02-13 Pedro Alves <palves@redhat.com> |
| 2743 | |
| 2744 | * amd64-linux-nat.c (update_debug_registers_callback): |
| 2745 | Update comment. |
| 2746 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use |
| 2747 | iterate_over_lwps. |
| 2748 | (amd64_linux_prepare_to_resume): Pass the lwp's pid to |
| 2749 | i386_debug_reg_state. |
| 2750 | (amd64_linux_new_fork): New function. |
| 2751 | (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as |
| 2752 | linux_nat_new_fork hook, and i386_forget_process as |
| 2753 | linux_nat_forget_process hook. |
| 2754 | * i386-linux-nat.c (update_debug_registers_callback): |
| 2755 | Update comment. |
| 2756 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use |
| 2757 | iterate_over_lwps. |
| 2758 | (i386_linux_prepare_to_resume): Pass the lwp's pid to |
| 2759 | i386_debug_reg_state. |
| 2760 | (i386_linux_new_fork): New function. |
| 2761 | (_initialize_i386_linux_nat): Install i386_linux_new_fork as |
| 2762 | linux_nat_new_fork hook, and i386_forget_process as |
| 2763 | linux_nat_forget_process hook. |
| 2764 | * i386-nat.c (i386_init_dregs): Delete. |
| 2765 | (i386_inferior_data, struct i386_inferior_data): |
| 2766 | Delete. |
| 2767 | (struct i386_process_info): New. |
| 2768 | (i386_process_list): New global. |
| 2769 | (i386_find_process_pid, i386_add_process, i386_process_info_get): |
| 2770 | New functions. |
| 2771 | (i386_inferior_data_get): Delete. |
| 2772 | (i386_process_info_get): New function. |
| 2773 | (i386_debug_reg_state): New parameter 'pid'. Reimplement. |
| 2774 | (i386_forget_process): New function. |
| 2775 | (i386_cleanup_dregs): Rewrite. |
| 2776 | (i386_update_inferior_debug_regs, i386_insert_watchpoint) |
| 2777 | (i386_remove_watchpoint, i386_region_ok_for_watchpoint) |
| 2778 | (i386_stopped_data_address, i386_insert_hw_breakpoint) |
| 2779 | (i386_remove_hw_breakpoint): Adjust to pass the current process id |
| 2780 | to i386_debug_reg_state. |
| 2781 | (i386_use_watchpoints): Don't register inferior data. |
| 2782 | * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and |
| 2783 | adjust comment. |
| 2784 | (i386_forget_process): Declare. |
| 2785 | * linux-fork.c (delete_fork): Call linux_nat_forget_process. |
| 2786 | * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook): |
| 2787 | New static globals. |
| 2788 | (linux_child_follow_fork): Don't call linux_nat_new_thread here. |
| 2789 | (add_initial_lwp): New, factored out from ... |
| 2790 | (add_lwp): ... this. Don't check the number of lwps before |
| 2791 | calling linux_nat_new_thread. |
| 2792 | (linux_nat_iterate_watchpoint_lwps): Delete. |
| 2793 | (linux_nat_attach): Use add_initial_lwp instead of add_lwp. |
| 2794 | (linux_handle_extended_wait): Call the linux_nat_new_fork hook on |
| 2795 | forks and vforks. |
| 2796 | (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the |
| 2797 | initial lwp. |
| 2798 | (linux_nat_kill, linux_nat_mourn_inferior): Call |
| 2799 | linux_nat_forget_process. |
| 2800 | (linux_nat_set_new_fork, linux_nat_set_forget_process) |
| 2801 | (linux_nat_forget_process): New functions. |
| 2802 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete |
| 2803 | type. |
| 2804 | (linux_nat_iterate_watchpoint_lwps): Delete declaration. |
| 2805 | (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New |
| 2806 | types. |
| 2807 | (linux_nat_set_new_fork, linux_nat_set_forget_process) |
| 2808 | (linux_nat_forget_process): New declarations. |
| 2809 | |
| 2810 | * amd64fbsd-nat.c (super_mourn_inferior): New global. |
| 2811 | (amd64fbsd_mourn_inferior): New function. |
| 2812 | (_initialize_amd64fbsd_nat): Override to_mourn_inferior. |
| 2813 | * windows-nat.c (windows_detach): Call i386_cleanup_dregs. |
| 2814 | |
| 2815 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 2816 | |
| 2817 | * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): |
| 2818 | Adding _(). |
| 2819 | |
| 2820 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 2821 | |
| 2822 | * aarch64-linux-nat.c (debug_reg_change_callback) |
| 2823 | (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with |
| 2824 | %s and phex(). |
| 2825 | |
| 2826 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 2827 | |
| 2828 | * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long |
| 2829 | with LONGEST. |
| 2830 | |
| 2831 | 2013-02-13 Pedro Alves <palves@redhat.com> |
| 2832 | Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 2833 | |
| 2834 | * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. |
| 2835 | |
| 2836 | 2013-02-12 Tom Tromey <tromey@redhat.com> |
| 2837 | |
| 2838 | PR symtab/11464: |
| 2839 | * c-exp.y (lex_one_token): Initialize other fields of yylval on |
| 2840 | NAME return. |
| 2841 | (classify_inner_name): Remove 'first_name' argument, add |
| 2842 | 'context'. Remove unused variable. |
| 2843 | (yylex): Explicitly maintain the context type. Exit loop earlier |
| 2844 | if NAME result is seen. |
| 2845 | |
| 2846 | 2013-02-12 Pedro Alves <palves@redhat.com> |
| 2847 | |
| 2848 | * amd64-darwin-tdep.c: Add (C) after Copyright. |
| 2849 | * cli/cli-cmds.h: Ditto. |
| 2850 | * cli/cli-decode.c: Ditto. |
| 2851 | * cli/cli-decode.h: Ditto. |
| 2852 | * cli/cli-dump.c: Ditto. |
| 2853 | * cli/cli-dump.h: Ditto. |
| 2854 | * cli/cli-interp.c: Ditto. |
| 2855 | * cli/cli-logging.c: Ditto. |
| 2856 | * cli/cli-script.c: Ditto. |
| 2857 | * cli/cli-script.h: Ditto. |
| 2858 | * cli/cli-setshow.c: Ditto. |
| 2859 | * cli/cli-setshow.h: Ditto. |
| 2860 | * cli/cli-utils.c: Ditto. |
| 2861 | * cli/cli-utils.h: Ditto. |
| 2862 | * config/alpha/nm-osf3.h: Ditto. |
| 2863 | * config/djgpp/djconfig.sh: Ditto. |
| 2864 | * config/i386/nm-fbsd.h: Ditto. |
| 2865 | * config/i386/nm-i386gnu.h: Ditto. |
| 2866 | * config/nm-linux.h: Ditto. |
| 2867 | * config/nm-nto.h: Ditto. |
| 2868 | * config/rs6000/nm-rs6000.h: Ditto. |
| 2869 | * config/sparc/nm-sol2.h: Ditto. |
| 2870 | * darwin-nat-info.c: Ditto. |
| 2871 | * dfp.c: Ditto. |
| 2872 | * dfp.h: Ditto. |
| 2873 | * gdb-demangle.h: Ditto. |
| 2874 | * i386-darwin-nat.c: Ditto. |
| 2875 | * i386-darwin-tdep.c: Ditto. |
| 2876 | * linux-fork.h: Ditto. |
| 2877 | * m32c-tdep.c: Ditto. |
| 2878 | * microblaze-linux-tdep.c: Ditto. |
| 2879 | * microblaze-rom.c: Ditto. |
| 2880 | * microblaze-tdep.c: Ditto. |
| 2881 | * microblaze-tdep.h: Ditto. |
| 2882 | * mips-linux-tdep.h: Ditto. |
| 2883 | * ppc-ravenscar-thread.c: Ditto. |
| 2884 | * ppc-ravenscar-thread.h: Ditto. |
| 2885 | * prologue-value.c: Ditto. |
| 2886 | * prologue-value.h: Ditto. |
| 2887 | * ravenscar-thread.c: Ditto. |
| 2888 | * ravenscar-thread.h: Ditto. |
| 2889 | * sparc-ravenscar-thread.c: Ditto. |
| 2890 | * sparc-ravenscar-thread.h: Ditto. |
| 2891 | * tilegx-linux-tdep.c: Ditto. |
| 2892 | * unwind_stop_reasons.def: Ditto. |
| 2893 | * windows-nat.h: Ditto. |
| 2894 | * xtensa-linux-tdep.c: Ditto. |
| 2895 | * xtensa-xtregs.c: Ditto. |
| 2896 | * regformats/regdat.sh: Ditto. |
| 2897 | * regformats/regdef.h: Ditto. |
| 2898 | |
| 2899 | 2013-02-12 Pedro Alves <palves@redhat.com> |
| 2900 | |
| 2901 | * break-catch-sig.c: Update copyright years. |
| 2902 | |
| 2903 | 2013-02-11 Siva Chandra Reddy <sivachandra@google.com> |
| 2904 | |
| 2905 | Add support for a destructor for ui_out data and use it to |
| 2906 | provide a ui_out destructor. |
| 2907 | * ui-out.h: Declare the new ui_out destructor. |
| 2908 | (ui_out_impl): Add a field for data destructor in ui_out_impl. |
| 2909 | * ui-out.c (default_data_destroy): Add a default data destructor |
| 2910 | which does nothing. |
| 2911 | (default_ui_out_impl): Set the new data_destroy field to |
| 2912 | default_data_destroy |
| 2913 | (uo_data_destroy): Local function which invokes the data |
| 2914 | destructor if present. |
| 2915 | (clear_table): Local function which clears the table data of a |
| 2916 | ui_out object. |
| 2917 | (ui_out_destroy): Public function which frees a ui_out object. |
| 2918 | (ui_out_table_end): Use the new clear_table function. |
| 2919 | * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to |
| 2920 | NULL. |
| 2921 | * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field |
| 2922 | to NULL. |
| 2923 | |
| 2924 | 2013-02-11 Doug Evans <dje@google.com> |
| 2925 | |
| 2926 | * printcmd.c (printf_c_string,printf_wide_c_string): New functions. |
| 2927 | (printf_decfloat): New function. Broken out from ui_printf. |
| 2928 | Remove unnecessary code to shift the entire format string down. |
| 2929 | (printf_pointer): New function. |
| 2930 | (ui_printf): Code to print C strings, wide C strings, decfloats, |
| 2931 | and pointers moved to separate functions. |
| 2932 | |
| 2933 | 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com> |
| 2934 | |
| 2935 | * valops.c (value_assign): Handling bitfield offset in |
| 2936 | `lval_internalvar_component' case. |
| 2937 | |
| 2938 | 2013-02-08 Doug Evans <dje@google.com> |
| 2939 | |
| 2940 | * common/format.c (parse_format_string): Fix whitespace. |
| 2941 | |
| 2942 | 2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
| 2943 | |
| 2944 | * stack.c (return_command): Work around uninitialized variable |
| 2945 | warning. |
| 2946 | |
| 2947 | 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com> |
| 2948 | |
| 2949 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the |
| 2950 | number of the registers from 36 to 34. |
| 2951 | |
| 2952 | 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 2953 | |
| 2954 | * NEWS: Mention new AArch64 native and target support. |
| 2955 | |
| 2956 | 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 2957 | |
| 2958 | * MAINTAINERS (Write After Approval): Add myself. |
| 2959 | |
| 2960 | 2013-02-08 Jim MacArthur <jim.macarthur@arm.com> |
| 2961 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 2962 | Nigel Stephens <nigel.stephens@arm.com> |
| 2963 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 2964 | |
| 2965 | * aarch64-linux-nat.c: New file. |
| 2966 | * config/aarch64/linux.mh: New file. |
| 2967 | * configure.host: Add AArch64. |
| 2968 | * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c. |
| 2969 | |
| 2970 | 2013-02-07 Doug Evans <dje@google.com> |
| 2971 | |
| 2972 | * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to |
| 2973 | disassemble command. |
| 2974 | |
| 2975 | 2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 2976 | |
| 2977 | * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call |
| 2978 | set_gdbarch_fetch_tls_load_module_address. |
| 2979 | |
| 2980 | 2013-02-06 David S. Miller <davem@davemloft.net> |
| 2981 | |
| 2982 | * sparc-tdep.c (sparc32_return_value): Handle writing return value when |
| 2983 | using RETURN_VALUE_ABI_PRESERVES_ADDRESS. |
| 2984 | * value.c (struct_return_convention): New function. |
| 2985 | (using_struct_return): Implement in terms of struct_return_convention. |
| 2986 | * value.h (struct_return_convention): Declare. |
| 2987 | * stack.c (return_command): Allow successful overriding of the return |
| 2988 | value when RETURN_VALUE_ABI_PRESERVES_ADDRESS. |
| 2989 | |
| 2990 | 2013-02-06 Tom Tromey <tromey@redhat.com> |
| 2991 | |
| 2992 | * python/py-type.c (typy_strip_typedefs): Don't call check_typedef |
| 2993 | outside of TRY_CATCH. |
| 2994 | |
| 2995 | 2013-02-06 Yao Qi <yao@codesourcery.com> |
| 2996 | |
| 2997 | * mi/mi-interp.c: Include "tracepoint.h". |
| 2998 | (mi_tsv_modified): Declare. |
| 2999 | (mi_tsv_created, mi_tsv_deleted): Update declaration. |
| 3000 | (mi_interpreter_init): Call observer_attach_tsv_modified. |
| 3001 | (mi_tsv_modified): New. |
| 3002 | (mi_tsv_created, mi_tsv_deleted): Update. |
| 3003 | * tracepoint.c (trace_variable_command): Call |
| 3004 | observer_notify_tsv_modified if the initial value of tsv is |
| 3005 | changed. |
| 3006 | (delete_trace_state_variable): Call |
| 3007 | observer_notify_tsv_deleted earlier. |
| 3008 | (trace_variable_command): Caller update. |
| 3009 | (create_tsv_from_upload): Likewise. |
| 3010 | * observer.sh: Declare "struct trace_state_variable". |
| 3011 | |
| 3012 | * NEWS: Mention the new MI notification "=tsv-modified". |
| 3013 | |
| 3014 | 2013-02-05 Doug Evans <dje@google.com> |
| 3015 | |
| 3016 | * completer.c (location_completer): Fix typo in comment. |
| 3017 | |
| 3018 | 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3019 | |
| 3020 | * breakpoint.c (add_location_to_breakpoint): Insert the location with |
| 3021 | ADDRESS sorted. |
| 3022 | |
| 3023 | 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 3024 | |
| 3025 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: |
| 3026 | Refactor if statement to avoid trailing || operator. |
| 3027 | |
| 3028 | 2013-02-05 Andreas Tobler <andreast@fgznet.ch> |
| 3029 | |
| 3030 | * NEWS: Add PowerPC FreeBSD as a new native configuration. |
| 3031 | |
| 3032 | 2013-02-04 Andreas Tobler <andreast@fgznet.ch> |
| 3033 | |
| 3034 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. |
| 3035 | * configure.host: Add powerpc*-*-freebsd* target. |
| 3036 | * configure.tgt: Add target info for powerpc*-*-freebsd*. |
| 3037 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. |
| 3038 | * config/powerpc/fbsd.mh: New file. |
| 3039 | |
| 3040 | 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> |
| 3041 | Denys Vlasenko <dvlasenk@redhat.com> |
| 3042 | Pedro Alves <palves@redhat.com> |
| 3043 | |
| 3044 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. |
| 3045 | (struct elf_internal_linux_prpsinfo): Forward declare. |
| 3046 | * gdbarch.h, gdbarch.c: Regenerate. |
| 3047 | * linux-tdep.c: Include `cli/cli-utils.h'. |
| 3048 | (linux_fill_prpsinfo): New function. |
| 3049 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's |
| 3050 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use |
| 3051 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 |
| 3052 | depending on gdbarch pointer bitness. |
| 3053 | * ppc-linux-tdep.c: Include elf-bfd.h. |
| 3054 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 |
| 3055 | on 32-bit. |
| 3056 | |
| 3057 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 3058 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 3059 | Nigel Stephens <nigel.stephens@arm.com> |
| 3060 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 3061 | |
| 3062 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. |
| 3063 | |
| 3064 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 3065 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 3066 | Nigel Stephens <nigel.stephens@arm.com> |
| 3067 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 3068 | |
| 3069 | * aarch64-newlib-tdep.c: New file. |
| 3070 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of |
| 3071 | aarch64*-*-elf. |
| 3072 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. |
| 3073 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. |
| 3074 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. |
| 3075 | * osabi.c (gdb_osabi_names): Add "Newlib". |
| 3076 | |
| 3077 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 3078 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 3079 | Nigel Stephens <nigel.stephens@arm.com> |
| 3080 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 3081 | |
| 3082 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. |
| 3083 | (ALLDEPFILES): Add aarch64-linux-tdep.c. |
| 3084 | * aarch64-linux-tdep.c: New file. |
| 3085 | * aarch64-linux-tdep.h: New file. |
| 3086 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. |
| 3087 | * configure.tgt: Add aarch64-none-linux-gnu. |
| 3088 | |
| 3089 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 3090 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 3091 | Nigel Stephens <nigel.stephens@arm.com> |
| 3092 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 3093 | |
| 3094 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. |
| 3095 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. |
| 3096 | (ALLDEPFILES): Add aarch64-tdep.c. |
| 3097 | * aarch64-tdep.c: New file. |
| 3098 | * aarch64-tdep.h: New file. |
| 3099 | * configure.tgt: Add AArch64. |
| 3100 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. |
| 3101 | (aarch64-expedite): New definition. |
| 3102 | * features/aarch64-core.xml: New file. |
| 3103 | * features/aarch64-fpu.xml: New file. |
| 3104 | * features/aarch64-without-fpu.c: New file (generated). |
| 3105 | * features/aarch64-without-fpu.xml: New file. |
| 3106 | * features/aarch64.c: New file (generated). |
| 3107 | * features/aarch64.xml: New file. |
| 3108 | * regformats/aarch64-without-fpu.dat: New file (generated). |
| 3109 | * regformats/aarch64.dat: New file (generated). |
| 3110 | |
| 3111 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3112 | |
| 3113 | * contrib/expect-read1.c: New file. |
| 3114 | * contrib/expect-read1.sh: New file. |
| 3115 | |
| 3116 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3117 | |
| 3118 | * dwarf2read.c (file_file_name): New function with code from |
| 3119 | file_full_name. |
| 3120 | (file_full_name): Move most of the code to file_file_name. |
| 3121 | (macro_start_file): Rename variable full_name to file_name and use |
| 3122 | file_file_name for it. Add comp_dir parameter to new_macro_table. |
| 3123 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any |
| 3124 | macro_source_file->filename access by macro_source_fullname call. |
| 3125 | * macroscope.c (_initialize_macroscope): Update the new_macro_table |
| 3126 | caller. |
| 3127 | * macrotab.c (struct macro_table): New field comp_dir. |
| 3128 | (macro_include): New variables link_fullname and source_fullname. |
| 3129 | Replace any macro_source_file->filename access by macro_source_fullname |
| 3130 | call. |
| 3131 | (macro_lookup_inclusion): Remove the partial filenames checking code. |
| 3132 | (check_for_redefinition): New variables source_fullname and |
| 3133 | found_key_fullname. Replace any macro_source_file->filename access by |
| 3134 | macro_source_fullname call. |
| 3135 | (macro_undef): New variables source_fullname and key_fullname. Replace |
| 3136 | any macro_source_file->filename access by macro_source_fullname call. |
| 3137 | (macro_lookup_definition): New variables retval and source_fullname. |
| 3138 | Replace any macro_source_file->filename access by macro_source_fullname |
| 3139 | call. |
| 3140 | (foreach_macro): New variable key_fullname. Replace any |
| 3141 | macro_source_file->filename access by macro_source_fullname call. |
| 3142 | (foreach_macro_in_scope): New variable datum_fullname. Replace any |
| 3143 | macro_source_file->filename access by macro_source_fullname call. |
| 3144 | (new_macro_table): Add parameter comp_dir. Initialize T with it. |
| 3145 | (macro_source_fullname): New function. |
| 3146 | * macrotab.h (struct macro_source_file): Extent the filename field |
| 3147 | comment. |
| 3148 | (new_macro_table): New parameter comp_dir, add a comment for it. |
| 3149 | (macro_source_fullname): new declaration. |
| 3150 | |
| 3151 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3152 | |
| 3153 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable |
| 3154 | this_real_name to outer block. Use it also for |
| 3155 | compare_filenames_for_search. |
| 3156 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it |
| 3157 | with dw2_get_real_path for file_matcher, considering also |
| 3158 | BASENAMES_MAY_DIFFER. |
| 3159 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. |
| 3160 | |
| 3161 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3162 | |
| 3163 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter |
| 3164 | to the file_matcher parameter. Pass 0 to it. |
| 3165 | (dwarf2_create_include_psymtab): Copy also DIRNAME. |
| 3166 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of |
| 3167 | NULL psymtab_to_fullname result. |
| 3168 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble |
| 3169 | an expected filename instead. |
| 3170 | (expand_symtabs_matching_via_partial): Add basenames parameter to the |
| 3171 | file_matcher parameter. Call also psymtab_to_fullname, after newly |
| 3172 | considering BASENAMES_MAY_DIFFER. |
| 3173 | * source.c (rewrite_source_path): Remove static. |
| 3174 | * source.h (rewrite_source_path): New declaration. |
| 3175 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to |
| 3176 | the expand_symtabs_matching field. Comment it. |
| 3177 | * symtab.c (file_matches): New function comment. Add parameter |
| 3178 | basenames, implement it. |
| 3179 | (search_symbols_file_matches): Add basenames parameter. Update the |
| 3180 | file_matches caller. |
| 3181 | (search_symbols): Match FILES also against symtab_to_fullname. |
| 3182 | Optimize it for BASENAMES_MAY_DIFFER. |
| 3183 | |
| 3184 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3185 | |
| 3186 | * source.c (print_source_lines_base): Print for TUI also "fullname". |
| 3187 | * tui/tui-data.c (init_content_element): Change tui_locator_element |
| 3188 | field to full_name. |
| 3189 | * tui/tui-data.h (struct tui_locator_element): Likewise. |
| 3190 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename |
| 3191 | tui_update_locator_filename calls to tui_update_locator_fullname. |
| 3192 | Replace symtab->filename refererence by symtab_to_fullname call. |
| 3193 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. |
| 3194 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element |
| 3195 | field to full_name. Replace symtab->filename refererence by |
| 3196 | symtab_to_fullname call. |
| 3197 | (tui_show_symtab_source): Rename parameter to fullname. Change |
| 3198 | tui_locator_element field to full_name. |
| 3199 | * tui/tui-stack.c: Include source.h. |
| 3200 | (tui_set_locator_filename): Rename the declaration to ... |
| 3201 | (tui_set_locator_fullname): ... here. Rename its parameter to |
| 3202 | fullname, updates its comment. |
| 3203 | (tui_set_locator_info): Rename its parameter to fullname. |
| 3204 | (tui_set_locator_filename): Rename the definition to ... |
| 3205 | (tui_set_locator_fullname): ... here. Rename its parameter to |
| 3206 | fullname, updates its comment. Change tui_locator_element field to |
| 3207 | full_name. |
| 3208 | (tui_set_locator_info): Rename its parameter to fullname. |
| 3209 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. |
| 3210 | (tui_update_locator_filename): Rename to ... |
| 3211 | (tui_update_locator_fullname): ... here. Rename callee to |
| 3212 | tui_set_locator_fullname. |
| 3213 | (tui_show_frame_info): Replace symtab->filename refererence by |
| 3214 | symtab_to_fullname call. |
| 3215 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... |
| 3216 | (tui_update_locator_fullname): ... here. |
| 3217 | * tui/tui-winsource.c (tui_display_main): Rename the callee to |
| 3218 | tui_update_locator_fullname. Replace symtab->filename refererence by |
| 3219 | symtab_to_fullname call. |
| 3220 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. |
| 3221 | Rename the callee to tui_update_locator_fullname. |
| 3222 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. |
| 3223 | |
| 3224 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3225 | |
| 3226 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences |
| 3227 | by symtab_to_filename_for_display calls. |
| 3228 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. |
| 3229 | (clear_command): New variable sal_fullname, initialize it. Replace |
| 3230 | compare_filenames_for_search by filename_cmp with sal_fullname. |
| 3231 | (say_where, update_static_tracepoint): Replace symtab->filename |
| 3232 | refererences by symtab_to_filename_for_display calls. |
| 3233 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): |
| 3234 | Likewise. |
| 3235 | * dwarf2read.c: Include source.h. |
| 3236 | (fixup_go_packaging): Replace symtab->filename refererences by |
| 3237 | symtab_to_filename_for_display calls. |
| 3238 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. |
| 3239 | Replace symtab->filename refererences by symtab_to_filename_for_display |
| 3240 | calls. |
| 3241 | (create_sals_line_offset, convert_linespec_to_sals): New variable |
| 3242 | fullname, initialize it, replace symtab->filename reference by the |
| 3243 | variable. |
| 3244 | * linux-fork.c: Include source.h. |
| 3245 | (info_checkpoints_command): Replace symtab->filename refererences by |
| 3246 | symtab_to_filename_for_display calls. |
| 3247 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences |
| 3248 | by symtab_to_filename_for_display calls. |
| 3249 | * mdebugread.c: Include source.h. |
| 3250 | (psymtab_to_symtab_1): Replace symtab->filename refererences by |
| 3251 | symtab_to_filename_for_display calls. |
| 3252 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) |
| 3253 | (mi_cmd_file_list_exec_source_files): Likewise. |
| 3254 | * printcmd.c: Include source.h. |
| 3255 | (build_address_symbolic): Replace symtab->filename refererences by |
| 3256 | symtab_to_filename_for_display calls. |
| 3257 | * psymtab.c (partial_map_symtabs_matching_filename) |
| 3258 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also |
| 3259 | with psymtab_to_fullname. |
| 3260 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences |
| 3261 | by symtab_to_filename_for_display calls. |
| 3262 | (stpy_get_filename): New variable filename, initialize it, use instead |
| 3263 | of symtab->filename refererences. |
| 3264 | (salpy_str): Make variable filename const char *. Replace |
| 3265 | symtab->filename refererences by symtab_to_filename_for_display calls. |
| 3266 | * skip.c: Include source.h and filenames.h. |
| 3267 | (skip_file_command): Remove const from the symtab variable. Replace |
| 3268 | symtab->filename refererences by symtab_to_fullname call. |
| 3269 | (function_name_is_marked_for_skip): New variables searched_for_fullname |
| 3270 | and fullname. Use them to search also with symtab's fullname. |
| 3271 | * source.c (find_source_lines): Replace symtab->filename refererences |
| 3272 | by symtab_to_filename_for_display calls. |
| 3273 | (print_source_lines_base): New variable filename, use it instead of |
| 3274 | symtab->filename. Replace symtab->filename refererences by |
| 3275 | symtab_to_filename_for_display calls. |
| 3276 | (line_info, forward_search_command): Replace symtab->filename |
| 3277 | refererences by symtab_to_filename_for_display calls. |
| 3278 | (reverse_search_command): Replace symtab->filename refererences by |
| 3279 | symtab_to_filename_for_display calls. New variable filename for it. |
| 3280 | * stack.c (frame_info): Likewise. |
| 3281 | * symmisc.c: Include source.h. |
| 3282 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) |
| 3283 | (maintenance_info_symtabs): Replace symtab->filename refererences by |
| 3284 | symtab_to_filename_for_display calls. |
| 3285 | * symtab.c (iterate_over_some_symtabs): Call |
| 3286 | compare_filenames_for_search also with symtab_to_fullname. |
| 3287 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace |
| 3288 | symtab->filename refererences by symtab_to_filename_for_display calls. |
| 3289 | (find_line_symtab): Replace symtab->filename refererences by |
| 3290 | symtab_to_filename_for_display calls. |
| 3291 | (file_matches): Replace filename_cmp by compare_filenames_for_search. |
| 3292 | (print_symbol_info): Make the last parameter const char *. New |
| 3293 | variable s_filename. Use it in the function. |
| 3294 | (symtab_symbol_info): Make the last_filename variable const char *. |
| 3295 | Replace symtab->filename refererences by symtab_to_filename_for_display |
| 3296 | calls. |
| 3297 | (rbreak_command): New variable fullname. Use it. Replace |
| 3298 | symtab->filename refererence by symtab_to_filename_for_display call. |
| 3299 | * tracepoint.c (set_traceframe_context, trace_find_line_command) |
| 3300 | (print_one_static_tracepoint_marker): Replace symtab->filename |
| 3301 | refererences by symtab_to_filename_for_display calls. |
| 3302 | * tui/tui-source.c (tui_set_source_content): New variables filename and |
| 3303 | s_filename. Replace symtab->filename refererences by this variable. |
| 3304 | Replace other symtab->filename refererences by |
| 3305 | symtab_to_filename_for_display calls. |
| 3306 | |
| 3307 | 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com> |
| 3308 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3309 | |
| 3310 | Add a new variable that controls a way in which filenames are |
| 3311 | displayed. |
| 3312 | * NEWS (set filename-display): New entry. |
| 3313 | * source.c (filename_display_basename, filename_display_relative) |
| 3314 | (filename_display_absolute, filename_display_kind_names) |
| 3315 | (filename_display_string, show_filename_display_string) |
| 3316 | (symtab_to_filename_for_display): New. |
| 3317 | (_initialize_source): Added initialization of 'filename-display' |
| 3318 | variable. |
| 3319 | * source.h (symtab_to_filename_for_display): Added declaration. |
| 3320 | * stack.c (print_frame): Added new variable and calling of a new |
| 3321 | function and condition with this variable. Changed third argument of |
| 3322 | calling of a function. |
| 3323 | |
| 3324 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3325 | |
| 3326 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): |
| 3327 | Rename field reference filename to fullname. |
| 3328 | * tui/tui-data.h (struct tui_source_info): Rename field filename to |
| 3329 | fullname. New comment for it. |
| 3330 | * tui/tui-source.c (tui_set_source_content): Rename field reference |
| 3331 | filename to fullname. Initialize field by symtab_to_fullname now. |
| 3332 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field |
| 3333 | reference filename to fullname. Use symtab_to_fullname during |
| 3334 | comparison. |
| 3335 | |
| 3336 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3337 | |
| 3338 | Code cleanup. |
| 3339 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... |
| 3340 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter |
| 3341 | filename to fullname. Rename variable this_name to this_fullname. |
| 3342 | Lowercase FILENAME_CMP call. |
| 3343 | (dw2_find_symbol_file): New comment for the returned string. |
| 3344 | (dwarf2_gdb_index_functions): Rename the function to |
| 3345 | dw2_expand_symtabs_with_fullname. |
| 3346 | * psymtab.c (read_psymtabs_with_filename): Rename to ... |
| 3347 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to |
| 3348 | fullname. |
| 3349 | (psym_functions): Rename the function to read_psymtabs_with_fullname. |
| 3350 | * symfile.h (struct quick_symbol_functions): Rename field |
| 3351 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its |
| 3352 | parameter filename to fullname. Document returned string meaning for |
| 3353 | find_symbol_file. |
| 3354 | * symtab.c (find_line_symtab): Rename the called function to |
| 3355 | expand_symtabs_with_fullname. |
| 3356 | |
| 3357 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3358 | |
| 3359 | Code cleanup. |
| 3360 | * breakpoint.c (clear_command): Remove variable is_abs, unify the |
| 3361 | call of filename_cmp with compare_filenames_for_search. |
| 3362 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable |
| 3363 | is_abs, unify the call of FILENAME_CMP with |
| 3364 | compare_filenames_for_search. New gdb_asserts for real_path and name. |
| 3365 | Unify the call of compare_filenames_for_search with FILENAME_CMP. |
| 3366 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. |
| 3367 | * symfile.h (struct quick_symbol_functions): Extend the comment for |
| 3368 | map_symtabs_matching_filename. |
| 3369 | * symtab.c (compare_filenames_for_search): Remove the function comment |
| 3370 | relative path requirement. Handle absolute filenames, with a comment. |
| 3371 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of |
| 3372 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for |
| 3373 | real_path and name. Unify the call of compare_filenames_for_search |
| 3374 | with FILENAME_CMP. |
| 3375 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. |
| 3376 | |
| 3377 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3378 | |
| 3379 | Code cleanup. |
| 3380 | * breakpoint.c (print_breakpoint_location): Replace bp_location field |
| 3381 | source_file references by symtab field references. Remove variables |
| 3382 | sal and fullname. |
| 3383 | (momentary_breakpoint_from_master, add_location_to_breakpoint): |
| 3384 | (clear_command, say_where): Replace bp_location field source_file |
| 3385 | references by symtab field references. |
| 3386 | (bp_location_dtor): Remove the source_file reference. |
| 3387 | (update_static_tracepoint): Replace bp_location field source_file |
| 3388 | references by symtab field references. |
| 3389 | (breakpoint_free_objfile): New function. |
| 3390 | * breakpoint.h (struct bp_location): Extend the comment for line_number. |
| 3391 | Replace the field source_file by field symtab, extend its comment. |
| 3392 | (breakpoint_free_objfile): New declaration. |
| 3393 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. |
| 3394 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location |
| 3395 | field source_file references by symtab field references. |
| 3396 | |
| 3397 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3398 | |
| 3399 | Replace xfullpath calls by gdb_realpath calls. |
| 3400 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the |
| 3401 | function comment. |
| 3402 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. |
| 3403 | Remove it from the iterate_over_some_symtabs call. |
| 3404 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. |
| 3405 | Remove it from the dw2_map_expand_apply calls, remove a block handling |
| 3406 | it. |
| 3407 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. |
| 3408 | Remove it from the iterate_over_some_symtabs call. |
| 3409 | (partial_map_symtabs_matching_filename): Remove parameter full_path. |
| 3410 | Remove it from the partial_map_expand_apply calls, remove a block |
| 3411 | handling it. Drop gdb_realpath call and cleanups from the real_path |
| 3412 | handling. |
| 3413 | * source.c (openp): Drop the comment part about xfullpath. Replace |
| 3414 | xfullpath calls by gdb_realpath calls. |
| 3415 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. |
| 3416 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path |
| 3417 | from method map_symtabs_matching_filename and its comment. |
| 3418 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by |
| 3419 | gdb_realpath call. |
| 3420 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, |
| 3421 | remove it also from the function comment, remove a block handling it. |
| 3422 | Drop gdb_realpath call and cleanups from the real_path handling. |
| 3423 | (iterate_over_symtabs): Drop variable full_path and its use. |
| 3424 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. |
| 3425 | * utils.c (xfullpath): Remove. |
| 3426 | * utils.h (xfullpath): Remove. |
| 3427 | |
| 3428 | 2013-02-01 Andreas Tobler <andreast@fgznet.ch> |
| 3429 | |
| 3430 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. |
| 3431 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. |
| 3432 | (ALLDEPFILES): Add ppc64-tdep.c. |
| 3433 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add |
| 3434 | ppc64-tdep.o to gdb_target_obs. |
| 3435 | * ppc64-tdep.h: New file. |
| 3436 | * ppc64-tdep.c: New file. |
| 3437 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from |
| 3438 | ppc-linux-tdep.c to here. |
| 3439 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) |
| 3440 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. |
| 3441 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) |
| 3442 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move |
| 3443 | from ppc-linux-tdep.c to here. |
| 3444 | (ppc64_convert_from_func_ptr_addr): Rename from |
| 3445 | ppc64_linux_convert_from_func_ptr_addr to |
| 3446 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to |
| 3447 | here. |
| 3448 | * rs6000-tdep.c: |
| 3449 | (read_insn): Move from ppc-linux-tdep.c to here. |
| 3450 | (insns_match_pattern, insn_d_field, insn_ds_field): Move |
| 3451 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. |
| 3452 | * ppc-linux-tdep.c: Include ppc64-tdep.h. |
| 3453 | Removed above functions. |
| 3454 | (ppc_linux_init_abi): Adjust. |
| 3455 | |
| 3456 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 3457 | |
| 3458 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. |
| 3459 | |
| 3460 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 3461 | |
| 3462 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. |
| 3463 | |
| 3464 | 2013-02-01 Pedro Alves <palves@redhat.com> |
| 3465 | |
| 3466 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. |
| 3467 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. |
| 3468 | |
| 3469 | 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3470 | |
| 3471 | * elfread.c (elf_symfile_read): Limit separate debug info additions to |
| 3472 | files with no separate debug info. |
| 3473 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. |
| 3474 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section |
| 3475 | only for files with no separate debug info. |
| 3476 | |
| 3477 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 3478 | |
| 3479 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; |
| 3480 | change type. |
| 3481 | (struct jit_program_space_data): Rename from jit_inferior_data. |
| 3482 | Update comments. |
| 3483 | (get_jit_program_space_data): Rename from get_jit_inferior_data. |
| 3484 | Change return type. Attach data to program space. |
| 3485 | (jit_program_space_data_cleanup): Rename from |
| 3486 | jit_inferior_data_cleanup; change argument type. |
| 3487 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', |
| 3488 | change type. |
| 3489 | (jit_register_code): Update. |
| 3490 | (jit_update_inferior_cache): Remove. |
| 3491 | (jit_breakpoint_deleted): Get jit data from the location's program |
| 3492 | space. |
| 3493 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to |
| 3494 | 'ps_data', change type. |
| 3495 | (jit_inferior_init, jit_breakpoint_re_set_internal) |
| 3496 | (jit_event_handler): Update. |
| 3497 | (free_objfile_data): Get data from objfile's program space. |
| 3498 | (_initialize_jit): Update. |
| 3499 | |
| 3500 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 3501 | |
| 3502 | PR gdb/13987: |
| 3503 | * jit.c (struct jit_inferior_data) <cached_code_address, |
| 3504 | jit_breakpoint>: New fields. |
| 3505 | (jit_breakpoint_re_set_internal): Fix logging. Only create |
| 3506 | breakpoint if cached address has changed. |
| 3507 | (jit_update_inferior_cache, jit_breakpoint_deleted): New |
| 3508 | functions. |
| 3509 | (_initialize_jit): Register breakpoint deleted observer. |
| 3510 | |
| 3511 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 3512 | |
| 3513 | * infrun.c (handle_syscall_event): Remove unused gdbarch. |
| 3514 | (save_infcall_suspend_state): Ifdef out unused inf. |
| 3515 | (restore_infcall_suspend_state): Ifdef out unused inf. |
| 3516 | * jit.c (jit_register_code): Remove unused i, b, inf_data. |
| 3517 | (jit_frame_sniffer): Remove unused inf_data. |
| 3518 | |
| 3519 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 3520 | |
| 3521 | * c-exp.y (classify_inner_name): Remove unused type. |
| 3522 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, |
| 3523 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, |
| 3524 | need_escape. |
| 3525 | (c_get_string): Remove unused kind. |
| 3526 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. |
| 3527 | |
| 3528 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 3529 | |
| 3530 | * charset.c (intermediate_encoding): Remove unused i. |
| 3531 | * completer.c (signal_completer): Remove unused i. |
| 3532 | * continuations.c (discard_my_continuations_1): Remove unused |
| 3533 | continuation_ptr. |
| 3534 | * corelow.c (core_close): Remove unuseD name. |
| 3535 | (get_core_siginfo): Remove unused pid. |
| 3536 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused |
| 3537 | i, cps. |
| 3538 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. |
| 3539 | (loclist_describe_location): Remove unused first. |
| 3540 | * event-top.c (command_line_handler): Remove unused got_eof. |
| 3541 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. |
| 3542 | (resize_section_table): Remove unused old_value. |
| 3543 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. |
| 3544 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. |
| 3545 | * i386-tdep.c (i386_process_record): Remove unused rex. |
| 3546 | * infcmd.c (get_return_value): Remove unused uiout. |
| 3547 | * jv-lang.c (type_from_class): Remove unused is_array. |
| 3548 | * jv-valprint.c (java_val_print): Remove unused i. |
| 3549 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. |
| 3550 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. |
| 3551 | * m2-typeprint.c (m2_print_type): Remove unused code. |
| 3552 | * macroexp.c (get_character_constant): Remove unused body_start. |
| 3553 | (macro_stringify): Remove unused result. |
| 3554 | * objc-lang.c (find_methods): Remove unused gdbarch. |
| 3555 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. |
| 3556 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. |
| 3557 | * stack.c (print_frame_args): Remove unused summary. |
| 3558 | * thread.c (thread_apply_command): Remove unused p. |
| 3559 | * valarith.c (value_x_unop): Remove unused mangle_ptr. |
| 3560 | * valops.c (search_struct_method): Remove unused skip. |
| 3561 | * valprint.c (generic_val_print): Remove unused byte_order. |
| 3562 | * varobj.c (varobj_update): Remove unused changed. |
| 3563 | * cli/cli-cmds.c (complete_command): Remove unused next_item. |
| 3564 | (alias_command): Remove unused c. |
| 3565 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. |
| 3566 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused |
| 3567 | format. |
| 3568 | (mi_cmd_data_write_memory): Remove unused word_format. |
| 3569 | (mi_cmd_data_write_memory_bytes): Remove unused r. |
| 3570 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused |
| 3571 | p_start, p_end. |
| 3572 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. |
| 3573 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused |
| 3574 | line_width. |
| 3575 | |
| 3576 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 3577 | |
| 3578 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. |
| 3579 | * symtab.c (iterate_over_symtabs): Remove unused s. |
| 3580 | (find_pc_sect_symtab): Remove unused pspAce. |
| 3581 | (find_pc_sect_line): Remove unused alt_symtab. |
| 3582 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. |
| 3583 | (completion_list_add_name): Remove unused newsize. |
| 3584 | |
| 3585 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 3586 | |
| 3587 | PR c++/14998: |
| 3588 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle |
| 3589 | TYPE_CODE_FUNC. |
| 3590 | |
| 3591 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 3592 | |
| 3593 | * target.c (target_read_string): Remove unused origlen. |
| 3594 | |
| 3595 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 3596 | |
| 3597 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. |
| 3598 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. |
| 3599 | * ax-general.c (ax_print): Remove unused is_float. |
| 3600 | * blockframe.c (block_innermost_frame): Remove unused start, end. |
| 3601 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. |
| 3602 | |
| 3603 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 3604 | |
| 3605 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. |
| 3606 | (svr4_read_so_list): Remove unused lmo. |
| 3607 | * solib-target.c (solib_target_relocate_section_addresses): Remove |
| 3608 | unused flags. |
| 3609 | |
| 3610 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 3611 | |
| 3612 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". |
| 3613 | |
| 3614 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 3615 | |
| 3616 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. |
| 3617 | * utils.c (gnu_debuglink_crc32): Remove. |
| 3618 | * utils.h (gnu_debuglink_crc32): Don't declare. |
| 3619 | |
| 3620 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 3621 | |
| 3622 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) |
| 3623 | (read_structure_type, read_enumeration_type): Remove cast. |
| 3624 | |
| 3625 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 3626 | |
| 3627 | * dwarf2read.c (read_namespace_type): Remove cast. |
| 3628 | (read_typedef): Likewise. |
| 3629 | |
| 3630 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
| 3631 | |
| 3632 | * dwarf2read.c (free_dwo_file): Remove assert. |
| 3633 | |
| 3634 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
| 3635 | |
| 3636 | * value.c (deprecated_set_value_modifiable): Remove. |
| 3637 | * value.h (deprecated_set_value_modifiable): Remove. |
| 3638 | |
| 3639 | 2013-01-28 Doug Evans <dje@google.com> |
| 3640 | |
| 3641 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address |
| 3642 | to addresses from dwo files. |
| 3643 | |
| 3644 | 2013-01-25 Siva Chandra Reddy <sivachandra@google.com> |
| 3645 | |
| 3646 | * valops.c (find_overload_match): Remove unused argument 'lax'. |
| 3647 | * value.h: Remove unused argument 'lax' from the declaration of |
| 3648 | find_overload_match. |
| 3649 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument |
| 3650 | to find_overload_match. |
| 3651 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' |
| 3652 | argument to find_overload_match. |
| 3653 | |
| 3654 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 3655 | |
| 3656 | * dwarf2read.c (processing_has_namespace_info): Remove. |
| 3657 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. |
| 3658 | (process_die, read_func_scope, dwarf2_start_symtab) |
| 3659 | (new_symbol_full): Update. |
| 3660 | |
| 3661 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 3662 | |
| 3663 | * cp-namespace.c (cp_set_block_scope): Remove. |
| 3664 | * cp-support.h (cp_set_block_scope): Remove. |
| 3665 | * dbxread.c: Include block.h. |
| 3666 | (cp_set_block_scope): New function. |
| 3667 | (process_one_symbol): Update. |
| 3668 | * dwarf2read.c (read_func_scope): Use block_set_scope. |
| 3669 | |
| 3670 | 2013-01-25 Pedro Alves <palves@redhat.com> |
| 3671 | |
| 3672 | * remote.c (add_current_inferior_and_thread): Tweak comment. |
| 3673 | |
| 3674 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 3675 | |
| 3676 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. |
| 3677 | (cp_add_using_directive): Add 'copy_names' argument. |
| 3678 | * cp-support.h (cp_add_using_directive): Update. |
| 3679 | (struct using_direct) <import_src, import_dest, alias, |
| 3680 | declaration>: Now const. |
| 3681 | * dwarf2read.c (read_import_statement): Use obconcat. |
| 3682 | Don't copy names passed to cp_add_using_directive. |
| 3683 | |
| 3684 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 3685 | |
| 3686 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. |
| 3687 | |
| 3688 | 2013-01-25 Pedro Alves <palves@redhat.com> |
| 3689 | |
| 3690 | * remote.c (stop_reply_extract_thread): New. |
| 3691 | (add_current_inferior_and_thread): New parameter 'wait_status'. |
| 3692 | Handle it. |
| 3693 | (remote_start_remote): Pass wait status to |
| 3694 | add_current_inferior_and_thread. |
| 3695 | (extended_remote_run): Update comment. |
| 3696 | (extended_remote_create_inferior_1): Pass wait status to |
| 3697 | add_current_inferior_and_thread. |
| 3698 | |
| 3699 | 2013-01-25 Andrew Burgess <aburgess@broadcom.com> |
| 3700 | Ulrich Weigand <uweigand@de.ibm.com> |
| 3701 | |
| 3702 | * valarith.c (value_vector_widen): New function for replicating a |
| 3703 | scalar into a vector. |
| 3704 | (value_binop): Use value_vector_widen to widen scalar to vector |
| 3705 | rather than casting, this better matches gcc C behaviour. |
| 3706 | * valops.c (value_casst): Update logic for casting between vector |
| 3707 | types, and for casting from scalar to vector, try to match gcc C |
| 3708 | behaviour. |
| 3709 | * value.h (value_vector_widen): Declare. |
| 3710 | * opencl-lang.c (opencl_value_cast): New opencl specific casting |
| 3711 | function, handle special case for casting scalar to vector. |
| 3712 | (opencl_relop): Use opencl_value_cast. |
| 3713 | (evaluate_subexp_opencl): Use opencl_value_cast instead of |
| 3714 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE |
| 3715 | in order to use opencl_value_cast. |
| 3716 | |
| 3717 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 3718 | |
| 3719 | * event-loop.c: Include "queue.h". |
| 3720 | (gdb_event_p): New typedef. |
| 3721 | (DECLARE_QUEUE_P): Use. |
| 3722 | (DEFINE_QUEUE_P): Use. |
| 3723 | (async_queue_event): Remove. |
| 3724 | (gdb_event_xfree): New. |
| 3725 | (initialize_event_loop): New. |
| 3726 | (process_event): Use QUEUE macros. |
| 3727 | (event_queue): Remove. |
| 3728 | (gdb_wait_for_event): Caller update. |
| 3729 | (check_async_event_handlers): Likewise. |
| 3730 | (poll_timers): Likewise. |
| 3731 | * event-loop.h (initialize_event_loop): Declare. |
| 3732 | * event-loop.c (gdb_event_xfree): New. |
| 3733 | * top.c (gdb_init): Call initialize_event_loop. |
| 3734 | |
| 3735 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 3736 | |
| 3737 | * event-loop.c (async_queue_event): Remove one parameter |
| 3738 | 'position'. Remove code handling 'position' == TAIL. |
| 3739 | (gdb_wait_for_event): Caller update. |
| 3740 | (check_async_event_handlers): Caller update. |
| 3741 | (poll_timers): Caller update. |
| 3742 | * event-loop.h (enum queue_position): Remove. |
| 3743 | |
| 3744 | 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com> |
| 3745 | |
| 3746 | * MAINTAINERS: Update my email. |
| 3747 | |
| 3748 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 3749 | |
| 3750 | * main.c (print_gdb_help): Remove "--epoch" from the help |
| 3751 | message. |
| 3752 | |
| 3753 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
| 3754 | |
| 3755 | * symtab.c (skip_prologue_using_sal): Consider a file |
| 3756 | change the same as an increased line number |
| 3757 | |
| 3758 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
| 3759 | |
| 3760 | * MAINTAINERS (Write After Approval): Add myself to the list. |
| 3761 | |
| 3762 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
| 3763 | |
| 3764 | * ada-lang.h (ada_decode_symbol): Make return type const. |
| 3765 | * ada-lang.c (ada_decode_symbol): Likewise. |
| 3766 | |
| 3767 | 2013-01-23 Doug Evans <dje@google.com> |
| 3768 | |
| 3769 | * linespec.c (find_linespec_symbols): Make static. |
| 3770 | |
| 3771 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
| 3772 | |
| 3773 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct |
| 3774 | type on float conversion for complex type. |
| 3775 | |
| 3776 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
| 3777 | |
| 3778 | Add a new class gdb.Architecture which exposes GDB's |
| 3779 | internal representation of architecture via GDB Python API. |
| 3780 | * Makefile.in: Add entries corresponding to the new file |
| 3781 | python/py-arch.c. |
| 3782 | * NEWS (Python Scripting): Add entries for the new class |
| 3783 | gdb.Architecture and the new method gdb.Frame.architecture. |
| 3784 | * python/py-arch.c: Implement gdb.Architecture class. |
| 3785 | * python/py-frame.c (frapy_arch): Implement the method |
| 3786 | gdb.Frame.architecture(). |
| 3787 | (frame_object_methods): Add 'architecture' to the method table. |
| 3788 | * python/python-internal.h: Add declarations of new utility |
| 3789 | functions. |
| 3790 | * python/python.c (_initialize_python): Initialize |
| 3791 | gdb.Architecture class. |
| 3792 | |
| 3793 | 2013-01-23 Doug Evans <dje@google.com> |
| 3794 | |
| 3795 | Work around binutils/15021. |
| 3796 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and |
| 3797 | type_unit_group out of union s. All uses updated. |
| 3798 | (read_index_from_section): Watch for index version 8. |
| 3799 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as |
| 3800 | an imported symtab. |
| 3801 | (write_psymtabs_to_index): Increment version number to 8. |
| 3802 | |
| 3803 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 3804 | |
| 3805 | * annotate.c (breakpoint_changed): Skip if breakpoint is not |
| 3806 | user-visible. |
| 3807 | |
| 3808 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 3809 | |
| 3810 | * annotate.c (annotate_breakpoints_changed): Rename to ... |
| 3811 | (annotate_breakpoints_invalid): ... this. Make static. |
| 3812 | (breakpoint_changed): Adjust. |
| 3813 | (_initialize_annotate): Always install the observers. Install a |
| 3814 | "breakpoint_created" observer. |
| 3815 | * annotate.h (annotate_breakpoints_changed): Delete declaration. |
| 3816 | * breakpoint.c (set_breakpoint_condition) |
| 3817 | (breakpoint_set_commands, do_map_commands_command) |
| 3818 | (init_raw_breakpoint, clear_command, set_ignore_count) |
| 3819 | (enable_breakpoint_disp): No longer call |
| 3820 | annotate_breakpoints_changed. |
| 3821 | |
| 3822 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 3823 | |
| 3824 | * annotate.c: Include "inferior.h". |
| 3825 | (frames_invalid_emitted) |
| 3826 | (breakpoints_invalid_emitted): New globals. |
| 3827 | (async_background_execution_p): New function. |
| 3828 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip |
| 3829 | emitting the annotation if it has already been emitted. |
| 3830 | (annotate_display_prompt): New function. |
| 3831 | * annotate.h (annotate_display_prompt): New declaration. |
| 3832 | * event-top.c: Include annotate.h. |
| 3833 | (display_gdb_prompt): Call annotate_display_prompt. |
| 3834 | |
| 3835 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 3836 | |
| 3837 | * annotate.c (ignore_count_changed): Delete. |
| 3838 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. |
| 3839 | (annotate_ignore_count_change): Delete. |
| 3840 | (annotate_stopped): Don't emit a delayed breakpoints-changed |
| 3841 | annotation. |
| 3842 | * annotate.h (annotate_ignore_count_change): Delete. |
| 3843 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call |
| 3844 | annotate_ignore_count_change. |
| 3845 | |
| 3846 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
| 3847 | |
| 3848 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only |
| 3849 | require_rvalue for a register location. |
| 3850 | |
| 3851 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
| 3852 | |
| 3853 | * breakpoint.c (print_one_breakpoint_location): Add MI |
| 3854 | field 'thread-groups' when printing a breakpoint. |
| 3855 | (output_thread_groups): New function. |
| 3856 | |
| 3857 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
| 3858 | |
| 3859 | * python/lib/gdb/commands/explore.py |
| 3860 | (CompoundExplorer.explore_expr): Correct the name of a method |
| 3861 | being invoked. |
| 3862 | (ExploreTypeCommand.invoke): Add a missing 'return'. |
| 3863 | |
| 3864 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3865 | |
| 3866 | * gdb_obstack.h (obconcat): Move declaration here, from... |
| 3867 | * symfile.h (obconcat): ... here. |
| 3868 | * gdb_obstack.c: New file. |
| 3869 | (obconcat): Move from... |
| 3870 | * symfile.c (obconcat): ... here. |
| 3871 | * Makefile.in (SFILES): Add gdb_obstack.c. |
| 3872 | (COMMON_OBS): Add gdb_obstack.o. |
| 3873 | |
| 3874 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3875 | |
| 3876 | * symfile.h (obsavestring): Don't declare. |
| 3877 | * symfile.c (obsavestring): Remove. |
| 3878 | * ada-exp.y: Use obstack_copy0, not obsavestring. |
| 3879 | * ada-lang.c: Use obstack_copy0, not obsavestring. |
| 3880 | * coffread.c: Use obstack_copy0, not obsavestring. |
| 3881 | * cp-namespace.c: Use obstack_copy0, not obsavestring. |
| 3882 | * dbxread.c: Use obstack_copy0, not obsavestring. |
| 3883 | * dwarf2read.c: Use obstack_copy0, not obsavestring. |
| 3884 | * jit.c: Use obstack_copy0, not obsavestring. |
| 3885 | * mdebugread.c: Use obstack_copy0, not obsavestring. |
| 3886 | * psymtab.c: Use obstack_copy0, not obsavestring. |
| 3887 | * stabsread.c: Use obstack_copy0, not obsavestring. |
| 3888 | * xcoffread.c: Use obstack_copy0, not obsavestring. |
| 3889 | |
| 3890 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3891 | |
| 3892 | * dwarf2read.c (fixup_go_packaging): Save package name |
| 3893 | on objfile obstack. |
| 3894 | * gdbtypes.c (init_type): Don't copy name. |
| 3895 | |
| 3896 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3897 | |
| 3898 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now |
| 3899 | const. |
| 3900 | (struct attribute) <u.str>: Now const. |
| 3901 | (struct fnfieldlist) <name>: Now const. |
| 3902 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. |
| 3903 | (partial_die_parent_scope): Make return type const. |
| 3904 | (partial_die_full_name, add_partial_symbol): Update. |
| 3905 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make |
| 3906 | 'name' const. |
| 3907 | (find_file_and_directory): Make 'name' and 'comp_dir' const. |
| 3908 | (read_file_scope, read_func_scope, dwarf2_add_field) |
| 3909 | (dwarf2_add_member_fn, read_structure_type) |
| 3910 | (process_enumeration_scope, read_array_type, read_module_type) |
| 3911 | (read_base_type, read_subrange_type): Update. |
| 3912 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. |
| 3913 | (new_symbol_full, guess_full_die_structure_name): Update. |
| 3914 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. |
| 3915 | (dwarf2_name): Return const type. |
| 3916 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' |
| 3917 | const. |
| 3918 | |
| 3919 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3920 | |
| 3921 | * gdbtypes.c (init_type): Make 'name' const. |
| 3922 | * gdbtypes.h (init_type): Update. |
| 3923 | |
| 3924 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3925 | |
| 3926 | * buildsym.c (patch_subfile_names): Use set_last_source_file. |
| 3927 | (start_symtab): Make 'name' and 'dirname' const. Use |
| 3928 | set_last_source_file. |
| 3929 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. |
| 3930 | (last_source_file): Define. Now static. |
| 3931 | (set_last_source_file, get_last_source_file): New functions. |
| 3932 | * buildsym.h (last_source_file): Don't declare. |
| 3933 | (start_symtab): Update. |
| 3934 | (set_last_source_file, get_last_source_file): Declare. |
| 3935 | * coffread.c (complete_symtab): Use set_last_source_file. |
| 3936 | (coff_end_symtab): Likewise. |
| 3937 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. |
| 3938 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use |
| 3939 | set_last_source_file. |
| 3940 | (process_one_symbol): Use get_last_source_file. |
| 3941 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. |
| 3942 | (psymtab_to_symtab_1): Use get_last_source_file. |
| 3943 | * xcoffread.c (process_linenos): Use get_last_source_file. |
| 3944 | (complete_symtab): Use set_last_source_file. |
| 3945 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. |
| 3946 | (scan_xcoff_symtab): Use set_last_source_file. |
| 3947 | |
| 3948 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3949 | |
| 3950 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. |
| 3951 | (symbol_set_names): Remove casts. Handle field const-ness. |
| 3952 | |
| 3953 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3954 | |
| 3955 | * dwarf2read.c (new_symbol_full): Remove cast. |
| 3956 | * symtab.c (symbol_set_demangled_name): Make 'name' const. |
| 3957 | * symtab.h (symbol_set_demangled_name): Update. |
| 3958 | |
| 3959 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3960 | |
| 3961 | * main.c (captured_main): Call bfd_init. |
| 3962 | |
| 3963 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 3964 | |
| 3965 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. |
| 3966 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. |
| 3967 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. |
| 3968 | * NEWS: Update. |
| 3969 | |
| 3970 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3971 | |
| 3972 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. |
| 3973 | |
| 3974 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3975 | |
| 3976 | Fix gdb.fortran/common-block.exp crash in PIE mode. |
| 3977 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use |
| 3978 | LOC_COMMON_BLOCK. |
| 3979 | * f-valprint.c (info_common_command_for_block): Expect |
| 3980 | LOC_COMMON_BLOCK in gdb_assert. |
| 3981 | * symtab.h (struct general_symbol_info): Update comment for the |
| 3982 | common_block member. |
| 3983 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. |
| 3984 | (enum address_class): New member LOC_COMMON_BLOCK. |
| 3985 | |
| 3986 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
| 3987 | |
| 3988 | * MAINTAINERS (Write After Approval): Add "David Blaikie". |
| 3989 | |
| 3990 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
| 3991 | |
| 3992 | PR c++/14999: |
| 3993 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: |
| 3994 | Call require_rvalue. |
| 3995 | |
| 3996 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
| 3997 | |
| 3998 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. |
| 3999 | (dbx_read_symtab): New declaration. |
| 4000 | (dbx_psymtab_to_symtab): Delete. |
| 4001 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. |
| 4002 | Rename parameter PST to SELF. Exchanged two parameters. |
| 4003 | (start_psymtab): Caller update. |
| 4004 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. |
| 4005 | (dwarf2_read_symtab): New declaration. |
| 4006 | (dwarf2_psymtab_to_symtab): Delete. |
| 4007 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. |
| 4008 | Rename parameter PST to SELF. Exchanged two parameters. |
| 4009 | (create_partial_symtab): Caller update. |
| 4010 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. |
| 4011 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. |
| 4012 | Rename parameter PST to SELF. Exchanged two parameters. |
| 4013 | (parse_partial_symbols, new_psymtab): Caller update. |
| 4014 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange |
| 4015 | two parameters. |
| 4016 | * psymtab.c (psymtab_to_symtab): Caller update. |
| 4017 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. |
| 4018 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. |
| 4019 | Rename parameter PST to SELF. Exchanged two parameters. |
| 4020 | (xcoff_start_psymtab): Caller update. |
| 4021 | |
| 4022 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
| 4023 | |
| 4024 | * infrun.c (proceed): Rename local variable 'oneproc' to |
| 4025 | 'force_step'. |
| 4026 | |
| 4027 | 2013-01-17 Doug Evans <dje@google.com> |
| 4028 | |
| 4029 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
| 4030 | (dw2_build_type_unit_groups): Delete. All uses updated. |
| 4031 | |
| 4032 | * symtab.h (struct symbol_search): Add comment. |
| 4033 | |
| 4034 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4035 | |
| 4036 | * symtab.c (compare_filenames_for_search): New comment for |
| 4037 | HAS_DRIVE_SPEC. |
| 4038 | |
| 4039 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 4040 | |
| 4041 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. |
| 4042 | |
| 4043 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4044 | |
| 4045 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, |
| 4046 | initialize it by existing make_cleanup. Call new do_cleanups. |
| 4047 | |
| 4048 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 4049 | |
| 4050 | * cp-abi.c (cp_abi_completer): New function. |
| 4051 | (_initialize_cp_abi): Set completer for "set cp-abi". |
| 4052 | |
| 4053 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 4054 | |
| 4055 | * mem-break.c: Remove obsolete comment. |
| 4056 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. |
| 4057 | |
| 4058 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
| 4059 | |
| 4060 | * jit.c (jit_reader_load_command): Interpret the jit reader name |
| 4061 | as an absolute path if it begins with a forward slash. |
| 4062 | |
| 4063 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
| 4064 | |
| 4065 | PR gdb/14550 |
| 4066 | |
| 4067 | * jit.c (finalize_symtab): Ensure that only the global block has a |
| 4068 | NULL superblock. |
| 4069 | |
| 4070 | 2013-01-17 Pedro Alves <palves@redhat.com> |
| 4071 | |
| 4072 | * acinclude.m4: Include ../config/plugins.m4, |
| 4073 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. |
| 4074 | * Makefile.in (aclocal_m4_deps): Update. |
| 4075 | * aclocal.m4: Renegerate. |
| 4076 | |
| 4077 | 2013-01-16 Doug Evans <dje@google.com> |
| 4078 | |
| 4079 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. |
| 4080 | |
| 4081 | 2013-01-16 Pedro Alves <palves@redhat.com> |
| 4082 | Tom Tromey <tromey@redhat.com> |
| 4083 | |
| 4084 | PR cli/7221: |
| 4085 | * NEWS: Add "catch signal". |
| 4086 | * breakpoint.c (base_breakpoint_ops): No longer static. |
| 4087 | (bpstat_explains_signal): New function. |
| 4088 | (init_catchpoint): No longer static. |
| 4089 | (base_breakpoint_explains_signal): New function. |
| 4090 | (base_breakpoint_ops): Initialize new field. |
| 4091 | * breakpoint.h (enum bpstat_signal_value): New. |
| 4092 | (struct breakpoint_ops) <explains_signal>: New field. |
| 4093 | (bpstat_explains_signal): Remove macro, declare as function. |
| 4094 | (base_breakpoint_ops, init_catchpoint): Declare. |
| 4095 | * break-catch-sig.c: New file. |
| 4096 | * inferior.h (signal_catch_update): Declare. |
| 4097 | * infrun.c (signal_catch): New global. |
| 4098 | (handle_syscall_event): Update for change to |
| 4099 | bpstat_explains_signal. |
| 4100 | (handle_inferior_event): Likewise. Always handle random signals |
| 4101 | via bpstats. |
| 4102 | (signal_cache_update): Check signal_catch. |
| 4103 | (signal_catch_update): New function. |
| 4104 | (_initialize_infrun): Initialize signal_catch. |
| 4105 | * Makefile.in (SFILES): Add break-catch-sig.c. |
| 4106 | (COMMON_OBS): Add break-catch-sig.o. |
| 4107 | |
| 4108 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
| 4109 | |
| 4110 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) |
| 4111 | (print_one_catch_solib, print_one_catch_syscall) |
| 4112 | (print_one_catch_exec, print_one_exception_catchpoint): Emit |
| 4113 | "catch-type". |
| 4114 | |
| 4115 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
| 4116 | |
| 4117 | * printcmd.c (current_display_number): Make it static. |
| 4118 | |
| 4119 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
| 4120 | |
| 4121 | * infcmd.c (step_once): Don't check '!single_inst' as it was |
| 4122 | checked before. |
| 4123 | |
| 4124 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4125 | |
| 4126 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. |
| 4127 | |
| 4128 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 4129 | |
| 4130 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the |
| 4131 | set command. |
| 4132 | * command.h (add_setshow_string_noescape_cmd): Update. |
| 4133 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. |
| 4134 | (complete_set_gnutarget): New function. |
| 4135 | (_initialize_core): Set the "set gnutarget" completer. |
| 4136 | |
| 4137 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 4138 | |
| 4139 | PR symtab/14442: |
| 4140 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. |
| 4141 | (c_type_print_modifier): Likewise. |
| 4142 | * dwarf2read.c (read_tag_restrict_type): New function. |
| 4143 | (read_type_die_1): Handle DW_TAG_restrict_type. |
| 4144 | * gdbtypes.c (make_restrict_type): New function. |
| 4145 | (recursive_dump_type): Handle TYPE_RESTRICT. |
| 4146 | * gdbtypes.h (enum type_flag_values): Renumber. |
| 4147 | (enum type_instance_flag_value): Add |
| 4148 | TYPE_INSTANCE_FLAG_RESTRICT. |
| 4149 | (TYPE_RESTRICT): New macro. |
| 4150 | (make_restrict_type): Declare. |
| 4151 | |
| 4152 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 4153 | |
| 4154 | PR symtab/14931: |
| 4155 | * psymtab.c (struct psymtab_state): New. |
| 4156 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New |
| 4157 | functions. |
| 4158 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. |
| 4159 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. |
| 4160 | |
| 4161 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
| 4162 | Pedro Alves <palves@redhat.com> |
| 4163 | |
| 4164 | PR remote/14786 |
| 4165 | |
| 4166 | * remote.c (remote_threads_info): Make a copy of the reply from |
| 4167 | qfThreadInfo and use that instead of rs->buf. |
| 4168 | |
| 4169 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
| 4170 | |
| 4171 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. |
| 4172 | (dbx_psymtab_to_symtab): Likewise. |
| 4173 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. |
| 4174 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. |
| 4175 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. |
| 4176 | |
| 4177 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4178 | |
| 4179 | * parse.c (parse_exp_in_context): New variable inner_chain. Call |
| 4180 | make_cleanup_restore_current_language. Call set_language. Move |
| 4181 | OLD_CHAIN and INNER_CHAIN cleanups. |
| 4182 | * utils.c (do_restore_current_language) |
| 4183 | (make_cleanup_restore_current_language): New functions. |
| 4184 | * utils.h (make_cleanup_restore_current_language): New declaration. |
| 4185 | |
| 4186 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4187 | |
| 4188 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for |
| 4189 | non-existing files. |
| 4190 | |
| 4191 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
| 4192 | non-existing files if FILENAME is already absolute. |
| 4193 | |
| 4194 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4195 | |
| 4196 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of |
| 4197 | fputs_filtered. Append trailing newline. |
| 4198 | |
| 4199 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
| 4200 | Stan Shebs <stan@codesourcery.com> |
| 4201 | |
| 4202 | * psymtab.c (init_psymbol_list): Clarify the comment. |
| 4203 | |
| 4204 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
| 4205 | |
| 4206 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. |
| 4207 | (update_dprintf_command_list): Assert that 'printf_line' is |
| 4208 | non-null. Remove condition check. |
| 4209 | |
| 4210 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4211 | |
| 4212 | Code cleanup. |
| 4213 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return |
| 4214 | type const char *. |
| 4215 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname |
| 4216 | const char *. |
| 4217 | * tui/tui-source.h (tui_source_is_displayed): Likewise. |
| 4218 | |
| 4219 | 2013-01-09 Anthony Green <green@moxielogic.com> |
| 4220 | |
| 4221 | * cp-abi.c (cplus_print_vtable): Don't return value from void |
| 4222 | function. |
| 4223 | * ada-lang.c (re_set_catch_assert): Ditto. |
| 4224 | |
| 4225 | 2013-01-09 Doug Evans <dje@google.com> |
| 4226 | |
| 4227 | * symfile.h (quick_symbol_functions): Delete member |
| 4228 | pre_expand_symtabs_matching. All uses removed. |
| 4229 | * dwarf2read.c (dw2_lookup_symbol): Implement. |
| 4230 | (dw2_do_expand_symtabs_matching): Delete. |
| 4231 | (dw2_pre_expand_symtabs_matching): Delete. |
| 4232 | (struct dw2_symtab_iterator): New type. |
| 4233 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. |
| 4234 | (dw2_expand_symtabs_for_function): Rewrite. |
| 4235 | (dwarf2_gdb_index_functions): Update. |
| 4236 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. |
| 4237 | (psym_functions): Update. |
| 4238 | |
| 4239 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
| 4240 | |
| 4241 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. |
| 4242 | * configure: Rebuild. |
| 4243 | * configure.ac: Add somread.o to the build if BFD has SOM |
| 4244 | support. |
| 4245 | * somread.c: Include som/aout.h, not syms.h. |
| 4246 | (som_symtab_read): Use som_external_symbol_dictionary_record. |
| 4247 | Unpack records manually. |
| 4248 | (_initialize_somread): Declare. |
| 4249 | |
| 4250 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
| 4251 | |
| 4252 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: |
| 4253 | Cast return_address to 64bits. |
| 4254 | |
| 4255 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
| 4256 | |
| 4257 | * printcmd.c: Remove define of function output_command. |
| 4258 | * tracepoint.c: Remove extern of function output_command. |
| 4259 | * valprint.h: (output_command): New extern. |
| 4260 | |
| 4261 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
| 4262 | |
| 4263 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): |
| 4264 | Remove. |
| 4265 | (objc_language_defn): Use c_printchar, c_printstr, |
| 4266 | c_emit_char. |
| 4267 | |
| 4268 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
| 4269 | |
| 4270 | PR cli/7719: |
| 4271 | * NEWS: Update. |
| 4272 | * ada-valprint.c (printstr, print_field_values): Remove |
| 4273 | "inspect_it" code. |
| 4274 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" |
| 4275 | code. |
| 4276 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" |
| 4277 | code. |
| 4278 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. |
| 4279 | * main.c (captured_main): Remove "epoch" argument. |
| 4280 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. |
| 4281 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. |
| 4282 | * p-valprint.c (pascal_object_print_value_fields): Remove |
| 4283 | "inspect_it" code. |
| 4284 | * printcmd.c (print_command_1): Remove 'inspect' argument. |
| 4285 | (print_command, call_command): Update. |
| 4286 | (inspect_command): Remove. |
| 4287 | (_initialize_printcmd): Make "inspect" an alias for "print". |
| 4288 | * top.c (epoch_interface): Remove. |
| 4289 | * top.h (epoch_interface): Remove. |
| 4290 | * valprint.c (user_print_options): Update. |
| 4291 | (print_converted_chars_to_obstack): Remove "inspect_it" code. |
| 4292 | * valprint.h (struct value_print_options) <inspect_it>: Remove |
| 4293 | field. |
| 4294 | |
| 4295 | 2013-01-04 Tom Tromey <tromey@redhat.com> |
| 4296 | |
| 4297 | * valprint.h (read_string): Add 'extern'. |
| 4298 | |
| 4299 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
| 4300 | |
| 4301 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test |
| 4302 | used to decide whether to define darwin_read_dyld_info or not. |
| 4303 | |
| 4304 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
| 4305 | |
| 4306 | * main.c (relocate_gdb_directory): Avoid calling stat function |
| 4307 | if DIR is empty. |
| 4308 | |
| 4309 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
| 4310 | |
| 4311 | * psymtab.c (fixup_psymbol_section): Update declaration. |
| 4312 | (fixup_psymbol_section): Remove code returning value. |
| 4313 | |
| 4314 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
| 4315 | |
| 4316 | * symtab.h: Remove some out of date comments. |
| 4317 | (enum exception_event_kind): Move it ... |
| 4318 | * breakpoint.c: ... here. |
| 4319 | |
| 4320 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
| 4321 | |
| 4322 | PR gdb/14405 |
| 4323 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
| 4324 | TASK_DYLD_INFO_COUNT is defined. |
| 4325 | (darwin_xfer_partial): Call darwin_read_dyld_info only if |
| 4326 | TASK_DYLD_INFO_COUNT is defined. |
| 4327 | |
| 4328 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 4329 | |
| 4330 | * symfile.h (struct ecoff_debug_hack): Remove. |
| 4331 | * objfiles.c: Don't include mdebugread.h. |
| 4332 | |
| 4333 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 4334 | |
| 4335 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. |
| 4336 | * configure.ac: Check for Mach-O support in BFD. Update |
| 4337 | CONFIG_OBS. |
| 4338 | * configure: Rebuild. |
| 4339 | |
| 4340 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 4341 | |
| 4342 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. |
| 4343 | * configure.ac: Use GDB_AC_CHECK_BFD. |
| 4344 | * configure: Rebuild. |
| 4345 | |
| 4346 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
| 4347 | |
| 4348 | * MAINTAINERS: Update my email. |
| 4349 | |
| 4350 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 4351 | |
| 4352 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. |
| 4353 | |
| 4354 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 4355 | |
| 4356 | * rs6000-nat.c (bss_data_overlap): New function. |
| 4357 | (vmap_symtab): Use it to adjust the .bss section's offset. |
| 4358 | |
| 4359 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 4360 | |
| 4361 | Update year range in copyright notice of all files. |
| 4362 | |
| 4363 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
| 4364 | |
| 4365 | * top.c (print_gdb_version): Update copyright year. |
| 4366 | |
| 4367 | For older changes see ChangeLog-2012. |
| 4368 | \f |
| 4369 | Local Variables: |
| 4370 | mode: change-log |
| 4371 | left-margin: 8 |
| 4372 | fill-column: 74 |
| 4373 | version-control: never |
| 4374 | coding: utf-8 |
| 4375 | End: |