| 1 | 2007-02-08 Fred Fish <fnf@specifix.com> |
| 2 | |
| 3 | * defs.h (request_quit): Remove declaration. |
| 4 | * utils.c (request_quit): Remove definition. |
| 5 | |
| 6 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
| 7 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 8 | Daniel Jacobowitz <dan@codesourcery.com> |
| 9 | |
| 10 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. |
| 11 | (skip_prologue): Allow bl->blrl used by PIC code. |
| 12 | |
| 13 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
| 14 | Daniel Jacobowitz <dan@codesourcery.com> |
| 15 | |
| 16 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always |
| 17 | initialize tmp_obstack. |
| 18 | * p-valprint.c (pascal_object_print_value_fields) |
| 19 | (pascal_object_print_value): Likewise. |
| 20 | |
| 21 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 22 | |
| 23 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. |
| 24 | |
| 25 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
| 26 | |
| 27 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". |
| 28 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. |
| 29 | |
| 30 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
| 31 | |
| 32 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) |
| 33 | (xml_cache): New. |
| 34 | (tdesc_parse_xml): Cache expanded descriptions. |
| 35 | |
| 36 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
| 37 | |
| 38 | * Makefile.in (XMLFILES): New. |
| 39 | (COMMON_OBS): Add xml-builtin.o. |
| 40 | (xml-builtin.c, stamp-xml): New rules. |
| 41 | (xml-tdesc.o): Update. |
| 42 | * features/feature_to_c.sh: New file. |
| 43 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. |
| 44 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. |
| 45 | (gdb_xml_start_element): Initialize scope after possibly reallocating |
| 46 | scopes. Move cleanup later. Handle the XInclude description |
| 47 | specially. |
| 48 | (gdb_xml_end_element): Only parse the body if there is a current element. |
| 49 | Call XML_DefaultCurrent if there is no element. |
| 50 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. |
| 51 | (struct xinclude_parsing_data, xinclude_start_include) |
| 52 | (xinclude_end_include, xml_xinclude_default) |
| 53 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) |
| 54 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) |
| 55 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. |
| 56 | * xml-support.h (xml_fetch_another, xml_process_xincludes) |
| 57 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. |
| 58 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand |
| 59 | XInclude directives. Use the compiled in DTD. |
| 60 | (fetch_xml_from_file): Add baton argument. Treat it as a containing |
| 61 | directory name. Do not warn here. |
| 62 | (file_read_description_xml): Update call. Warn here instead. Pass |
| 63 | a dirname as baton. |
| 64 | (fetch_available_features_from_target): New. |
| 65 | (target_read_description_xml): Use it. |
| 66 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd |
| 67 | to handle XInclude. |
| 68 | * features/xinclude.dtd: New file. |
| 69 | |
| 70 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 71 | |
| 72 | * linux-thread-db.c (check_for_thread_db): Return early if we have |
| 73 | no libthread_db support. |
| 74 | |
| 75 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 76 | |
| 77 | * mi/mi-parse.h: Include <sys/time.h>. |
| 78 | |
| 79 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
| 80 | |
| 81 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print |
| 82 | instead of print_variable_value to print values. |
| 83 | |
| 84 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
| 85 | |
| 86 | * mi/mi-main.c: Numerous formatting changes. |
| 87 | (mi_cmd_data_write_register_values): Replace clause inadvertantly |
| 88 | removed in my previous change. |
| 89 | |
| 90 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
| 91 | |
| 92 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): |
| 93 | Use 1000000L instead of 1000000. |
| 94 | |
| 95 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
| 96 | |
| 97 | Based on work by Apple Computer, Inc. |
| 98 | |
| 99 | * configure.ac: Test for sys/resource.h and getrusage. |
| 100 | * configure, config.in: Regenerate. |
| 101 | |
| 102 | * mi/mi-main.c: Include <sys/resource.h> if present. |
| 103 | (rusage): Declare if HAVE_GETRUSAGE. |
| 104 | (current_command_ts, do_timings): New static variables. |
| 105 | (timestamp, print_diff_now, print_diff, timeval_diff): |
| 106 | New static timing functions. |
| 107 | (mi_cmd_enable_timings): New function for new MI command. |
| 108 | (captured_mi_execute_command, mi_execute_async_cli_command): |
| 109 | Call timing functions. |
| 110 | |
| 111 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command |
| 112 | -enable-timings. |
| 113 | |
| 114 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. |
| 115 | |
| 116 | * mi/mi-parse.h: (mi_timestamp): New structure. |
| 117 | (mi_parse): Add mi_timestamp* member. |
| 118 | |
| 119 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
| 120 | |
| 121 | * thread.c (make_cleanup_restore_current_thread): New function. |
| 122 | (info_threads_command): Use of make_cleanup_restore_current_thread |
| 123 | to restore the current thread and the selected frame. |
| 124 | (restore_selected_frame): New function. |
| 125 | (struct current_thread_cleanup): Add frame_id field. |
| 126 | (do_restore_current_thread_cleanup): Add restoring of the selected |
| 127 | frame. |
| 128 | (make_cleanup_restore_current_thread): Likewise. |
| 129 | (thread_apply_all_command): backup the selected frame while |
| 130 | entering the function and restore it at exit. |
| 131 | (thread_apply_command): Likewise. |
| 132 | |
| 133 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
| 134 | |
| 135 | * MAINTAINERS (Write After Approval): Add myself to the list. |
| 136 | |
| 137 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
| 138 | |
| 139 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. |
| 140 | (m32r_store_register): Ditto. |
| 141 | |
| 142 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
| 143 | |
| 144 | * ser-mingw.c (pipe_windows_open) |
| 145 | (pipe_windows_read, pipe_windows_write): Declare |
| 146 | variables at the top of the function. |
| 147 | |
| 148 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 149 | |
| 150 | * doublest.c (floatformat_from_length): Use the right element from |
| 151 | gdbarch floatformats. |
| 152 | (floatformat_from_type, extract_typed_floating) |
| 153 | (store_typed_floating): Likewise. |
| 154 | * doublest.h: Remove declarations for undefined floatformat arrays. |
| 155 | * gdbarch.sh (float_format, double_format, long_double_format): Change |
| 156 | to pairs. |
| 157 | (pformat): Update for pairs. |
| 158 | * gdbarch.c, gdbarch.h: Regenerated. |
| 159 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) |
| 160 | (floatformats_ieee_double_littlebyte_bigword) |
| 161 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) |
| 162 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) |
| 163 | (floatformats_vax_d): New variables. |
| 164 | (builtin_type_ieee_single, builtin_type_ieee_double) |
| 165 | (builtin_type_arm_ext, builtin_type_ia64_spill) |
| 166 | (builtin_type_ia64_quad): Replace arrays with individual types. |
| 167 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) |
| 168 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) |
| 169 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) |
| 170 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) |
| 171 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) |
| 172 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) |
| 173 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete |
| 174 | unused and endian-specific types. |
| 175 | (recursive_dump_type): Update for floatformat pairs. |
| 176 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. |
| 177 | (build_gdbtypes): Use build_flt. |
| 178 | (_initialize_gdbtypes): Update set of initialized types. |
| 179 | * gdbtypes.h: Update declarations to match gdbtypes.c. |
| 180 | (struct main_type): Store a pointer to two floatformats. |
| 181 | * arch-utils.c (default_float_format, default_double_format): Delete. |
| 182 | * arch-utils.h (default_float_format, default_double_format): Delete. |
| 183 | |
| 184 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, |
| 185 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, |
| 186 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, |
| 187 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, |
| 188 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. |
| 189 | |
| 190 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
| 191 | |
| 192 | * target.c (maintenance_print_target_stack): New function. |
| 193 | (initialize_targets): Add new "maintenance print target-stack" |
| 194 | command. |
| 195 | |
| 196 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
| 197 | |
| 198 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. |
| 199 | |
| 200 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 201 | |
| 202 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. |
| 203 | (struct dwarf2_loclist_baton): Likewise. |
| 204 | |
| 205 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
| 206 | |
| 207 | * cli/cli-script.c: Include breakpoint.h. |
| 208 | (build_command_line): Require arguments only for if and while |
| 209 | commands. |
| 210 | (get_command_line, execute_user_command, execute_control_command): |
| 211 | Fix wording of warning messages. |
| 212 | (print_command_lines): Print breakpoint commands. |
| 213 | (execute_control_command): Call commands_from_control_command to |
| 214 | handle the `commands' command inside a body of a flow-control |
| 215 | command. |
| 216 | (read_next_line): Recognize the `commands' command and build a |
| 217 | command line structure for it. |
| 218 | (recurse_read_control_structure, read_command_lines): Handle |
| 219 | `commands' similarly to `if' and `while'. |
| 220 | |
| 221 | * breakpoint.c (get_number_trailer): Document the special meaning |
| 222 | of NULL as the first argument PP. |
| 223 | (commands_from_control_command): New function. |
| 224 | |
| 225 | * breakpoint.h (commands_from_control_command): Add prototype. |
| 226 | |
| 227 | * defs.h (commands_control): New enumerated value for enum |
| 228 | command_control_type. |
| 229 | |
| 230 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
| 231 | |
| 232 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. |
| 233 | (ada_exception_sal): Update accordingly. |
| 234 | |
| 235 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 236 | |
| 237 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. |
| 238 | * NEWS: Describe CHAR array vs. string identifcation rules. |
| 239 | |
| 240 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
| 241 | |
| 242 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. |
| 243 | |
| 244 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
| 245 | |
| 246 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location |
| 247 | expression is empty, bother to return the 'optimized out' value we |
| 248 | construct. (Thanks to Carl Burch.) |
| 249 | |
| 250 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
| 251 | |
| 252 | * varobj.c (c_value_of_root, c_value_of_child) |
| 253 | (cplus_describe_child): Don't call release_value. |
| 254 | |
| 255 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
| 256 | |
| 257 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct |
| 258 | initialization. |
| 259 | |
| 260 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
| 261 | |
| 262 | Refactor getting children name, value and type access |
| 263 | for varobjs in C++. |
| 264 | * varobj.c (get_type_deref): Remove. |
| 265 | (adjust_value_for_child_access): New. |
| 266 | (c_number_of_children): Use the above. |
| 267 | (c_describe_child): Likewise. |
| 268 | (enum accessibility): New. |
| 269 | (match_accessibility): New function. |
| 270 | (cplus_describe_child): New function. |
| 271 | (cplus_name_of_child, cplus_value_of_child) |
| 272 | (cplus_type_of_child): Reimplement in terms |
| 273 | of cplus_describe_child. |
| 274 | (cplus_number_of_children): Use |
| 275 | adjust_value_for_child_access. |
| 276 | |
| 277 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
| 278 | |
| 279 | Fix computation of the 'editable' attribute and |
| 280 | value changeability for for references. |
| 281 | * varobj.c (get_value_type): New function. |
| 282 | (c_variable_editable): Use get_value_type. |
| 283 | (varobj_value_is_changeable): Likewise. |
| 284 | |
| 285 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
| 286 | |
| 287 | * source.c (find_and_open_source): Try rewriting the source |
| 288 | path inside filename if dirname is NULL. |
| 289 | |
| 290 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
| 291 | |
| 292 | * dwarf2read.c (add_partial_symbol): Create an extra partial |
| 293 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. |
| 294 | (new_symbol): Likewise for symbols. |
| 295 | |
| 296 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
| 297 | |
| 298 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. |
| 299 | |
| 300 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
| 301 | |
| 302 | * value.c (value_primitive_field): Copy the full 'location' |
| 303 | contents, instead of assuming that copying ADDRESS will |
| 304 | bring over everything in the union. Remove obsolete comment. |
| 305 | |
| 306 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
| 307 | |
| 308 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) |
| 309 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) |
| 310 | (m32c_m16c_pointer_to_address): Separate code from declarations. |
| 311 | |
| 312 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 313 | |
| 314 | * target.c (update_current_target): Correct typo. |
| 315 | |
| 316 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
| 317 | |
| 318 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a |
| 319 | declaration. |
| 320 | |
| 321 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
| 322 | Daniel Jacobowitz <dan@codesourcery.com> |
| 323 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 324 | |
| 325 | * dwarf2-frame.c (execute_cfa_program): New support of |
| 326 | `DW_CFA_GNU_negative_offset_extended'. |
| 327 | |
| 328 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 329 | |
| 330 | * NEWS: Mention flash support for "load" and new remote packets. |
| 331 | |
| 332 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
| 333 | |
| 334 | * breakpoint.c (delete_command): Skip redundant loop iterations. |
| 335 | |
| 336 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 337 | |
| 338 | * gdbarch.sh (register_type): Update comment. |
| 339 | * gdbarch.h: Regenerated. |
| 340 | * arch-utils.c (generic_register_size): Call register_type. |
| 341 | * ia64-tdep.c (ia64_extract_return_value): Likewise. |
| 342 | * m32c-tdep.c (check_for_saved): Likewise. |
| 343 | * mips-tdep.c (mips_print_register, print_gp_register_row) |
| 344 | (mips_print_registers_info): Likewise. |
| 345 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): |
| 346 | Likewise. |
| 347 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) |
| 348 | (sh64_do_register, sh64_print_register) |
| 349 | (sh64_media_print_registers_info): Likewise. |
| 350 | * tui/tui-regs.c (tui_register_format): Likewise. |
| 351 | |
| 352 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 353 | |
| 354 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. |
| 355 | |
| 356 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) |
| 357 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. |
| 358 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. |
| 359 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) |
| 360 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) |
| 361 | (make_symbol_completion_list): Likewise. |
| 362 | |
| 363 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 364 | Daniel Jacobowitz <dan@codesourcery.com> |
| 365 | |
| 366 | * buildsym.c (end_symtab): Use preallocated symtab if available. |
| 367 | Fill in SYMBOL_SYMTAB. |
| 368 | * buildsym.h (struct subfile): Add symtab member. |
| 369 | * dwarf2read.c (struct dwarf2_cu): Add line_header. |
| 370 | (struct file_entry): Add symtab. |
| 371 | (free_cu_line_header): New function. |
| 372 | (read_file_scope): Use it. Save line_header in the cu. Process |
| 373 | lines before DIEs. |
| 374 | (add_file_name): Initialize new symtab member. |
| 375 | (dwarf_decode_lines): Create symtabs for included files. |
| 376 | (new_symbol): Set SYMBOL_SYMTAB. |
| 377 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. |
| 378 | (search_symbols): Likewise. |
| 379 | * symtab.h (struct symbol): Add symtab member. |
| 380 | (SYMBOL_SYMTAB): Define. |
| 381 | |
| 382 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 383 | |
| 384 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. |
| 385 | |
| 386 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 387 | |
| 388 | * arch-utils.c (show_endian): Correct reversed condition. |
| 389 | |
| 390 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 391 | |
| 392 | * MAINTAINERS (Write After Approval): Add myself. |
| 393 | |
| 394 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
| 395 | Vladimir Prus <vladimir@codesourcery.com> |
| 396 | |
| 397 | Fix 'selected frame' varobjs. |
| 398 | * varobj.c (struct varobj): Remove the error field. |
| 399 | (varobj_set_value): Don't check var->error. |
| 400 | (install_new_value): Don't set var->error. |
| 401 | (varobj_update): Always pass the new value |
| 402 | of the root via install_new_value. |
| 403 | (create_child): Don't set error field. |
| 404 | (new_variable): Likewise. |
| 405 | (c_value_of_root): Always reevaluate the value |
| 406 | of selected frame varobjs in the selected frame. |
| 407 | Don't call reinit_frame_cache. |
| 408 | |
| 409 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
| 410 | |
| 411 | * source.c (_initialize_source): Improve the help text of |
| 412 | the substitute-path commands. |
| 413 | |
| 414 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
| 415 | |
| 416 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) |
| 417 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) |
| 418 | (frv_skip_prologue): Remove prototypes. |
| 419 | (frv_adjust_breakpoint_address): Renamed from |
| 420 | frv_gdbarch_adjust_breakpoint_address. |
| 421 | (frv_gdbarch_init): Adjust. |
| 422 | |
| 423 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
| 424 | |
| 425 | * gdbarch.sh (deprecated_extract_return_value) |
| 426 | (deprecated_store_return_value): Remove. |
| 427 | (extract_return_value, store_return_value): Remove default values. |
| 428 | * gdbarch.c, gdbarch.h: Regenerate. |
| 429 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) |
| 430 | (legacy_store_return_value): Remove. |
| 431 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): |
| 432 | Remove. |
| 433 | |
| 434 | * mi/mi-main.c: Remove obsolete comment. |
| 435 | |
| 436 | * regcache.c, regcache.h (deprecated_register_bytes) |
| 437 | (deprecated_read_register_bytes) |
| 438 | (deprecated_write_register_bytes): Remove. |
| 439 | |
| 440 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
| 441 | Don't forget to move destination pointer. |
| 442 | |
| 443 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
| 444 | |
| 445 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. |
| 446 | |
| 447 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 448 | |
| 449 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace |
| 450 | past entry function with recent newlib. |
| 451 | |
| 452 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
| 453 | |
| 454 | * gdb.texinfo (GDB/MI Variable Objects): Improve the |
| 455 | introduction. Specify -var-update more exactly. |
| 456 | |
| 457 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
| 458 | |
| 459 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. |
| 460 | |
| 461 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
| 462 | |
| 463 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted |
| 464 | the Global Maintainers' invitation to be a global maintainer. |
| 465 | |
| 466 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 467 | |
| 468 | * infrun.c (singlestep_pc): New variable. |
| 469 | (resume): Set singlestep_pc. |
| 470 | (context_switch): Add a debugging message. Flush the frame cache. |
| 471 | (handle_inferior_event): Add debugging messages. Handle thread |
| 472 | hops when a software single step has completed. Let context_switch |
| 473 | handle flushing the frame cache. |
| 474 | |
| 475 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 476 | |
| 477 | * NEWS: Mention target descriptions, "set tdesc filename", |
| 478 | "unset tdesc filename", "show tdesc filename", and |
| 479 | qXfer:features:read. |
| 480 | * arch-utils.c (choose_architecture_for_target): New function. |
| 481 | (gdbarch_info_fill): Call it. |
| 482 | * target-descriptions.c (struct property): Make members non-const. |
| 483 | (struct target_desc): Add arch member. |
| 484 | (target_description_filename): New variable. |
| 485 | (target_find_description): Try via XML first. |
| 486 | (tdesc_architecture): New. |
| 487 | (free_target_description, make_cleanup_free_target_description): New. |
| 488 | (set_tdesc_property): Call xstrdup. |
| 489 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) |
| 490 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) |
| 491 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) |
| 492 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. |
| 493 | * target-descriptions.h (tdesc_architecture) |
| 494 | (make_cleanup_free_target_description, set_tdesc_architecture): New |
| 495 | prototypes. |
| 496 | * Makefile.in (SFILES): Add xml-tdesc.c. |
| 497 | (COMMON_OBS): Add xml-tdesc.o. |
| 498 | (target-descriptions.o): Update. |
| 499 | (xml-tdesc.o): New rule. |
| 500 | * xml-tdesc.c, xml-tdesc.h: New files. |
| 501 | * remote.c (PACKET_qXfer_features): New enum. |
| 502 | (remote_protocol_features): Add qXfer:features:read. |
| 503 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. |
| 504 | (_initialize_remote): Register qXfer:features:read. |
| 505 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. |
| 506 | * features/gdb-target.dtd: New file. |
| 507 | |
| 508 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 509 | |
| 510 | * copyright.sh: Clarify error. |
| 511 | |
| 512 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 513 | |
| 514 | * symtab.c (matching_bfd_sections): Fix VMA matching for |
| 515 | prelinked objects. |
| 516 | |
| 517 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 518 | |
| 519 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle |
| 520 | nested symbols. |
| 521 | |
| 522 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 523 | |
| 524 | Updated copyright notices for most files. |
| 525 | |
| 526 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 527 | |
| 528 | * copyright.sh (prunes): Add step-line.inp and step-line.c. |
| 529 | |
| 530 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 531 | |
| 532 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside |
| 533 | exec_prefix. |
| 534 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being |
| 535 | '${prefix}'. |
| 536 | * configure, config.in: Regenerate. |
| 537 | * defs.h (debug_file_directory): Declare. |
| 538 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume |
| 539 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and |
| 540 | relocate it if DEBUGDIR_RELOCATABLE. |
| 541 | * symfile.c (debug_file_directory): Make non-static. |
| 542 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH |
| 543 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. |
| 544 | (_initialize_symfile): Don't initialize debug_file_directory here. |
| 545 | |
| 546 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
| 547 | |
| 548 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and |
| 549 | statements. |
| 550 | |
| 551 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 552 | |
| 553 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use |
| 554 | frame_unwind_register to recurse. |
| 555 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. |
| 556 | (alpha_heuristic_frame_prev_register): Likewise. |
| 557 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. |
| 558 | * m32c-tdep.c (m32c_prev_register): Likewise. |
| 559 | * frame.c (frame_register_unwind_location): Remove FIXME. |
| 560 | |
| 561 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 562 | Eli Zaretskii <eliz@gnu.org> |
| 563 | |
| 564 | * copyright.sh: New file. |
| 565 | |
| 566 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 567 | |
| 568 | * configure.ac: Check for XML_StopParser. |
| 569 | * xml-support.c (gdb_xml_body_text): Check for an error. |
| 570 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. |
| 571 | (gdb_xml_end_element_wrapper): Likewise. |
| 572 | * config.in, configure: Regenerated. |
| 573 | |
| 574 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 575 | |
| 576 | * varobj.c (install_new_value): Always update print_value. |
| 577 | (value_get_print_value): Immediately return NULL for missing |
| 578 | values. |
| 579 | |
| 580 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
| 581 | |
| 582 | * configure.ac: Tighten pattern for extracting value of |
| 583 | DEPRECATED_TM_FILE from the target makefile fragment. |
| 584 | * configure: Regenerated. |
| 585 | |
| 586 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 587 | |
| 588 | * linux-nat.c (struct simple_pid_list): Add status. |
| 589 | (add_to_pid_list): Record the PID's status. |
| 590 | (linux_record_stopped_pid): Likewise. Make static. |
| 591 | (pull_pid_from_list): Return the saved status. |
| 592 | (linux_nat_handle_extended): Deleted. |
| 593 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. |
| 594 | Make static. Handle non-SIGSTOP for a new thread's first signal. |
| 595 | (flush_callback): Handle unexpected pending signals. |
| 596 | (linux_nat_wait): Update calls to changed functions. |
| 597 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): |
| 598 | Remove prototypes for newly static functions. |
| 599 | |
| 600 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 601 | |
| 602 | * gdbarch.sh (value_from_register): New gdbarch function. |
| 603 | * gdbarch.c, gdbarch.h: Regenerate. |
| 604 | * findvar.c (default_value_from_register): New function. |
| 605 | (value_from_register): Use gdbarch_value_from_register. |
| 606 | * value.h (default_value_from_register): Declare. |
| 607 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, |
| 608 | spu_value_to_register): Remove. |
| 609 | (spu_value_from_register): New function. |
| 610 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, |
| 611 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. |
| 612 | Call set_gdbarch_value_from_register. |
| 613 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, |
| 614 | s390_value_to_register): Remove. |
| 615 | (s390_value_from_register): New function. |
| 616 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, |
| 617 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. |
| 618 | Call set_gdbarch_value_from_register. |
| 619 | |
| 620 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 621 | |
| 622 | * NEWS: Add "set sysroot" and "show sysroot". |
| 623 | * solib.c (solib_absolute_prefix): Delete. Replace |
| 624 | all uses with gdb_sysroot. |
| 625 | (_initialize_solib): Add "set sysroot" and "show sysroot". |
| 626 | Make "solib-absolute-prefix" an alias to it. |
| 627 | |
| 628 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 629 | |
| 630 | * frame.c (get_frame_register_bytes): New function. |
| 631 | (put_frame_register_bytes): Likewise. |
| 632 | * frame.h (get_frame_register_bytes): Declare. |
| 633 | (put_frame_register_bytes): Likewise. |
| 634 | * findvar.c (value_from_register): Always construct lval_register |
| 635 | values. Use get_frame_register_bytes. |
| 636 | * valops.c (value_assign): Use get_frame_register_bytes and |
| 637 | put_frame_register_bytes. |
| 638 | |
| 639 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
| 640 | |
| 641 | * MAINTAINERS: Update Stan Shebs' email address. |
| 642 | |
| 643 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
| 644 | |
| 645 | * ada-lang.c (is_known_support_routine): Improve the implementation. |
| 646 | |
| 647 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
| 648 | |
| 649 | * ada-lang.c: Add include of source.h. |
| 650 | (is_known_support_routine): Improve the check verifying that the file |
| 651 | associated to this frame exists. |
| 652 | * Makefile.in (ada-lang.o): Add dependency on source.h. |
| 653 | |
| 654 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
| 655 | |
| 656 | * ax-general.c (ax_const_l): Select proper opcode for the given |
| 657 | value. |
| 658 | |
| 659 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
| 660 | |
| 661 | * varobj.c (c_value_of_root): Don't select frame if variable |
| 662 | object is out of scope. |
| 663 | |
| 664 | 2007-01-06 Nick Roberts <nickrob@snap.net.nz> |
| 665 | |
| 666 | * varobj.c (struct varobj): New member print_value. |
| 667 | (install_new_value): Compare last printed value with current one |
| 668 | instead of contents. |
| 669 | (new_variable): Initialize var->print_value to NULL. |
| 670 | (free_variable): Free var->print_value. |
| 671 | (value_get_print_value): New function derived from |
| 672 | c_value_of_variable. |
| 673 | (c_value_of_variable): Use value_get_print_value. |
| 674 | |
| 675 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
| 676 | |
| 677 | * i386-tdep.c (i386_analyze_stack_align): Add comment. |
| 678 | |
| 679 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
| 680 | |
| 681 | * NEWS: Add entries for new catch commands. |
| 682 | |
| 683 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
| 684 | |
| 685 | * dwarf2read.c (partial_die_info): Add field has_byte_size. |
| 686 | (add_partial_symbol): Correct identification of external references. |
| 687 | (process_structure_scope): Likewise. |
| 688 | (read_partial_die): Handle DW_AT_byte_size attribute. |
| 689 | |
| 690 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 691 | |
| 692 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. |
| 693 | |
| 694 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
| 695 | |
| 696 | * varobj.c (get_type_deref): Fix variable objects for references to |
| 697 | pointers. |
| 698 | |
| 699 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 700 | |
| 701 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs |
| 702 | with no symbols. |
| 703 | |
| 704 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 705 | |
| 706 | * memory-map.c (struct_memory_map_parsing_data): Remove most |
| 707 | members. Make property_name an array. |
| 708 | (free_memory_map_parsing_data, memory_map_start_element) |
| 709 | (memory_map_end_element, memory_map_character_data): Delete. |
| 710 | (memory_map_start_memory, memory_map_end_memory) |
| 711 | (memory_map_start_property, memory_map_end_property): New functions. |
| 712 | (property_attributes, memory_children, memory_type_enum) |
| 713 | (memory_attributes, memory_map_children, memory_map_elements): New. |
| 714 | (parse_memory_map): Rewrite. |
| 715 | * xml-support.c (debug_xml): New. |
| 716 | (xml_get_required_attribute, xml_get_integer_attribute) |
| 717 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): |
| 718 | Delete. |
| 719 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) |
| 720 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) |
| 721 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) |
| 722 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) |
| 723 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) |
| 724 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) |
| 725 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): |
| 726 | New. |
| 727 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) |
| 728 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) |
| 729 | (enum gdb_xml_element_flag, struct gdb_xml_element) |
| 730 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) |
| 731 | (struct gdb_xml_enum): New. |
| 732 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) |
| 733 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) |
| 734 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. |
| 735 | (xml_get_required_attribute, xml_get_integer_attribute) |
| 736 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. |
| 737 | * Makefile.in (xml_support_h, xml-support.o): Update. |
| 738 | |
| 739 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 740 | |
| 741 | * Makefile.in (eval.o): Update dependencies. |
| 742 | * eval.c: Include "ui-out.h" and "exceptions.h". |
| 743 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. |
| 744 | Use value_zero if an error occurs when avoiding side effects. |
| 745 | * varobj.c (c_value_of_root): Initialize new_val. |
| 746 | |
| 747 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 748 | |
| 749 | * varobj.c (varobj_list_children): Stop if the number of children is |
| 750 | unknown. |
| 751 | (c_number_of_children): |
| 752 | |
| 753 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
| 754 | |
| 755 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. |
| 756 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) |
| 757 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) |
| 758 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and |
| 759 | sizeof, instead of hardcoded constants. |
| 760 | |
| 761 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 762 | |
| 763 | * CONTRIBUTE: Use sourceware.org. |
| 764 | |
| 765 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 766 | |
| 767 | * buildsym.c (start_subfile): Handle producer. |
| 768 | (record_producer): New function. |
| 769 | * buildsym.h (struct subfile): Include producer. |
| 770 | (record_producer): New prototype. |
| 771 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. |
| 772 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and |
| 773 | armcc_cfa_offsets_reversed. |
| 774 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. |
| 775 | (dwarf2_frame_find_quirks): New function. |
| 776 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. |
| 777 | (decode_frame_entry_1): Record the CIE version. Record the |
| 778 | augmentation. Skip armcc augmentations. |
| 779 | * dwarf2read.c (read_file_scope): Save the producer. |
| 780 | * symtab.h (struct symtab): Rename unused version member to |
| 781 | producer. |
| 782 | |
| 783 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 784 | |
| 785 | * configure.ac (build_warnings): Use -Wall and |
| 786 | -Wdeclaration-after-statement. |
| 787 | * configure: Regenerated. |
| 788 | |
| 789 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
| 790 | |
| 791 | Simplify access to variours properties of child |
| 792 | variable objects in C. |
| 793 | * varobj.c (value_struct_element_index): New function. |
| 794 | (c_describe_child): New function. |
| 795 | (c_name_of_child, c_value_of_child) |
| 796 | (c_type_of_child): Rewrite to use c_describe_child. |
| 797 | |
| 798 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
| 799 | |
| 800 | gdb/ |
| 801 | * varobj.c: Include "vec.h". |
| 802 | (varobj_p): New typedef, declare vector of those. |
| 803 | (struct varobj): Use vector for the 'children' member. |
| 804 | (child_exists): Remove. |
| 805 | (save_child_in_parent): Remove. |
| 806 | (remove_child_from_parent): Remove. |
| 807 | (struct varobj_child): Remove. |
| 808 | (struct vstack): Remove. |
| 809 | (vpush, vpop): Remove. |
| 810 | (varobj_list_children): Adjust to work work vector. |
| 811 | (varobj_update): Likewise. Use vectors for |
| 812 | working stack and result. |
| 813 | (delete_variable_1): Likewise. |
| 814 | * Makefile.in (varobj.o): Update dependencies. |
| 815 | |
| 816 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
| 817 | |
| 818 | Port from Apple's version. |
| 819 | gdb/ |
| 820 | * varobj.c (type_changeable): Rename to... |
| 821 | (varobj_value_is_changeable_p): ...this. Adjust all callers. |
| 822 | (is_root_p): New function. Use it everywhere. |
| 823 | |
| 824 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
| 825 | |
| 826 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', |
| 827 | then plain 'fixup'. |
| 828 | |
| 829 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
| 830 | |
| 831 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. |
| 832 | |
| 833 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
| 834 | |
| 835 | * hpread.c (hpread_type_lookup): Fix compilation failure. |
| 836 | |
| 837 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
| 838 | |
| 839 | * NEWS: New port to S+core. |
| 840 | * MAINTAINERS (Write After Approval, Responsible Maintainers): |
| 841 | Add myself. |
| 842 | |
| 843 | * Makefile.in: Add dependencies for S+core files. |
| 844 | * configure.tgt (score*, score-*-*): Add S+core target. |
| 845 | * config/score/embed.mt: New file. |
| 846 | * score-tdep.c: New file. |
| 847 | * score-tdep.h: New file. |
| 848 | |
| 849 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
| 850 | |
| 851 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with |
| 852 | the appropriate type rather than a bogus void type. |
| 853 | |
| 854 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
| 855 | |
| 856 | * ada-lang.h (ada_find_printable_frame): Remove. |
| 857 | (ada_exception_catchpoint_p, ada_decode_exception_location) |
| 858 | (ada_decode_assert_location): Add declaration. |
| 859 | * ada-lang.c: Add include of annotate.h and valprint.h. |
| 860 | (exception_catchpoint_kind): New enum. |
| 861 | (function_name_from_pc, is_known_support_routine) |
| 862 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) |
| 863 | (ada_exception_name_addr_1, ada_exception_name_addr) |
| 864 | (print_it_exception, print_one_exception, print_mention_exception) |
| 865 | (print_it_catch_exception, print_one_catch_exception) |
| 866 | (print_mention_catch_exception, catch_exception_breakpoint_ops) |
| 867 | (print_it_catch_exception_unhandled) |
| 868 | (print_one_catch_exception_unhandled) |
| 869 | (print_mention_catch_exception_unhandled, print_it_catch_assert) |
| 870 | (print_one_catch_assert, print_mention_catch_assert) |
| 871 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) |
| 872 | (ada_get_next_arg, catch_ada_exception_command_split) |
| 873 | (ada_exception_sym_name, ada_exception_sym_name) |
| 874 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) |
| 875 | (ada_parse_catchpoint_condition, ada_exception_sal) |
| 876 | (ada_decode_exception_location) |
| 877 | (ada_decode_assert_location): New function. |
| 878 | (catch_exception_unhandled_breakpoint_ops): New global variable. |
| 879 | (catch_assert_breakpoint_ops): New global variable. |
| 880 | * breakpoint.c: Add include of ada-lang.h. |
| 881 | (print_one_breakpoint): Do not print the condition for Ada |
| 882 | exception catchpoints. |
| 883 | (create_ada_exception_breakpoint): New function. |
| 884 | (catch_ada_exception_command, catch_assert_command): New function. |
| 885 | (catch_command_1): Add support for the new "catch exception" and |
| 886 | "catch assert" commands. |
| 887 | (_initialize_breakpoint): Add help description for the new catch |
| 888 | commands. |
| 889 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and |
| 890 | valprint.h. |
| 891 | (breakpoint.o): Add dependency on ada-lang.h. |
| 892 | |
| 893 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
| 894 | |
| 895 | * coffread.c (cs_to_section): If bfd_section is found, always |
| 896 | return its section index. |
| 897 | (coff_symtab_read): Determine the minimal_symbol_type using the |
| 898 | bfd_section flags. |
| 899 | |
| 900 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 901 | Daniel Jacobowitz <dan@codesourcery.com> |
| 902 | |
| 903 | * Makefile.in (top.o): Update. |
| 904 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) |
| 905 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) |
| 906 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): |
| 907 | New. |
| 908 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. |
| 909 | |
| 910 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
| 911 | |
| 912 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. |
| 913 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. |
| 914 | |
| 915 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 916 | |
| 917 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. |
| 918 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. |
| 919 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length |
| 920 | greater than or equal to zero. |
| 921 | * m2-typeprint.c (m2_array): Likewise. |
| 922 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. |
| 923 | * gdbtypes.c (copy_type_recursive): Correct == typo. |
| 924 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. |
| 925 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer |
| 926 | greater than zero. |
| 927 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". |
| 928 | (default_macro_scope): Remove unused variable. |
| 929 | * prologue-value.h (pv_area_find_reg): Don't name an argument |
| 930 | "register". |
| 931 | * remote-fileio.c (remote_fio_func_map): Add missing braces. |
| 932 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change |
| 933 | type. |
| 934 | (cleanup_sigint_signal_handler): Remove casts. |
| 935 | * valprint.c (val_print): Use a volatile local for the modified |
| 936 | argument. |
| 937 | * varobj.c (languages): Remove extra array dimension. |
| 938 | (varobj_create): Correct access to languages array. |
| 939 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add |
| 940 | missing braces. |
| 941 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. |
| 942 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. |
| 943 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. |
| 944 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. |
| 945 | (mi_cmd_data_write_memory): Likewise. |
| 946 | * signals/signals.c (target_signal_to_string): Cast to int before |
| 947 | comparing. |
| 948 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. |
| 949 | Update all callers. |
| 950 | |
| 951 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 952 | |
| 953 | * NEWS: Mention pointer to member improvements. |
| 954 | * Makefile.in (gnu-v3-abi.o): Delete special rule. |
| 955 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. |
| 956 | * ada-valprint.c (ada_print_scalar): Update for new type codes. |
| 957 | * c-typeprint.c (c_print_type): Update for new type codes. |
| 958 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) |
| 959 | (c_type_print_base): Likewise. |
| 960 | (c_type_print_args): Rewrite. |
| 961 | * c-valprint.c (c_val_print): Update for new type codes. Remove |
| 962 | support for references to members. Treat methods like functions. |
| 963 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) |
| 964 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. |
| 965 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) |
| 966 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. |
| 967 | (struct cp_abi_ops): Add corresponding members. |
| 968 | * cp-valprint.c (cp_print_class_method): Delete. |
| 969 | (cp_find_class_member): New function. |
| 970 | (cp_print_class_member): Use it. Simplify support for bogus |
| 971 | member pointers. |
| 972 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use |
| 973 | lookup_methodptr_type. |
| 974 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. |
| 975 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for |
| 976 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member |
| 977 | pointer support. |
| 978 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle |
| 979 | references returned by user defined operators. |
| 980 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) |
| 981 | (f_type_print_varspec_suffix): Remove support for member pointers. |
| 982 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type |
| 983 | and adjusted. |
| 984 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. |
| 985 | (lookup_methodptr_type): New. |
| 986 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. |
| 987 | (recursive_dump_type): Update for new types. |
| 988 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with |
| 989 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. |
| 990 | (lookup_memberptr_type, lookup_methodptr_type) |
| 991 | (smash_to_memberptr_type): New prototypes. |
| 992 | (smash_to_method_type): Formatting fix. |
| 993 | (lookup_member_type, smash_to_member_type): Delete prototypes. |
| 994 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. |
| 995 | Do not rely on debug information for the vptr or the method's |
| 996 | enclosing type. Handle function descriptors for IA64. |
| 997 | (gnuv3_virtual_fn_field): Rewrite using the new functions. |
| 998 | (gnuv3_find_method_in, gnuv3_print_method_ptr) |
| 999 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) |
| 1000 | (gnuv3_method_ptr_to_value): New. |
| 1001 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. |
| 1002 | * hpread.c (hpread_type_lookup): Update for new types. |
| 1003 | * infcall.c (value_arg_coerce): Likewise. |
| 1004 | * m2-typeprint.c (m2_print_type): Remove explicit support |
| 1005 | for member pointers. |
| 1006 | * m2-valprint.c (m2_val_print): Likewise. |
| 1007 | * p-typeprint.c (pascal_type_print_varspec_prefix) |
| 1008 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. |
| 1009 | * p-valprint.c (pascal_val_print): Likewise. |
| 1010 | (pascal_object_print_class_method, pascal_object_print_class_member): |
| 1011 | Delete. |
| 1012 | * p-lang.h (pascal_object_print_class_method) |
| 1013 | (pascal_object_print_class_member): Delete prototypes. |
| 1014 | * stabsread.c (read_type): Update for new types. |
| 1015 | * typeprint.c (print_type_scalar): Likewise. |
| 1016 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) |
| 1017 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address |
| 1018 | argument. Construct a pointer to member if the address of a |
| 1019 | function or data member is requested. |
| 1020 | (value_cast_pointers): Don't modify the input value. |
| 1021 | (value_cast): Adjust pointer to member handling for new types. |
| 1022 | Allow null pointer to member constants. Don't modify the input |
| 1023 | value. |
| 1024 | (value_ind): Remove pointer to member check. Handle function |
| 1025 | descriptors for function pointers. |
| 1026 | (value_struct_elt, value_find_oload_method_list, check_field): |
| 1027 | Remove pointer to member checks. |
| 1028 | * value.c (unpack_long): Allow pointers to data members. |
| 1029 | (value_from_longest): Allow member pointers. |
| 1030 | * value.h (value_aggregate_elt): Add want_address. |
| 1031 | * varobj.c (c_variable_editable): Remove check for members. |
| 1032 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. |
| 1033 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors |
| 1034 | in virtual tables. |
| 1035 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. |
| 1036 | * c-lang.h (cp_print_class_method): Delete prototype. |
| 1037 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. |
| 1038 | * mips-tdep.c (mips_gdbarch_init): Likewise. |
| 1039 | * gdbarch.c, gdbarch.h: Regenerated. |
| 1040 | |
| 1041 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
| 1042 | |
| 1043 | * rs6000-tdep.c (rs6000_use_struct_convention) |
| 1044 | (rs6000_extract_return_value, rs6000_store_return_value) |
| 1045 | (rs6000_extract_struct_value_address): Remove. |
| 1046 | (rs6000_return_value): New function. |
| 1047 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, |
| 1048 | store_return_value, deprecated_extract_struct_value_address and |
| 1049 | deprecated_use_struct_convention. Use rs6000_return_value |
| 1050 | instead. |
| 1051 | |
| 1052 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
| 1053 | |
| 1054 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, |
| 1055 | -display-disable, -display-enable, -display-insert and |
| 1056 | -display-list. |
| 1057 | |
| 1058 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1059 | |
| 1060 | * breakpoint.c (remove_breakpoint): Remove dead code. |
| 1061 | |
| 1062 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> |
| 1063 | |
| 1064 | * varobj.c: Include block.h. |
| 1065 | (c_value_of_root): Check scope within nested statements. |
| 1066 | |
| 1067 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
| 1068 | |
| 1069 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use |
| 1070 | regcache_cooked_write_signed instead of |
| 1071 | deprecated_write_register_bytes. |
| 1072 | |
| 1073 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1074 | |
| 1075 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. |
| 1076 | |
| 1077 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1078 | |
| 1079 | Followed the Start of New Year Procedure: |
| 1080 | * ChangeLog-2006: New file, containing all the entries for 2006. |
| 1081 | * ChangeLog: Removed all 2006 entries, and changed the reference |
| 1082 | to the previous ChangeLog to point to ChangeLog 2006. |
| 1083 | * top.c (print_gdb_version): Update copyright year. |
| 1084 | |
| 1085 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
| 1086 | |
| 1087 | * Makefile.in (remote-sds.o): Remove. |
| 1088 | * remote-sds.c: Delete. |
| 1089 | |
| 1090 | For older changes see ChangeLog-2006. |
| 1091 | \f |
| 1092 | Local Variables: |
| 1093 | mode: change-log |
| 1094 | left-margin: 8 |
| 1095 | fill-column: 74 |
| 1096 | version-control: never |
| 1097 | End: |