| 1 | 2008-04-16 Daniel Jacobowitz <dan@codesourcery.com> |
| 2 | |
| 3 | PR gdb/2445 |
| 4 | * exec.c: Correct "arch-utils.h" include. |
| 5 | |
| 6 | 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com> |
| 7 | |
| 8 | PR gdb/2424 |
| 9 | * infrun.c (normal_stop) Move breakpoint_auto_delete further down |
| 10 | to allow printing to 'see' real reason of stop. This fixes PR 2424. |
| 11 | * breakpoint.c (bpdisp_texst): New function. The function takes over |
| 12 | the role of bpstats static array in print_one_breakpoint_location. |
| 13 | (print_it_typical): Print "Temporary breakpoint" instead |
| 14 | of just "Breakpoint" when breakpoint is, well, temporary. For mi-like |
| 15 | protocols, print disp field. |
| 16 | (print_one_breakpoint_location): Removed bpdisps static definition. |
| 17 | Call new bpstat_text function to get value for 'disp' field. |
| 18 | (mention): Print "Temporary breakpoint" instead of just "Breakpoint". |
| 19 | |
| 20 | 2008-04-15 Daniel Jacobowitz <dan@codesourcery.com> |
| 21 | |
| 22 | * gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4, |
| 23 | gnulib/aux/link-warning.h, gnulib/extra/link-warning.h: Adjust |
| 24 | by rerunning gnulib-tool with --aux-dir=gnulib/extra. |
| 25 | * gnulib/Makefile.in: Regenerate. |
| 26 | |
| 27 | 2008-04-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 28 | |
| 29 | * Makefile.in (GNULIB_H): New. Trigger all-lib. |
| 30 | (defs_h): Use $(GNULIB_H). |
| 31 | (all-lib): Depend on gnulib/Makefile. |
| 32 | (gnulib/Makefile): Regenerate gnulib/Makefile and gnulib/.deps. |
| 33 | * config.in, gnulib/Makefile.in: Regenerated. |
| 34 | |
| 35 | 2008-04-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 36 | |
| 37 | * Makefile.in (LIBGNU, INCGNU): Define. |
| 38 | (INTERNAL_CFLAGS_BASE): Add INCGNU. |
| 39 | (INTERNAL_LIBS, CLIBS, CDEPS): Add LIBGNU. |
| 40 | (CLEANDIRS): New. |
| 41 | ($(LIBGNU), all-lib): New rules. |
| 42 | (clean, distclean, do-maintainer-clean): Use CLEANDIRS. |
| 43 | * configure.ac: Use gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE. |
| 44 | Simplify AC_CONFIG_AUX_DIR. Generate gnulib/Makefile. |
| 45 | * gnulib: New directory, from gnulib-tool. |
| 46 | * configure, aclocal.m4: Regenerated. |
| 47 | |
| 48 | 2008-04-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 49 | |
| 50 | * linux-thread-db.c (have_threads_callback): Check thread->private. |
| 51 | |
| 52 | 2008-04-13 Nick Roberts <nickrob@snap.net.nz> |
| 53 | Vladimir Prus <vladimir@codesourcery.com> |
| 54 | |
| 55 | Fix @-varobjs. |
| 56 | * varobj.c (value_of_root): Update the expression for |
| 57 | floating varobjs. |
| 58 | * mi/mi-cmd-var.c (varobj_update_one): If type has changed, |
| 59 | report that. |
| 60 | |
| 61 | 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com> |
| 62 | |
| 63 | * mi/mi-cmd-var.c: Include "mi-getopt.h". |
| 64 | (mi_parse_format): New. Factored out from mi_cmd_var_set_format. |
| 65 | (mi_cmd_var_set_format): Use new mi_parse_format. |
| 66 | (mi_cmd_var_evaluate_expression): Support for -f option to specify |
| 67 | format. |
| 68 | * Makefile.in (mi-cmd-var.o): Update dependencies. |
| 69 | |
| 70 | * varobj.h (varobj_get_formatted_value): Declare. |
| 71 | * varobj.c (my_value_of_variable): Added format parameter. |
| 72 | (cplus_value_of_variable): Likewise. |
| 73 | (java_value_of_variable): Likewise. |
| 74 | (c_value_of_variable): Likewise. Evaluate expression based |
| 75 | on format parameter. |
| 76 | (struct language_specific): Add format parameter to function member |
| 77 | *value_of_variable. |
| 78 | (varobj_get_formatted_value): New. |
| 79 | (varobj_get_value): Added format parameter to method call. |
| 80 | |
| 81 | 2008-04-08 Joel Brobecker <brobecker@adacore.com> |
| 82 | |
| 83 | * stabsread.c (cleanup_undefined_types_noname): Manually set the |
| 84 | instance flags of the undefined type before calling replace_type. |
| 85 | |
| 86 | 2008-04-08 Vladimir Prus <vladimir@codesourcery.com> |
| 87 | |
| 88 | * target.h (enum strata): Remove the download_stratum. |
| 89 | |
| 90 | 2008-04-07 Doug Evans <dje@google.com> |
| 91 | |
| 92 | * buildsym.h (last_source_file): Add dwarf info to comment. |
| 93 | (last_source_start_addr): Ditto. |
| 94 | |
| 95 | 2008-04-07 Pedro Alves <pedro@codesourcery.com> |
| 96 | |
| 97 | * alphanbsd-tdep.c: Include "target.h". |
| 98 | * mn10300-tdep.c: Include "target.h". |
| 99 | * Makefile.in (alphanbsd-tdep.o, mn10300-tdep.o): Update. |
| 100 | |
| 101 | 2008-04-06 Vladimir Prus <vladimir@codesourcery.com> |
| 102 | |
| 103 | Fix breakpoint condition that use member variables. |
| 104 | * valops.c (check_field): Remove. |
| 105 | (check_field_in): Rename to check_field. |
| 106 | (value_of_this): Use la_name_of_this. |
| 107 | * value.h (check_field): Adjust prototype. |
| 108 | |
| 109 | * language.h (la_value_of_this): Rename to la_name_of_this. |
| 110 | * language.c (unknown_language_defn): Specify "this" for |
| 111 | name_of_this. |
| 112 | (auto_language_defn): Likewise. |
| 113 | (local_language_defn): Likewise. |
| 114 | * ada-lang.c (ada_language_defn): Adjust comment. |
| 115 | * c-lang.c (c_language_defn): Adjust comment. |
| 116 | (cplus_language_defn): Specify "this" for name_of_this. |
| 117 | (asm_language_defn): Adjust comment. |
| 118 | (minimal_language_defn): Adjust comment. |
| 119 | * f-lang.c (f_language_defn): Specify NULL for name_of_this. |
| 120 | * jv-lang.c (java_language_defn): Specify "this" for name_of_this. |
| 121 | * m2-lang.c (m2_language_defn): Specify "this" for name_of_this. |
| 122 | * objc-lang.c (objc_language_defn): Specify "self" for |
| 123 | name_of_this. |
| 124 | * p-lang.c (pascal_language_defn): Specify "this" for |
| 125 | name_of_this. |
| 126 | * scm-lang.c (scm_language_defn): Specify NULL for name_of_this. |
| 127 | |
| 128 | * symtab.c (lookup_symbol_aux): Lookup "this" in the |
| 129 | proper scope, and check for field in type of "this", without |
| 130 | trying to create a value. |
| 131 | |
| 132 | 2008-04-04 Pedro Alves <pedro@codesourcery.com> |
| 133 | |
| 134 | * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_ERROR. |
| 135 | (mi_error_message): Delete declaration. |
| 136 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Call error instead of |
| 137 | returning MI_CMD_ERROR. |
| 138 | * mi/mi-main.c (mi_error_message): Delete. |
| 139 | (mi_cmd_exec_interrupt): |
| 140 | (mi_cmd_thread_select, mi_cmd_thread_list_ids) |
| 141 | (mi_cmd_thread_info): Call error instead of returning |
| 142 | MI_CMD_ERROR. |
| 143 | (mi_cmd_data_list_register_values): Call error instead of |
| 144 | returning MI_CMD_ERROR. Adapt to new get_register interface. |
| 145 | (get_register): Change return typo to void. Call error instead of |
| 146 | returning MI_CMD_ERROR. |
| 147 | (mi_cmd_data_write_register_values): Call error instead of |
| 148 | returning MI_CMD_ERROR. |
| 149 | (mi_cmd_list_features): Return MI_CMD_DONE. |
| 150 | (captured_mi_execute_command): Remove MI_CMD_ERROR handling. |
| 151 | (mi_execute_command): Always print exceptions with -error. |
| 152 | |
| 153 | 2008-04-04 Joel Brobecker <brobecker@adacore.com> |
| 154 | |
| 155 | * NEWS: Mention new commands set/show multiple-symbols. |
| 156 | |
| 157 | 2008-04-03 Joel Brobecker <brobecker@adacore.com> |
| 158 | |
| 159 | * symtab.c (multiple_symbols_ask, multiple_symbols_all) |
| 160 | (multiple_symbols_cancel): New constants. |
| 161 | (multiple_symbols_modes, multiple_symbols_mode): New static globals. |
| 162 | (multiple_symbols_select_mode): New function. |
| 163 | (_initialize_symtab): Add new set/show multiple-symbols commands. |
| 164 | * symtab.h (multiple_symbols_ask, multiple_symbols_all) |
| 165 | (multiple_symbols_cancel, multiple_symbols_select_mode): Declare. |
| 166 | * ada-lang.c (user_select_syms): Add handling of new multiple-symbols |
| 167 | setting. |
| 168 | * linespec.c (decode_line_2): Likewise. |
| 169 | |
| 170 | 2008-04-03 Doug Evans <dje@sebabeach.org> |
| 171 | |
| 172 | * symtab.h (enum free_code): Delete free_contents, unused. |
| 173 | * symmisc.c (free_symtab_block): Delete. |
| 174 | (free_symtab, case free_code): Delete. |
| 175 | |
| 176 | 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 177 | |
| 178 | * valops.c (value_cast_structs): New function. Cast related |
| 179 | STRUCT types up/down and return cast value. The body of this |
| 180 | function comes mostly from value_cast_pointers. |
| 181 | (value_cast_pointers): Code for actual cast STRUCT-STRUCT moved |
| 182 | to value_cast_structs. Now value_cast_pointers needs only create |
| 183 | appropriate reference after using value_cast_structs for actual |
| 184 | casting. |
| 185 | (value_cast): Handle references. |
| 186 | |
| 187 | 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com> |
| 188 | |
| 189 | * MAINTAINERS: Added myself to section Write After Approval. |
| 190 | |
| 191 | 2008-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
| 192 | |
| 193 | * ia64-tdep.c (examine_prologue): Correct array access. |
| 194 | |
| 195 | 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com> |
| 196 | |
| 197 | * cp-support.c (first_component_command): Return if no arguments. |
| 198 | |
| 199 | 2008-03-28 Carlos O'Donell <carlos@codesourcery.com> |
| 200 | |
| 201 | * ser-mingw.c (ser_windows_open): Open requested name. |
| 202 | |
| 203 | 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com> |
| 204 | |
| 205 | * MAINTAINERS: Added myself. |
| 206 | |
| 207 | 2008-03-28 Pedro Alves <pedro@codesourcery.com> |
| 208 | |
| 209 | * target.c (find_default_run_target): Allow a NULL `do_mesg' |
| 210 | parameter. If it is NULL, don't call error. |
| 211 | (find_default_can_async_p, find_default_is_async_p): Pass NULL as |
| 212 | `do_mesg' parameter to find_default_run_target. If no target was |
| 213 | found, return 0. |
| 214 | |
| 215 | 2008-03-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 216 | |
| 217 | * mips-linux-tdep.c: Update N32/N64 signal frame comments. |
| 218 | (N64_SIGCONTEXT_LO, N64_SIGCONTEXT_PC, N64_SIGCONTEXT_FPCSR): Update. |
| 219 | (N64_SIGCONTEXT_FIR, N64_SIGCONTEXT_CAUSE, N64_SIGCONTEXT_BADVADDR): |
| 220 | Delete. |
| 221 | (mips_linux_n32n64_sigframe_init): Do not record cause or badvaddr. |
| 222 | |
| 223 | 2008-03-27 Joel Brobecker <brobecker@adacore.com> |
| 224 | |
| 225 | GDB 6.8 released. |
| 226 | |
| 227 | 2008-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 228 | |
| 229 | * features/Makefile (%.dat): Set xmltarget to the base filename |
| 230 | of the XML source, without subdirectory. |
| 231 | * regformats/rs6000/powerpc-32.dat: Regenerate. |
| 232 | * regformats/rs6000/powerpc-64.dat: Regenerate. |
| 233 | * regformats/rs6000/powerpc-e500.dat: Regenerate. |
| 234 | |
| 235 | 2008-03-27 Markus Deuling <deuling@de.ibm.com> |
| 236 | |
| 237 | * xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by |
| 238 | objfile arch. |
| 239 | |
| 240 | 2008-03-27 Nick Roberts <nickrob@snap.net.nz> |
| 241 | |
| 242 | * mi/mi-main.c (enum captured_mi_execute_command_actions): |
| 243 | Spell suppress in EXECUTE_COMMAND_SUPPRESS_PROMPT correctly. |
| 244 | |
| 245 | 2008-03-26 Ulrich Weigand <uweigand@de.ibm.com> |
| 246 | |
| 247 | * objfiles.h (struct objfile): New GDBARCH member. |
| 248 | (get_objfile_arch): Add prototype. |
| 249 | * objfiles.c: Include "arch-utils.h". |
| 250 | (allocate_objfile): Look up gdbarch associated with bfd. |
| 251 | (get_objfile_arch): New function. |
| 252 | * Makefile (objfiles.o): Update dependencies. |
| 253 | |
| 254 | * dwarf2-frame.c (decode_frame_entry_1): Replace current_gdbarch |
| 255 | by objfile arch. |
| 256 | * dwarf2loc.c (dwarf_expr_read_reg): Replace current_gdbarch |
| 257 | by frame arch. |
| 258 | (locexpr_describe_location): Replace current_gdbarch by |
| 259 | objfile arch. |
| 260 | * dwarf2read.c (die_type): Replace current_gdbarch by objfile arch. |
| 261 | (dwarf2_add_field): Likewise. |
| 262 | (read_tag_pointer_type): Likewise. |
| 263 | (read_base_type): Likewise. |
| 264 | (new_symbol): Likewise. |
| 265 | |
| 266 | * coffread.c (decode_type): Add OBJFILE argument. Update callers. |
| 267 | (decode_base_type, decode_function_type): Likewise. |
| 268 | (coff_read_struct_type, coff_read_enum_type): Likewise. |
| 269 | (coff_symtab_read): Replace current_gdbarch by objfile arch. |
| 270 | (decode_base_type): Likewise. |
| 271 | (coff_read_enum_type): Likewise. |
| 272 | (coff_read_struct_type): Replace current_objfile by OBJFILE argument. |
| 273 | (coff_read_enum_type): Likewise. |
| 274 | |
| 275 | * dbxread.c (read_dbx_symtab): Replace current_gdbarch by objfile arch. |
| 276 | (end_psymtab): Likewise. |
| 277 | (process_one_symbol): Likewise. |
| 278 | |
| 279 | * mdebugread.c (parse_symbol): Replace current_gdbarch by objfile arch. |
| 280 | (parse_procedure): Likewise. |
| 281 | (parse_partial_symbols): Likewise. |
| 282 | |
| 283 | * somread.c (som_symtab_read): Replace current_gdbarch by objfile arch. |
| 284 | |
| 285 | * stabsread.c (define_symbol): Replace current_gdbarch by objfile arch. |
| 286 | Replace static pcc_promotion_type and pcc_unsigned_promotion_type by |
| 287 | built-in types. |
| 288 | (read_range_type): Replace current_gdbarch by objfile arch. Replace |
| 289 | static range_index_type by built-in type. |
| 290 | (read_one_struct_field): Replace current_gdbarch by objfile arch. |
| 291 | (read_enum_type): Likewise. |
| 292 | |
| 293 | * xcoffread.c (read_xcoff_symtab): Replace current_gdbarch by |
| 294 | objfile arch. |
| 295 | |
| 296 | 2008-03-26 Vladimir Prus <vladimir@codesourcery.com> |
| 297 | |
| 298 | * varobj.h (varobj_floating_p): Declare. |
| 299 | * varobj.c (varobj_floating_p): New. |
| 300 | * mi/mi-cmd-var.c (mi_cmd_var_update): When passed |
| 301 | '@' as the name, update all floating varobjs. |
| 302 | |
| 303 | 2008-03-26 Vladimir Prus <vladimir@codesourcery.com> |
| 304 | |
| 305 | * varobj.c (struct varobj_root): Rename use_selected_frame to |
| 306 | floating, and clarify the meaning. |
| 307 | (varobj_create, varobj_update, new_root_variable): Adjust. |
| 308 | (value_of_root): Don't use type_changed as in variable, |
| 309 | adjust comment. |
| 310 | (c_value_of_root): Adjust. |
| 311 | |
| 312 | 2008-03-25 Pedro Alves <pedro@codesourcery.com> |
| 313 | |
| 314 | * linux-nat.c (linux_nat_attach): Add the pid we attached to, to |
| 315 | gdb's thread list. |
| 316 | (linux_nat_wait): Add main lwp to gdb's thread list. |
| 317 | * linux-thread-db.c (find_new_threads_callback): Also attach to |
| 318 | already listed threads which thread_db didn't know about yet. |
| 319 | |
| 320 | 2008-03-25 Pedro Alves <pedro@codesourcery.com> |
| 321 | |
| 322 | * linux-nat.c (drain_queued_events): Fix comment typo. |
| 323 | (linux_nat_attach): In async mode, don't rely on storing a pending |
| 324 | status. Instead place the wait status on the pipe. |
| 325 | (linux_nat_resume): Remove unreacheable shortcut code in async |
| 326 | mode. |
| 327 | (stop_wait_callback): In async mode, don't store pending status. |
| 328 | Instead, cancel breakpoints or resend the signal appropriatelly. |
| 329 | (cancel_breakpoint): New, refactored from |
| 330 | cancel_breakpoints_callback. |
| 331 | (cancel_breakpoints_callback): Call cancel_breakpoint. |
| 332 | (pipe_to_local_event_queue): Remove special token processing. |
| 333 | (linux_nat_wait): Issue an internal error if a pending status is |
| 334 | found in async mode. |
| 335 | |
| 336 | 2008-03-24 Daniel Jacobowitz <dan@codesourcery.com> |
| 337 | |
| 338 | * inflow.c (gdb_has_a_terminal): Guard access to our_process_group. |
| 339 | |
| 340 | 2008-03-24 Nick Roberts <nickrob@snap.net.nz> |
| 341 | Vladimir Prus <vladimir@codesourcery.com> |
| 342 | |
| 343 | * varobj.c (struct varobj_root): New component thread_id. |
| 344 | (varobj_get_thread_id, check_scope): New functions. |
| 345 | (c_value_of_root): Use check_scope. Switch to the |
| 346 | proper thread if necessary. |
| 347 | |
| 348 | * varobj.h (varobj_get_thread_id): New extern. |
| 349 | |
| 350 | * mi/mi-cmd-var.c (print_varobj): Add thread-id field. |
| 351 | |
| 352 | 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com> |
| 353 | |
| 354 | PR gdb/544 |
| 355 | * top.c: Revert 2008-03-21 changes. |
| 356 | |
| 357 | 2008-03-23 Vladimir Prus <vladimir@codesourcery.com> |
| 358 | |
| 359 | * thread.c (make_cleanup_restore_current_thread): Make it |
| 360 | globally visible. |
| 361 | * gdbthread.h (make_cleanup_restore_current_thread): Declare. |
| 362 | * varobj.c (varobj_update): Don't save/restore frame. |
| 363 | (c_value_of_root): Save/restore thread and frame here, |
| 364 | using make_cleanup_restore_current_thread. |
| 365 | * Makefile.in: Update dependecies. |
| 366 | |
| 367 | 2008-03-23 Vladimir Prus <vladimir@codesourcery.com> |
| 368 | |
| 369 | * varobj.c (struct varobj_root): Clarify |
| 370 | comment on the frame field. |
| 371 | (varobj_create): Don't set frame if we have no |
| 372 | block. |
| 373 | |
| 374 | 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 375 | |
| 376 | PR gdb/544 |
| 377 | Suggested by Jan Kratochvil: |
| 378 | * top.c (gdb_rl_operate_and_get_next_completion): Call |
| 379 | rl_redisplay_function. |
| 380 | (gdb_rl_redisplay): New. |
| 381 | (init_main): Set rl_redisplay_function. |
| 382 | |
| 383 | 2008-03-21 Thomas Mittelstaedt <T.Mittelstaedt@cadenas.de> (tiny change) |
| 384 | |
| 385 | * aix-thread.c (pdc_read_regs): Fix compiler warning. |
| 386 | (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread) |
| 387 | (store_regs_kernel_thread): Likewise. |
| 388 | |
| 389 | 2008-03-21 Pedro Alves <pedro@codesourcery.com> |
| 390 | |
| 391 | Linux native async support. |
| 392 | |
| 393 | * target.h (struct target_ops): Delete to_async_mask_value and add |
| 394 | to_async_mask. |
| 395 | (target_is_async_p, target_async): Formatting. |
| 396 | (target_async_mask_value): Delete. |
| 397 | (target_async_mask): Delete function declaration, and add new |
| 398 | target macro with the same name. |
| 399 | |
| 400 | * target.c (update_current_target): Replace to_async_mask_value by |
| 401 | to_async_mask. Default to_async_mask to return_one. |
| 402 | (target_async_mask): Delete. |
| 403 | (find_default_can_async_p, find_default_is_async_p): New. |
| 404 | (init_dummy_target): register find_default_can_async_p and |
| 405 | find_default_is_async_p on the dummy target. |
| 406 | |
| 407 | * linux-nat.c: Include inf-loop.h, event-loop.h and event-top.h. |
| 408 | (debug_linux_nat_async): New global. |
| 409 | (show_debug_linux_nat_async): New function. |
| 410 | (linux_nat_async_enabled, linux_nat_async_mask_value) |
| 411 | (linux_nat_event_pipe, linux_nat_num_queued_events) |
| 412 | (linux_nat_async_events_enabled): New globals. |
| 413 | (struct waitpid_result): New struct. |
| 414 | (waitpid_queue): New global. |
| 415 | (queued_waitpid, push_waitpid, drain_queued_events): New. |
| 416 | (my_waitpid): Call queued_waitpid. |
| 417 | (linux_child_follow_fork): Disable async events during the call. |
| 418 | (blocked_mask): Delete. |
| 419 | (sync_sigchld_action, async_sigchld_action): New globals. |
| 420 | (lin_lwp_attach_lwp): In sync mode, don't reblock SIGCHLD. In |
| 421 | async mode, block events during the call. |
| 422 | (linux_nat_create_inferior): New. |
| 423 | (linux_nat_attach): In sync mode, restore the mask states. In |
| 424 | async mode, wake the event loop immediatelly. |
| 425 | (detach_callback): Drain all queued events of the lwp we're |
| 426 | detaching from. |
| 427 | (linux_nat_detach): Block async mode, and drain events of the main |
| 428 | process. |
| 429 | (linux_nat_resume): If in async mode, mask async events during the |
| 430 | call. If short circuiting, force event loop to wake up. If |
| 431 | resuming, set target_executing, and register target events in the |
| 432 | event loop. |
| 433 | (pipe_to_local_event_queue, local_event_queue_to_pipe): New. |
| 434 | (linux_nat_wait): In async mode, block events during the call. |
| 435 | Only enable/disable passing SIGINT to the inferior in sync mode. |
| 436 | Get events from local waitpid queue. If no interesting events was |
| 437 | found, return to events loop. Reregister target events in the |
| 438 | event loop on exit. In sync mode, no need to reblock SIGCHLD. |
| 439 | (linux_nat_kill): Disable events on entry. |
| 440 | (linux_nat_mourn_inferior): In sync mode, don't restore the masks |
| 441 | here. Detach async mode from the event loop if there are no more |
| 442 | forks available, otherwise leave it on. |
| 443 | (sigchld_handler): Assure this is called only in sync mode. |
| 444 | (linux_async_permitted, linux_async_permitted_1): New globals. |
| 445 | (set_maintenance_linux_async_permitted) |
| 446 | (show_maintenance_linux_async_permitted): New functions. |
| 447 | (linux_nat_is_async_p, linux_nat_can_async_p) |
| 448 | (linux_nat_async_mask): New. |
| 449 | (linux_nat_event_pipe_pop, linux_nat_event_pipe_push): New. |
| 450 | (get_pending_events, async_sigchld_handler): New. |
| 451 | (linux_nat_async_events): New. |
| 452 | (async_terminal_is_ours): New global. |
| 453 | (linux_nat_terminal_inferior, linux_nat_terminal_ours): New. |
| 454 | (async_client_callback, async_client_context): New. |
| 455 | (linux_nat_async_file_handler, linux_nat_async) |
| 456 | (linux_nat_disable_async, linux_nat_enable_async): New. |
| 457 | (linux_nat_add_target): Register linux_nat_create_inferior, |
| 458 | linux_nat_can_async_p, linux_nat_is_async_p, linux_nat_async, |
| 459 | linux_nat_async_mask, linux_nat_terminal_inferior and |
| 460 | linux_nat_terminal_ours. |
| 461 | (_initialize_linux_nat): Remove local action variable, and update |
| 462 | code that used it to use sync_sigchld_action. Add new |
| 463 | "lin-lwp-async" debug set/show command. Put the "lin-lwp" debug |
| 464 | set/show command in the maintenance class. Add new "linux-async" |
| 465 | maintenance set/show command. Block SIGCHLD by default. Setup |
| 466 | async_sichld_action, and sync_sigchld_action. Install the default |
| 467 | async mode. |
| 468 | (lin_thread_get_thread_signals): Use a local sigset_t for blocking |
| 469 | the cancel signals. |
| 470 | |
| 471 | * linux-thread-db.c (re_check_for_thread_db): New. |
| 472 | (clear_lwpid_callback): Handle TARGET_WAITKIND_IGNORE. |
| 473 | (thread_db_can_async_p, thread_db_is_async_p, thread_db_async) |
| 474 | (thread_db_async_mask): New. |
| 475 | (init_thread_db_ops): Register thread_db_can_async_p, |
| 476 | thread_db_is_async_p, thread_db_async and thread_db_async_mask. |
| 477 | |
| 478 | * remote.c (remote_async_mask_value): New. |
| 479 | (remote_return_zero): New. |
| 480 | (init_remote_ops): Register remote_return_zero as callbacks of |
| 481 | to_can_async_p and to_is_async_p. |
| 482 | (remote_can_async_p, remote_is_async_p, remote_async): Update to |
| 483 | use remote_async_mask_value. |
| 484 | (remote_async_mask): New. |
| 485 | (init_remote_async_ops): Remove to_async_mask_value setting and |
| 486 | register remote_async_mask as to_async_mask callback in |
| 487 | remote_async_ops. |
| 488 | |
| 489 | * Makefile.in (linux-nat.o): Update. |
| 490 | |
| 491 | 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 492 | |
| 493 | * gdbthread.h (add_thread_with_info): New. |
| 494 | * linux-thread-db.c: Add some documentation. |
| 495 | (GET_LWP, GET_PID, GET_THREAD, is_lwp, is_thread, BUILD_LWP): Delete. |
| 496 | (struct private_thread_info): Remove th_valid and ti_valid. |
| 497 | Replace ti with tid. |
| 498 | (thread_get_info_callback): Do not add TID to the new ptid. Do |
| 499 | not cache th or ti. |
| 500 | (thread_db_map_id2thr, lwp_from_thread): Delete functions. |
| 501 | (thread_from_lwp): Assert that the LWP is set. Do not add TID to the |
| 502 | new PTID. |
| 503 | (attach_thread): Handle an already-existing thread. Use |
| 504 | add_thread_with_info. Cache the th and tid. |
| 505 | (detach_thread): Verify that private was set. Remove verbose |
| 506 | argument and printing. Update caller. |
| 507 | (thread_db_detach): Do not adjust inferior_ptid. |
| 508 | (clear_lwpid_callback, thread_db_resume, thread_db_kill): Delete. |
| 509 | (check_event, find_new_threads_callback): Do not add TID to the new PTID. |
| 510 | (thread_db_wait): Do not use lwp_from_thread. |
| 511 | (thread_db_pid_to_str): Use the cached TID. |
| 512 | (thread_db_extra_thread_info): Check that private is set. |
| 513 | (same_ptid_callback): Delete. |
| 514 | (thread_db_get_thread_local_address): Do not use it or check |
| 515 | is_thread. Check that private is set. Assume that the thread |
| 516 | handle is already cached. |
| 517 | (init_thread_db_ops): Remove to_resume and to_kill. |
| 518 | * thread.c (add_thread_with_info): New. |
| 519 | (add_thread): Use it. |
| 520 | * linux-nat.c (find_thread_from_lwp): Delete. |
| 521 | (exit_lwp): Do not use it. Check print_thread_events. Print before |
| 522 | deleting the thread. |
| 523 | (GET_PID, GET_LWP, BUILD_LWP, is_lwp): Move to... |
| 524 | * linux-nat.h (GET_PID, GET_LWP, BUILD_LWP, is_lwp): ...here. |
| 525 | * inf-ttrace.c (inf_ttrace_wait): Use print_thread_events and |
| 526 | printf_unfiltered for thread exits. |
| 527 | * procfs.c (procfs_wait): Likewise. |
| 528 | |
| 529 | 2008-03-21 Chris Demetriou <cgd@google.com> |
| 530 | |
| 531 | * symtab.c (rbreak_command): Quote symbol name before passing |
| 532 | it to break_command. |
| 533 | |
| 534 | 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 535 | |
| 536 | * eval.c (evaluate_subexp_for_address): Clarify error message. |
| 537 | Use value_must_coerce_to_target. |
| 538 | * infcall.c (value_arg_coerce): Call value_coerce_to_target. |
| 539 | * valops.c (value_assign): Call value_coerce_to_target when |
| 540 | assigning to anything but internalvars. Leave GDB-side arrays |
| 541 | as arrays when assigning to internalvars. |
| 542 | (value_must_coerce_to_target, value_coerce_to_target): New. |
| 543 | (value_coerce_array, value_addr): Call value_coerce_to_target. |
| 544 | (value_array): Create the array in GDB's memory instead of |
| 545 | the inferior's. |
| 546 | * value.h (value_must_coerce_to_target, value_coerce_to_target): |
| 547 | Declare. |
| 548 | |
| 549 | 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 550 | |
| 551 | * top.c (quit_confirm): Warn that we will kill the program. |
| 552 | |
| 553 | 2008-03-19 Pedro Alves <pedro@codesourcery.com> |
| 554 | |
| 555 | * inflow.c (terminal_ours_1): Guard access to |
| 556 | inferior_process_group with #ifdef PROCESS_GROUP_TYPE. |
| 557 | |
| 558 | 2008-03-18 Ulrich Weigand <uweigand@de.ibm.com> |
| 559 | Jim Blandy <jimb@codesourcery.com> |
| 560 | Daniel Jacobowitz <drow@false.org> |
| 561 | |
| 562 | * dwarf2expr.h (struct dwarf_expr_context): Add ADDR_SIZE member. |
| 563 | (dwarf2_read_address): Update prototype. |
| 564 | |
| 565 | * dwarf2expr.c (unsigned_address_type): Add ADDR_SIZE parameter. |
| 566 | (signed_address_type): Likewise. |
| 567 | (dwarf2_read_address): Replace BYTES_READ parameter with ADDR_SIZE. |
| 568 | (execute_stack_op): Update calls to unsigned_address_type, |
| 569 | signed_address_type and dwarf2_read_address. Fix implementation |
| 570 | of DW_OP_deref_size. |
| 571 | |
| 572 | * dwarf2loc.h (dwarf2_per_cu_objfile): Add prototype. |
| 573 | (dwarf2_per_cu_addr_size): Likewise. |
| 574 | (struct dwarf2_locexpr_baton): Replace OBJFILE with PER_CU. |
| 575 | (struct dwarf2_loclist_baton): Likewise. |
| 576 | |
| 577 | * dwarf2loc.c (find_location_expression): Update calls to |
| 578 | dwarf2_read_address. Use dwarf2_per_cu_objfile and |
| 579 | dwarf2_per_cu_addr_size to retrieve PER_CU parameters. |
| 580 | (locexpr_describe_location): Likewise. |
| 581 | (dwarf2_evaluate_loc_desc): Replace OBJFILE with PER_CU parameter. |
| 582 | Set ctx->addr_size to dwarf2_per_cu_addr_size (per_cu). |
| 583 | (dwarf2_loc_desc_needs_frame): Add PER_CU parameter. Set ctx->addr_size |
| 584 | to dwarf2_per_cu_addr_size (per_cu). |
| 585 | (locexpr_read_variable): Update dwarf2_evaluate_loc_desc call. |
| 586 | (loclist_read_variable): Likewise. |
| 587 | (locexpr_read_needs_frame): Update dwarf2_loc_desc_needs_frame call. |
| 588 | |
| 589 | * dwarf2read.c (dwarf2_symbol_mark_computed): Set baton->per_cu |
| 590 | instead of baton->objfile. |
| 591 | (dwarf2_per_cu_obfile): New function. |
| 592 | (dwarf2_per_cu_addr_size): Likewise. |
| 593 | |
| 594 | * dwarf2-frame.c (struct comp_unit): Move higher. |
| 595 | (struct dwarf2_cie): Add UNIT and ADDR_SIZE members. |
| 596 | (execute_stack_op): Add ADDR_SIZE parameter; set ctx->addr_size. |
| 597 | (execute_cfa_program): Add FDE parameter. Replace EH_FRAME_P |
| 598 | parameter by using fde->eh_frame_p. Use read_encoded_value |
| 599 | to implement DW_CFA_set_loc. |
| 600 | (struct dwarf2_frame_cache): Add ADDR_SIZE member. |
| 601 | (dwarf2_frame_cache): Set cache->addr_size. Update calls to |
| 602 | execute_stack_op and execute_cfa_program. |
| 603 | (dwarf2_frame_prev_register): Update calls to execute_stack_op. |
| 604 | (size_of_encoded_value): Remove. |
| 605 | (read_encoded_value): Add PTR_LEN and FUNC_BASE parameters. |
| 606 | Remove call to size_of_encoded_value. Implement DW_EH_PE_funcrel. |
| 607 | (add_cie): Set cie->unit backlink. |
| 608 | (decode_frame_entry_1): Set cie->addr_size. Update calls to |
| 609 | read_encoded_value. |
| 610 | (dwarf2_build_frame_info): Allocate UNIT on objfile obstack. |
| 611 | |
| 612 | 2008-03-17 Markus Deuling <deuling@de.ibm.com> |
| 613 | |
| 614 | * i386-tdep.c (i386_print_insn): Remove unnecessary call to |
| 615 | gdbarch_bfd_arch_info. |
| 616 | |
| 617 | 2008-03-17 Joel Brobecker <brobecker@adacore.com> |
| 618 | |
| 619 | * aix-thread.c (pdc_read_regs): Minor reformatting. |
| 620 | |
| 621 | 2008-03-17 Vladimir Prus <vladimir@codesourcery.com> |
| 622 | |
| 623 | * thread.c (print_thread_info): Don't insist |
| 624 | on having current thread if there are no |
| 625 | threads at all. |
| 626 | |
| 627 | 2008-03-17 Pedro Alves <pedro@codesourcery.com> |
| 628 | |
| 629 | * infcmd.c (attach_command_post_wait) |
| 630 | (attach_command_continuation): New. |
| 631 | (attach_command): Support background async execution, and async |
| 632 | execution in synchronous mode. |
| 633 | |
| 634 | 2008-03-17 Daniel Jacobowitz <dan@codesourcery.com> |
| 635 | |
| 636 | * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR. |
| 637 | * symmisc.c (dump_symtab_1): Likewise. |
| 638 | * wrapper.c (gdb_value_struct_elt): Likewise. |
| 639 | |
| 640 | 2008-03-17 Pedro Alves <pedro@codesourcery.com> |
| 641 | |
| 642 | * linux-nat.c (linux_nat_filter_event): Fix comment typo. |
| 643 | |
| 644 | 2008-03-17 Pedro Alves <pedro@codesourcery.com> |
| 645 | |
| 646 | * linux-nat.c (linux_nat_filter_event): New, refactored from |
| 647 | linux_nat_wait. |
| 648 | (linux_nat_wait): Call linux_nat_filter_event. |
| 649 | |
| 650 | 2008-03-17 Ulrich Weigand <uweigand@de.ibm.com> |
| 651 | |
| 652 | * top.c (execute_command): Fix uninitialized variable error. |
| 653 | |
| 654 | 2008-03-16 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 655 | |
| 656 | * Makefile.in (amd64nbsd-nat.o): New dependency. |
| 657 | * amd64nbsd-nat.c: Include "nbsd-nat.h". |
| 658 | (_initialize_amd64nbsd_nat): Update target vector to use |
| 659 | nbsd_pid_to_exec_file. |
| 660 | * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o. |
| 661 | |
| 662 | 2008-03-15 Vladimir Prus <vladimir@codesourcery.com> |
| 663 | |
| 664 | Remove ignoring leading exec events code. |
| 665 | * fork-child.c (startup_inferior): Do not set |
| 666 | inferior_ignoring_leading_exec_events. |
| 667 | * inf-child.c (inf_child_reported_exec_events_per_exec_call): Remove. |
| 668 | (inf_child_target): Do not set to_reported_exec_events_per_exec_call. |
| 669 | * infrun.c (inferior_ignoring_leading_exec_events): Remove. |
| 670 | (handle_inferior_event): Remove code for ignoring leading exec |
| 671 | events. |
| 672 | * target.c (update_current_target): Do not inherit, or default, |
| 673 | to_reported_exec_events_per_exec_call. |
| 674 | (debug_to_reported_exec_events_per_exec_call): Remove. |
| 675 | (setup_target_debug): Do not set to_reported_exec_events_per_exec_call. |
| 676 | * target.h (target_reported_exec_events_per_exec_call): Remove. |
| 677 | (struct target): Remove the to_reported_exec_events_per_exec_call |
| 678 | field. |
| 679 | |
| 680 | 2008-03-15 Vladimir Prus <vladimir@codesourcery.com> |
| 681 | |
| 682 | Implement -thread-info. |
| 683 | * gdbthread.h (print_thread_info): Declare. |
| 684 | |
| 685 | * thread.c (print_thread_info): New, extracted |
| 686 | from info_threads_command and adjusted to |
| 687 | work for CLI and MI. |
| 688 | (info_threads_command): Use print_thread_info. |
| 689 | * Makefile.in: Update dependencies. |
| 690 | |
| 691 | * mi/mi-cmds.c (mi_cmds): Specify a handler |
| 692 | for -thread-info. |
| 693 | * mi/mi-cmds.h (mi_cmd_thread_info): Declare. |
| 694 | * mi/mi-main.c (mi_cmd_thread_info): New. |
| 695 | (mi_cmd_list_features): Include 'thread-info'. |
| 696 | |
| 697 | 2008-03-14 Kevin Buettner <kevinb@redhat.com> |
| 698 | |
| 699 | * mips-tdep.c (mips32_scan_prologue): Use the ABI register size |
| 700 | to decide whether to match instruction patterns using "sw" and "sd". |
| 701 | |
| 702 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 703 | |
| 704 | * infcmd.c (jump_command): Postpone disabling stdin until after |
| 705 | the possible query. |
| 706 | |
| 707 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 708 | |
| 709 | * inflow.c (gdb_getpgrp): New. |
| 710 | (gdb_has_a_terminal): Use get_getpgrp. |
| 711 | (terminal_ours_1): If attach_flag is set, don't refetch |
| 712 | inferior_process_group. |
| 713 | |
| 714 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 715 | |
| 716 | * features/library-list.dtd: Allow "section" elements as children |
| 717 | of "library". Add "section" element and describe its attributes. |
| 718 | |
| 719 | * solib-target.c (struct lm_info): Add section_bases member. |
| 720 | (library_list_start_segment): Error out if seen a section element. |
| 721 | (library_list_start_section): New. |
| 722 | (library_list_end_library): New. |
| 723 | (solib_target_free_library_list): Free section_bases. |
| 724 | (section_attributes): New. |
| 725 | (library_children): Make "segment" optional. Add "section" child. |
| 726 | (library_list_children): Register library_list_end_library. |
| 727 | (solib_target_relocate_section_addresses): Handle section bases. |
| 728 | |
| 729 | * NEWS: Mention new qXfer:libraries:read section offsets support. |
| 730 | |
| 731 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 732 | |
| 733 | * defs.h (do_exec_error_cleanups, discard_exec_error_cleanups) |
| 734 | (make_exec_error_cleanup): Remove declarations. |
| 735 | * utils.c (exec_error_cleanup_chain): Remove. |
| 736 | (do_exec_error_cleanups, discard_exec_error_cleanups) |
| 737 | (make_exec_error_cleanup): Remove. |
| 738 | * event-loop.c (start_event_loop): Adjust call to |
| 739 | async_enable_stdin. |
| 740 | * event-top.c (async_enable_stdin): Remove the paramater dummy. |
| 741 | (async_disable_stdin): Don't register async_enable_stdin via |
| 742 | cleanup. |
| 743 | * inf-loop.c (inferior_event_handler): Don't |
| 744 | call do_exec_error_cleanups. Call async_enable_stdin instead. |
| 745 | * event-loop.c (start_event_loop): Adjust call to |
| 746 | async_enable_stdin. |
| 747 | * tui/tui-interp.c (tui_command_loop): Adjust call to |
| 748 | async_enable_stdin. |
| 749 | |
| 750 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 751 | |
| 752 | Async mode fixes. |
| 753 | * Makefile.in (infcmd.o, inf-loop.o): Update dependencies. |
| 754 | * breakpoint.c (bpstat_do_actions): In async mode, |
| 755 | don't jump to top expecting stop_bpstat to be already |
| 756 | updated. |
| 757 | * event-loop.c (start_event_loop): Call async_enable_stdin |
| 758 | on exception. |
| 759 | * event-top.c (async_enable_stdin): Do nothing if sync_execution |
| 760 | is not set. |
| 761 | (command_handler): Do not setup continuation here. |
| 762 | (command_line_handler_continuation): Move to... |
| 763 | * top.c (command_line_handler_continuation): ... here. |
| 764 | (execute_command): In async mode, register continuation. |
| 765 | Don't check frame's language in running in async mode. |
| 766 | * exceptions.c (throw_exception): Don't do exec_error_cleanups. |
| 767 | * inf-loop.c (complete_execution): Inline into... |
| 768 | (inferior_event_handler): ... here. Clear target_executing before |
| 769 | doing any cleanups. Don't try to show prompt if the target was |
| 770 | resumed. |
| 771 | * infcmd.c (signal_command): Add support for async mode. |
| 772 | (finish_command): Only add continuation if the target was |
| 773 | successfully resumed. |
| 774 | * remote.c (init_async_opts): Register to_get_thread_local_address |
| 775 | handler. |
| 776 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Don't mess |
| 777 | with sync_execution. |
| 778 | * tui/tui-interp.c (tui_command_loop): Call async_enable_stdin |
| 779 | on exception. |
| 780 | |
| 781 | 2008-03-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 782 | |
| 783 | * corefile.c (reopen_exec_file): Use exec_bfd_mtime. |
| 784 | * exec.c (exec_bfd_mtime): Define. |
| 785 | (exec_close): Clear it. |
| 786 | (exec_file_attach): Set it. |
| 787 | * gdbcore.h (exec_bfd_mtime): Declare. |
| 788 | * source.c (find_source_lines): Do not use bfd_get_mtime. |
| 789 | |
| 790 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 791 | |
| 792 | * top.c (simplified_command_loop): Remove. |
| 793 | |
| 794 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 795 | |
| 796 | Remove unused remote.c hooks. |
| 797 | * remote.c (deprecated_target_resume_hook) |
| 798 | (deprecated_target_wait_loop_hook): Remove. |
| 799 | (remote_resume): Do not call deprecated_target_resume_hook. |
| 800 | (remote_wait): Do not call deprecated_target_wait_loop_hook. |
| 801 | (remote_async_wait): Likewise. |
| 802 | |
| 803 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 804 | |
| 805 | Implement MI notification for new threads. |
| 806 | * doc/observer.texi (new_thread): Document. |
| 807 | * observer.sh: Forward declare struct thread_info. |
| 808 | * thread.c (add_thread): Notify observer. |
| 809 | |
| 810 | * interps.h (interp_init_ftype): New parameter |
| 811 | top_level. |
| 812 | (interp_set): Likewise. |
| 813 | (top_level_interpreter_data): Declare. |
| 814 | * interps.c (interp_set): New parameter top_level. |
| 815 | Pass it to interpreter's init function. Remember |
| 816 | top level interpreter. |
| 817 | (interpreter_exec_cmd): Adjust. |
| 818 | (top_level_interpreter_data): New. |
| 819 | * main.c (captured_main): Pass 1 for top_level |
| 820 | parameter of interp_set. |
| 821 | * cli/cli-interp.c (cli_interpreter_init): New |
| 822 | parameter top_level. |
| 823 | * tui/tui-interp.c (tui_init): New parameter top_level. |
| 824 | |
| 825 | * mi/mi-interp.c (mi_new_thread): New. |
| 826 | (mi_interpreter_init): If top level, register |
| 827 | observer for new threads. |
| 828 | |
| 829 | * Makefile.in (mi-interp.o, thread.o): Update dependencies. |
| 830 | |
| 831 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 832 | |
| 833 | * top.c (execute_command): Disable break and stop |
| 834 | commands in async mode. |
| 835 | |
| 836 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 837 | |
| 838 | revert: |
| 839 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 840 | * inf-loop.c (inferior_event_handler): Don't include remote.h. |
| 841 | Call target_stop in the INF_QUIT_REQ case. |
| 842 | * Makefile.in (inf-loop.o): Update. |
| 843 | |
| 844 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 845 | |
| 846 | * inf-loop.c (inferior_event_handler): Don't include remote.h. |
| 847 | Call target_stop in the INF_QUIT_REQ case. |
| 848 | * Makefile.in (inf-loop.o): Update. |
| 849 | |
| 850 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 851 | |
| 852 | * top.c (execute_command): Enable break, info and interrupt |
| 853 | commands in async mode. |
| 854 | |
| 855 | 2008-03-13 Vladimir Prus <vladimir@codesourcery.com> |
| 856 | Daniel Jacobowitz <dan@codesourcery.com> |
| 857 | |
| 858 | * breakpoint.h (breakpoint_restore_shadows): New |
| 859 | declaration. |
| 860 | * breakpoint.c (breakpoint_restore_shadows): New. |
| 861 | (read_memory_nobpt): Delete. |
| 862 | * gdbcore.h (read_memory_nobpt): Delete declaration. |
| 863 | * target.c (memory_xfer_partial): Call |
| 864 | breakpoint_restore_shadows. |
| 865 | (restore_show_memory_breakpoints) |
| 866 | (make_show_memory_beakpoints_cleanup): New. |
| 867 | (show_memory_breakpoints): New. |
| 868 | * target.h (make_show_memory_beakpoints_cleanup): Declare. |
| 869 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): |
| 870 | Make sure we see memory breakpoints when checking if |
| 871 | breakpoint is still there. |
| 872 | * alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c, |
| 873 | hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c, |
| 874 | m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c, |
| 875 | sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt. |
| 876 | |
| 877 | 2008-03-12 Pedro Alves <pedro@codesourcery.com> |
| 878 | |
| 879 | * thread.c (add_thread): Use printf_unfiltered to print. |
| 880 | |
| 881 | 2008-03-12 Joel Brobecker <brobecker@gnat.com> |
| 882 | |
| 883 | * sol-thread.c: Replace use of TM_I386SOL2_H by an expression |
| 884 | that is true only on x86-solaris and x86_64-solaris. |
| 885 | * procfs.c: Likewise. Move procfs_find_LDT_entry up together |
| 886 | with proc_get_LDT_entry. |
| 887 | |
| 888 | 2008-03-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 889 | |
| 890 | * configure.ac (AC_CHECK_FUNCS): Add check for setsid. |
| 891 | * config.in, configure: Regenerate. |
| 892 | * fork-child.c (fork_inferior): Call create_tty_session. |
| 893 | * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY. |
| 894 | (create_tty_session): New function. |
| 895 | * terminal.h: Declare create_tty_session. |
| 896 | |
| 897 | 2008-03-12 Alan Modra <amodra@bigpond.net.au> |
| 898 | |
| 899 | PR 5900 |
| 900 | * elfread.c (elf_symtab_read): Make shndx an unsigned int. |
| 901 | * mipsread.c: Include elf/internal.h. |
| 902 | (read_alphacoff_dynamic_symtab): Map external reserved sym_shndx |
| 903 | to internal range. |
| 904 | |
| 905 | 2008-03-11 Markus Deuling <deuling@de.ibm.com> |
| 906 | |
| 907 | * win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch |
| 908 | to get at the current architecture and at the target specific vector. |
| 909 | Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and |
| 910 | remove define of I387_ST0_REGNUM. |
| 911 | |
| 912 | * amd64-tdep.c (I387_ST0_REGNUM): Remove define. |
| 913 | |
| 914 | (amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to |
| 915 | get at the current architecture |
| 916 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as |
| 917 | parameter. |
| 918 | |
| 919 | * i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM, |
| 920 | I387_NUM_XMM_REGS and I387_MM0_REGNUM. |
| 921 | |
| 922 | (I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM, |
| 923 | I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM, |
| 924 | (I387_FSTAT_REGNUM): Add target specific vector as parameter. |
| 925 | |
| 926 | (i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get |
| 927 | at the target specific vector. |
| 928 | |
| 929 | (i386_get_longjmp_target): Use get_frame_arch to get at the current |
| 930 | architecture. Use gdbarch_tdep to get at the target specific vector. |
| 931 | |
| 932 | (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and |
| 933 | update caller. Use gdbarch_tdep to get at the target specific vector. |
| 934 | |
| 935 | (i386_register_to_value: Use get_frame_arch to get at the current |
| 936 | architecture. |
| 937 | |
| 938 | * i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as |
| 939 | parameter. |
| 940 | |
| 941 | * i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, |
| 942 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM |
| 943 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR, |
| 944 | FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter. |
| 945 | |
| 946 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and |
| 947 | undef's. |
| 948 | |
| 949 | (i387_convert_register_p, i387_register_to_value, |
| 950 | i387_value_to_register): Update call for i386_fp_regnum_p. |
| 951 | |
| 952 | * i387-tdep.h: Remove comment. |
| 953 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define. |
| 954 | (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, |
| 955 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM, |
| 956 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM, |
| 957 | I387_MXCSR_REGNUM): Add target specific vector as parameter. |
| 958 | |
| 959 | 2008-03-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 960 | |
| 961 | * Makefile.in (fork-child.o): Update. |
| 962 | * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper |
| 963 | argument. Gather all gdbserver features together. |
| 964 | * fork-child.c (exec_wrapper): New variable. |
| 965 | (fork_inferior): Use it. |
| 966 | (startup_inferior): Skip an extra trap if using "set exec-wrapper". |
| 967 | (unset_exec_wrapper_command, _initialize_fork_child): New. |
| 968 | |
| 969 | 2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> |
| 970 | |
| 971 | * source.c (directory_command): Modify the determination of |
| 972 | condition of terminal "from_tty". |
| 973 | |
| 974 | 2008-03-10 Matt Rice <ratmice@gmail.com> |
| 975 | |
| 976 | * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC. |
| 977 | |
| 978 | 2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> |
| 979 | |
| 980 | * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end |
| 981 | of the data passing to strtoulst function. |
| 982 | (info_spu_signal_command): Likewise. |
| 983 | |
| 984 | 2008-03-08 Vladimir Prus <vladimir@codesourcery.com> |
| 985 | |
| 986 | * mi/mi-interp.c (mi_command_loop): Remove |
| 987 | commented-out code. |
| 988 | |
| 989 | 2008-03-07 Joel Brobecker <brobecker@adacore.com> |
| 990 | |
| 991 | * remote.c (extended_remote_attach_1): Make local variable pid an int |
| 992 | instead of a pid_t. |
| 993 | |
| 994 | 2008-03-07 Joel Brobecker <brobecker@adacore.com> |
| 995 | |
| 996 | * solib-svr4.c (svr4_same_1): New function, originally extracted |
| 997 | from svr4_same and expanded to handle the sparc64 case. |
| 998 | (svr4_same): Move up and reimplement using svr4_same_1. |
| 999 | (enable_break): Use svr4_same_1 to do shared library name comparisons. |
| 1000 | |
| 1001 | 2008-03-07 Ramana Radhakrishnan <ramana.r@gmail.com> |
| 1002 | |
| 1003 | * MAINTAINERS: Move self to Paper trail. |
| 1004 | |
| 1005 | 2008-03-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 1006 | |
| 1007 | * Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update. |
| 1008 | * event-loop.c (call_async_signal_handler): New. |
| 1009 | * event-loop.h (call_async_signal_handler) |
| 1010 | (gdb_call_async_signal_handler): Declare. |
| 1011 | (mark_async_signal_handler): Add comments. |
| 1012 | * event-top.c (handle_sigint): Use gdb_call_async_signal_handler. |
| 1013 | * mingw-hdep.c (sigint_event, sigint_handler): New. |
| 1014 | (gdb_select): Use them. Wait for the readline signal handler |
| 1015 | to finish. |
| 1016 | (gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions. |
| 1017 | * posix-hdep.c (gdb_call_async_signal_handler): New function. |
| 1018 | * remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt): |
| 1019 | New. |
| 1020 | (remote_fileio_ctrl_c_signal_handler): Use |
| 1021 | gdb_call_async_signal_handler. |
| 1022 | (initialize_remote_fileio): Initialize sigint_fileio_token. |
| 1023 | * remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do |
| 1024 | not initialize tokens here. |
| 1025 | (handle_remote_sigint_twice): Likewise. Reinstall |
| 1026 | handle_remote_sigint. |
| 1027 | (async_remote_interrupt_twice): Just call interrupt_query. |
| 1028 | (cleanup_sigint_signal_handler): Do not delete tokens. |
| 1029 | (remote_interrupt, remote_interrupt_twice): Use |
| 1030 | gdb_call_async_signal_handler. |
| 1031 | (interrupt_query): Reinstall the default signal handler. |
| 1032 | (_initialize_remote): Initialize tokens here. |
| 1033 | |
| 1034 | 2008-03-04 Joel Brobecker <brobecker@adacore.com> |
| 1035 | |
| 1036 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml, |
| 1037 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: |
| 1038 | Change the type of the lr register to code_ptr. |
| 1039 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, |
| 1040 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, |
| 1041 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, |
| 1042 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, |
| 1043 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, |
| 1044 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, |
| 1045 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate. |
| 1046 | |
| 1047 | 2008-03-03 James E. Wilson <wilson@tuliptree.org> |
| 1048 | |
| 1049 | * MAINTAINERS: Update my email address. |
| 1050 | |
| 1051 | 2008-03-03 Keith Seitz <keiths@redhat.com> |
| 1052 | |
| 1053 | From Dave Murphy <davem@devkitpro.org>: |
| 1054 | * configure.ac: Set tcl configdir to win under mingw. |
| 1055 | * configure: Regenerate. |
| 1056 | |
| 1057 | 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 1058 | |
| 1059 | * breakpoint.c (fetch_watchpoint_value): New function. |
| 1060 | (update_watchpoint): Set and clear val_valid. Use |
| 1061 | fetch_watchpoint_value. Handle unreadable values on the |
| 1062 | value chain. Correct check for user-requested array watchpoints. |
| 1063 | (breakpoint_init_inferior): Clear val_valid. |
| 1064 | (watchpoint_value_print): New function. |
| 1065 | (print_it_typical): Use it. Do not free or clear old_val. Print |
| 1066 | watchpoints even if old_val == NULL. |
| 1067 | (watchpoint_check): Use fetch_watchpoint_value. Check for values |
| 1068 | becoming readable or unreadable. |
| 1069 | (watch_command_1): Use fetch_watchpoint_value. Set val_valid. |
| 1070 | (do_enable_watchpoint): Likewise. |
| 1071 | * breakpoint.h (struct breakpoint): Update comment for val. Add |
| 1072 | val_valid. |
| 1073 | * NEWS: Mention watchpoints on inaccessible memory. |
| 1074 | |
| 1075 | 2007-02-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 1076 | |
| 1077 | * Makefile.in (i386-nat.o): Update. |
| 1078 | * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call |
| 1079 | i386_use_watchpoints. |
| 1080 | * i386-linux-nat.c (_initialize_i386_linux_nat): Call |
| 1081 | i386_use_watchpoints. |
| 1082 | * i386-nat.c (i386_stopped_data_address): Take two arguments. |
| 1083 | (i386_stopped_by_watchpoint): Update call. |
| 1084 | (i386_can_use_hw_breakpoint, i386_use_watchpoints): New. |
| 1085 | * config/i386/nm-i386.h: Conditionalize definitions on |
| 1086 | ! I386_WATCHPOINTS_IN_TARGET_VECTOR. |
| 1087 | (i386_use_watchpoints): Declare. |
| 1088 | (i386_stopped_data_address): Update. |
| 1089 | * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. |
| 1090 | * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. |
| 1091 | |
| 1092 | 2008-02-29 Joel Brobecker <brobecker@adacore.com> |
| 1093 | |
| 1094 | GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC) |
| 1095 | * version.in: Bump version to 6.8.50.20080229-cvs. |
| 1096 | |
| 1097 | 2008-02-28 Markus Deuling <deuling@de.ibm.com> |
| 1098 | |
| 1099 | * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING |
| 1100 | properly. |
| 1101 | |
| 1102 | 2008-02-28 Tom Tromey <tromey@redhat.com> |
| 1103 | |
| 1104 | * infcmd.c (notice_args_read): Print result of get_inferior_args. |
| 1105 | |
| 1106 | 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 1107 | |
| 1108 | * infcmd.c (kill_if_already_running): Make static. Use |
| 1109 | target_require_runnable. |
| 1110 | * target.c (target_require_runnable): New. |
| 1111 | * target.h (target_require_runnable): Declare. |
| 1112 | |
| 1113 | 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 1114 | |
| 1115 | * frame.c (reinit_frame_cache): Only annotate if frames were |
| 1116 | previously valid. |
| 1117 | |
| 1118 | 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 1119 | |
| 1120 | * regformats/reg-ppc.dat: Rename "ps" to "msr". |
| 1121 | * regformats/reg-ppc64.dat: Likewise. |
| 1122 | |
| 1123 | 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 1124 | |
| 1125 | * features/Makefile (%.dat): Emit xmltarget statement. |
| 1126 | |
| 1127 | * regformats/regdat.sh: Support xmltarget and xmlarch statments. |
| 1128 | Generate code to set gdbserver_xmltarget in init_registers_${name}. |
| 1129 | |
| 1130 | * regformats/arm-with-iwmmxt.dat: Regenerate. |
| 1131 | * regformats/mips64-linux.dat: Regenerate. |
| 1132 | * regformats/mips-linux.dat: Regenerate. |
| 1133 | * regformats/rs6000/powerpc-32.dat: Regenerate. |
| 1134 | * regformats/rs6000/powerpc-64.dat: Regenerate. |
| 1135 | * regformats/rs6000/powerpc-e500.dat: Regenerate. |
| 1136 | |
| 1137 | * regformats/reg-arm.dat: Add xmlarch statement. |
| 1138 | * regformats/reg-i386.dat: Likewise. |
| 1139 | * regformats/reg-i386-linux.dat: Likewise. |
| 1140 | * regformats/reg-x86-64-linux.dat: Likewise. |
| 1141 | * regformats/reg-spu.dat: Likewise. |
| 1142 | |
| 1143 | 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 1144 | |
| 1145 | * remote.c (remote_wait, remote_async_wait): Stop if we receive |
| 1146 | an error. |
| 1147 | |
| 1148 | 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 1149 | |
| 1150 | * utils.c (debug_timestamp): New. |
| 1151 | (vfprintf_unfiltered): Print timestamps if requested. |
| 1152 | (show_debug_timestamp): New. |
| 1153 | (initialize_utils): Register "set debug timestamp". |
| 1154 | * NEWS: Mention "set debug timestamp". Add GDB 6.8 section. |
| 1155 | |
| 1156 | 2008-02-27 Joel Brobecker <brobecker@adacore.com> |
| 1157 | |
| 1158 | * breakpoint.c (skip_prologue_sal): New function. |
| 1159 | (resolve_sal_pc): Adjust SAL past prologue if the SAL was |
| 1160 | computed from a line number. |
| 1161 | |
| 1162 | 2008-02-27 Joel Brobecker <brobecker@adacore.com> |
| 1163 | |
| 1164 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml |
| 1165 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: |
| 1166 | Set PC register type to "code_ptr". |
| 1167 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, |
| 1168 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, |
| 1169 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, |
| 1170 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, |
| 1171 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, |
| 1172 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, |
| 1173 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: |
| 1174 | Regenerate. |
| 1175 | |
| 1176 | 2008-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 1177 | |
| 1178 | * regformats/regdat.sh: Rename init_registers function in |
| 1179 | generated file to init_registers_${name}. |
| 1180 | |
| 1181 | * regformats/reg-crisv32.dat: Set "name" to crisv32. |
| 1182 | * regformats/reg-ppc64.dat: Set "name" to ppc64. |
| 1183 | * regformats/reg-s390x.dat: Set "name" to s390x. |
| 1184 | |
| 1185 | 2008-02-26 Greg Law <glaw@undo-software.com> |
| 1186 | |
| 1187 | * regcache.c (registers_changed): Call reinit_frame_cache. |
| 1188 | |
| 1189 | 2008-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
| 1190 | |
| 1191 | * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o. |
| 1192 | * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver |
| 1193 | and svr4_fetch_objfile_link_map. |
| 1194 | * Makefile.in (sh-linux-tdep.o): Update. |
| 1195 | |
| 1196 | 2008-02-26 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1197 | |
| 1198 | * amd64-tdep.c (amd64_classify): Add support for decimal float |
| 1199 | types. |
| 1200 | * i386-tdep.c (i386_return_value): Make 128-bit decimal float |
| 1201 | use the struct return convention. |
| 1202 | |
| 1203 | 2008-02-26 Nick Roberts <nickrob@snap.net.nz> |
| 1204 | |
| 1205 | * breakpoint.c (print_one_breakpoint_location): Revert Enb field |
| 1206 | to old format. Discard breakpoint address if shared library is |
| 1207 | unloaded. |
| 1208 | (breakpoint_1): Adjust formatting of table header accordingly. |
| 1209 | |
| 1210 | 2008-02-25 Vladimir Prus <vladimir@codesourcery.com> |
| 1211 | |
| 1212 | * remote.c (remote_get_threadlist): If the response |
| 1213 | is empty, don't try to parse it. |
| 1214 | |
| 1215 | 2008-02-23 Vladimir Prus <vladimir@codesourcery.com> |
| 1216 | |
| 1217 | Unbreak 'target async'. |
| 1218 | * serial.c (serial_async): Set the |
| 1219 | handler function before enabling async |
| 1220 | mode. |
| 1221 | |
| 1222 | 2008-02-22 Daniel Jacobowitz <dan@codesourcery.com> |
| 1223 | |
| 1224 | * solib-svr4.c (enable_break): Convert r_brk to a code address. |
| 1225 | |
| 1226 | 2008-02-21 Pedro Alves <pedro@codesourcery.com> |
| 1227 | |
| 1228 | * remote.c (extended_remote_attach_1): Set attach_flag. |
| 1229 | (extended_remote_create_inferior_1): Clear attach_flag. |
| 1230 | |
| 1231 | 2008-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 1232 | |
| 1233 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set |
| 1234 | r_brk_offset. |
| 1235 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. |
| 1236 | * solib-svr4.c (solib_svr4_r_brk): New. |
| 1237 | (open_symbol_file_object, svr4_current_sos): Always check the |
| 1238 | debug base. |
| 1239 | (svr4_fetch_objfile_link_map): Do not set debug_base. |
| 1240 | (enable_break): Use r_brk if it is set. |
| 1241 | (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. |
| 1242 | (svr4_lp64_fetch_link_map_offsets): Likewise. |
| 1243 | * solib-svr4.h (struct link_map_offsets): Add r_brk_offset. |
| 1244 | |
| 1245 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
| 1246 | Mark Kettenis <kettenis@gnu.org> |
| 1247 | |
| 1248 | * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by |
| 1249 | trad_frame_saved_reg. |
| 1250 | (trad-frame.h): New include. |
| 1251 | |
| 1252 | (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs |
| 1253 | instead of frame_obstack_zalloc. |
| 1254 | (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. |
| 1255 | |
| 1256 | * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h. |
| 1257 | |
| 1258 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
| 1259 | |
| 1260 | * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess |
| 1261 | from disassemble_info instead of gdbarch_byte_order. |
| 1262 | |
| 1263 | * mips-tdep.c (gdb_print_insn_mips): Likewise. |
| 1264 | * arm-tdep.c (gdb_print_insn_arm): Likewise. |
| 1265 | |
| 1266 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
| 1267 | |
| 1268 | * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add |
| 1269 | gdbarch as parameter. |
| 1270 | |
| 1271 | * gdbarch.{c,h}: Regenerate. |
| 1272 | |
| 1273 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as |
| 1274 | parameter. |
| 1275 | * mem-break.c (default_memory_insert_breakpoint) |
| 1276 | (default_memory_remove_breakpoint): Likewise. |
| 1277 | * target.h (default_memory_remove_breakpoint) |
| 1278 | (default_memory_insert_breakpoint): Likewise. |
| 1279 | |
| 1280 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as |
| 1281 | parameter. Replace current_gdbarch by gdbarch. |
| 1282 | * m32r-tdep.c (m32r_memory_insert_breakpoint) |
| 1283 | (m32r_memory_remove_breakpoint): Likewise. |
| 1284 | |
| 1285 | 2008-02-19 Daniel Jacobowitz <dan@codesourcery.com> |
| 1286 | |
| 1287 | * MAINTAINERS: Add Vladimir Prus as MI maintainer. |
| 1288 | |
| 1289 | 2008-02-19 Joel Brobecker <brobecker@adacore.com> |
| 1290 | |
| 1291 | * NEWS: Add entry describing Add support improvements. |
| 1292 | |
| 1293 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 1294 | |
| 1295 | * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by |
| 1296 | M68K_FP0_REGNUM. |
| 1297 | |
| 1298 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 1299 | |
| 1300 | * sentinel-frame.c (sentinel_frame_prev_register): Do not call |
| 1301 | register_offset_hack anymore. |
| 1302 | |
| 1303 | * regcache.{c,h} (register_offset_hack): Remove. |
| 1304 | |
| 1305 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 1306 | |
| 1307 | * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter. |
| 1308 | |
| 1309 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace |
| 1310 | current_gdbarch by gdbarch. |
| 1311 | (hppa64_hpux_find_global_pointer): Likewise. |
| 1312 | * hppa-tdep.c (hppa_find_global_pointer): Likewise. |
| 1313 | (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for |
| 1314 | find_global_pointer. |
| 1315 | |
| 1316 | * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as |
| 1317 | parameter. |
| 1318 | * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. |
| 1319 | |
| 1320 | * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead |
| 1321 | of gdbarch_num_regs. |
| 1322 | |
| 1323 | * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and |
| 1324 | replace current_gdbarch by gdbarch. |
| 1325 | (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr. |
| 1326 | |
| 1327 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 1328 | |
| 1329 | * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter |
| 1330 | and replace current_gdbarch by gdbarch. |
| 1331 | |
| 1332 | (store_register): Update call for exec_one_dummy_insn. |
| 1333 | (fetch_register, store_register): Update call of regmap. |
| 1334 | |
| 1335 | * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as |
| 1336 | parameter and replace current_gdbarch by gdbarch. |
| 1337 | |
| 1338 | (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at |
| 1339 | the current architecture. Update call for getregs_supplies and |
| 1340 | getfpregs_supplies. |
| 1341 | (ppcnbsd_fetch_inferior_registers): Likewise. |
| 1342 | |
| 1343 | * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and |
| 1344 | replace current_gdbarch by gdbarch. |
| 1345 | (ppcobsd_fetch_registers, ppcobsd_store_registers): Use |
| 1346 | get_regcache_arch to get at the current architecture. Update call for |
| 1347 | getfpregs_supplies. |
| 1348 | |
| 1349 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 1350 | |
| 1351 | * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch |
| 1352 | variables. |
| 1353 | |
| 1354 | 2008-02-15 Markus Deuling <deuling@de.ibm.com> |
| 1355 | |
| 1356 | * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. |
| 1357 | |
| 1358 | 2008-02-14 Vladimir Prus <vladimir@codesourcery.com> |
| 1359 | |
| 1360 | * NEWS: Mention pending breakpints in MI. |
| 1361 | |
| 1362 | 2008-02-14 Markus Deuling <deuling@de.ibm.com> |
| 1363 | |
| 1364 | * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o. |
| 1365 | |
| 1366 | 2008-02-13 Markus Deuling <deuling@de.ibm.com> |
| 1367 | |
| 1368 | Add script to build and test GDB using enable-targets=all. |
| 1369 | |
| 1370 | * gdb_buildall.sh: New file. |
| 1371 | |
| 1372 | 2008-02-11 Maxim Grigoriev <maxim2405@gmail.com> |
| 1373 | |
| 1374 | * NEWS (New native configurations): Xtensa GNU/Linux. |
| 1375 | (New targets): Xtensa GNU/Linux. |
| 1376 | * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and |
| 1377 | xtensa-linux-tdep.o |
| 1378 | (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c |
| 1379 | (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. |
| 1380 | * configure.tgt (xtensa*-*-linux*): New entry. |
| 1381 | * xtensa-config.c (xtensa_tdep): New variable. |
| 1382 | (xtensa_config_byte_order, xtensa_config_tdep): Removed. |
| 1383 | (rmap): Change format based on new macro XTREG. |
| 1384 | (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. |
| 1385 | * xtensa-linux-nat.c: New. |
| 1386 | * xtensa-linux-tdep.c: New. |
| 1387 | * xtensa-xtregs.c: New. |
| 1388 | * xtensa-tdep.h (xtensa_elf_gregset_t): Update. |
| 1389 | (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) |
| 1390 | (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. |
| 1391 | (xtensa_register_t): New field coprocessor. |
| 1392 | (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. |
| 1393 | * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. |
| 1394 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): |
| 1395 | Update to handle privileged registers. |
| 1396 | (xtensa_supply_gregset) Remove exccause and excvaddr registers. |
| 1397 | (xtensa_push_dummy_call): Set windowstart register correctly. |
| 1398 | (call0_analyze_prologue): Initialize xtensa_default_isa. |
| 1399 | (xtensa_derive_tdep): New. |
| 1400 | (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and |
| 1401 | xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. |
| 1402 | Call xtensa_derive_tdep(). |
| 1403 | * config/xtensa/linux.mh: New. |
| 1404 | * regformats/reg-xtensa.dat: New. |
| 1405 | |
| 1406 | 2008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change) |
| 1407 | |
| 1408 | * corelow.c (core_open): Use IS_ABSOLUTE_PATH. |
| 1409 | (filenames.h): New include. |
| 1410 | * Makefile.in (corelow.o): Add dependency for filenames.h. |
| 1411 | |
| 1412 | 2008-02-08 Doug Evans <dje@google.com> |
| 1413 | |
| 1414 | * source.c (find_and_open_source): Always rewrite absolute filenames. |
| 1415 | |
| 1416 | 2008-02-07 Doug Evans <dje@google.com> |
| 1417 | |
| 1418 | * breakpoint.c: #include "hashtab.h". |
| 1419 | (ambiguous_names_p): New fn. |
| 1420 | (update_breakpoint_locations): When restoring bp enable status, don't |
| 1421 | compare function names if any functions have same name. |
| 1422 | * Makefile.in (breakpoint.o): Add hashtab.h dependency. |
| 1423 | |
| 1424 | 2008-02-07 Joel Brobecker <brobecker@adacore.com> |
| 1425 | |
| 1426 | * ada-lang.c (symbol_completion_add): Make SV parameter a VEC** |
| 1427 | instead of just a VEC*. Update use of SV. |
| 1428 | (ada_make_symbol_completion_list): Update symbol_completion_add calls. |
| 1429 | |
| 1430 | 2007-02-07 Joel Brobecker <brobecker@adacore.com> |
| 1431 | |
| 1432 | * NEWS: Put all new commands since gdb-6.7 together. |
| 1433 | |
| 1434 | 2007-02-07 Joel Brobecker <brobecker@adacore.com> |
| 1435 | |
| 1436 | * ada-lang.c: #include "vec.h". |
| 1437 | (struct string_vector, new_string_vector, string_vector_append): |
| 1438 | Delete. |
| 1439 | (char_ptr): New typedef. |
| 1440 | (DEF_VEC_P (char_ptr)): New VEC type. |
| 1441 | (symbol_completion_add): Update profile to take the new VEC type |
| 1442 | instead of the old string_vector structure. Update code accordingly. |
| 1443 | (ada_make_symbol_completion_list): Use the new VEC type instead of |
| 1444 | the old string_vector structure, and update the code accordingly. |
| 1445 | * Makefile.in (ada-lang.o): Add dependency on vec.h. |
| 1446 | |
| 1447 | 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1448 | |
| 1449 | * p-exp.y: Set current_type in missing places. |
| 1450 | (leftdiv_is_integer): New static variable. |
| 1451 | Typecast right operand of BINOP_DIV to long_double if both operands |
| 1452 | are integers. |
| 1453 | |
| 1454 | 2008-02-06 Maciej W. Rozycki <macro@mips.com> |
| 1455 | |
| 1456 | * remote-mips.c (set_breakpoint): Rename to... |
| 1457 | (mips_set_breakpoint): ... this. |
| 1458 | (clear_breakpoint): Rename to... |
| 1459 | (mips_clear_breakpoint): ... this. |
| 1460 | (common_breakpoint): Rename to... |
| 1461 | (mips_common_breakpoint): ... this. |
| 1462 | (check_lsi_error): Rename to... |
| 1463 | (mips_check_lsi_error): ... this. |
| 1464 | |
| 1465 | 2007-02-05 Joel Brobecker <brobecker@adacore.com> |
| 1466 | |
| 1467 | * language.h (struct language_defn): Add new field |
| 1468 | la_make_symbol_completion_list. |
| 1469 | * symtab.c (default_make_symbol_completion_list): Renames |
| 1470 | make_symbol_completion_list. |
| 1471 | (make_symbol_completion_list): New function. |
| 1472 | * symtab.h (default_make_symbol_completion_list): Add declaration. |
| 1473 | * langauge.c (unknown_language): Set la_make_symbol_completion_list. |
| 1474 | (auto_language, local_language): Likewise. |
| 1475 | * objc-lang.c (objc_language_defn): Likewise. |
| 1476 | * scm-lang.c (scm_language_defn): Likewise. |
| 1477 | * m2-lang.c (m2_language_defn): Likewise. |
| 1478 | * f-lang.c (f_language_defn): Likewise. |
| 1479 | * jv-lang.c (java_language_defn): Likewise. |
| 1480 | * p-lang.c (pascal_language_defn): Likewise. |
| 1481 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn) |
| 1482 | (minimal_language_defn): Likewise. |
| 1483 | * ada-lang.c (struct string_vector): New structure. |
| 1484 | (new_string_vector, string_vector_append, ada_unqualified_name) |
| 1485 | (add_angle_brackets, symbol_completion_match, symbol_completion_add) |
| 1486 | (ada_make_symbol_completion_list): New functions. |
| 1487 | (ada_language_defn): Set la_make_symbol_completion_list. |
| 1488 | * ada-lang.h (ada_make_symbol_completion_list): Remove declaration, |
| 1489 | this function is static. |
| 1490 | |
| 1491 | 2008-02-05 Kevin Buettner <kevinb@redhat.com> |
| 1492 | |
| 1493 | * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer |
| 1494 | to account for call site optimizations. |
| 1495 | |
| 1496 | 2008-02-05 Andrzej Zaborowski <balrogg@gmail.com> |
| 1497 | |
| 1498 | * tracepoint.c (read_actions): Handle end-of-text indicator |
| 1499 | in action list properly. (Committed by Jim Blandy) |
| 1500 | |
| 1501 | 2008-02-05 Jim Blandy <jimb@red-bean.com> |
| 1502 | |
| 1503 | * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a |
| 1504 | pseudoregister, not an internal error. |
| 1505 | Reported by: Andrzej Zaborowski |
| 1506 | |
| 1507 | 2008-02-04 Vladimir Prus <vladimir@codesourcery.com> |
| 1508 | |
| 1509 | * varobj.c (c_value_of_variable): Use xstrdup. |
| 1510 | |
| 1511 | 2008-02-04 Vladimir Prus <vladimir@codesourcery.com> |
| 1512 | |
| 1513 | Update stored rendition of varobj value when format changes. |
| 1514 | * varobj.c (varobj_set_display_format): Recomputed |
| 1515 | print_value. |
| 1516 | (c_value_of_variable): Return print_value. |
| 1517 | |
| 1518 | 2008-02-03 Doug Evans <dje@google.com> |
| 1519 | |
| 1520 | * eval.c (evaluate_subexp_standard): Fix type of result of mixed |
| 1521 | integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. |
| 1522 | * valops.c (value_one): New function. |
| 1523 | * value.h (value_one): Declare. |
| 1524 | |
| 1525 | Fix argument promotion for binary arithmetic ops for C. |
| 1526 | * valarith.c (unop_result_type): New fn. |
| 1527 | (binop_result_type): New fn. |
| 1528 | (value_binop): Move result type computation to binop_result_type. |
| 1529 | (value_pos, value_neg, value_complement): Move result type |
| 1530 | computation to unop_result_type. |
| 1531 | |
| 1532 | PR 2384 |
| 1533 | * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. |
| 1534 | Return basetype, fieldno if found. All callers updated. |
| 1535 | Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different |
| 1536 | objfile. |
| 1537 | * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. |
| 1538 | * symfile.h (fill_in_vptr_fieldno): Delete. |
| 1539 | |
| 1540 | 2008-02-02 Doug Evans <dje@google.com> |
| 1541 | |
| 1542 | * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero. |
| 1543 | |
| 1544 | * typeprint.c (*): Whitespace cleanup. |
| 1545 | |
| 1546 | 2008-02-02 Mark Kettenis <kettenis@gnu.org> |
| 1547 | Luis Machado <luisgpm@br.ibm.com> |
| 1548 | Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1549 | |
| 1550 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that |
| 1551 | don't fit into registerson the stack the way GCC does. |
| 1552 | |
| 1553 | 2008-02-01 Joel Brobecker <brobecker@adacore.com> |
| 1554 | |
| 1555 | * symtab.c (symbol_set_names): Do not add an entry in the demangling |
| 1556 | hash table for Ada symbols. Just store the linkage name as is, |
| 1557 | and leave the demangled_name as NULL. |
| 1558 | |
| 1559 | 2007-02-01 Joel Brobecker <brobecker@adacore.com> |
| 1560 | |
| 1561 | * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms |
| 1562 | in the global scope. |
| 1563 | (new_symbol): Likewise. |
| 1564 | |
| 1565 | 2008-02-01 Vladimir Prus <vladimir@codesourcery.com> |
| 1566 | |
| 1567 | * breakpoint.c (break_command_1): Return void. |
| 1568 | (break_command_really): Return void. Rethrow |
| 1569 | exceptions instead of returning. |
| 1570 | (gdb_breakpoint): Remove the error_message parameter. |
| 1571 | Return void. Rename to set_breakpoint. |
| 1572 | * gdb.h (gdb_breakpoint): Rename and move to... |
| 1573 | * breakpoint.h (set_breakpoint): ...here. |
| 1574 | * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore |
| 1575 | event hooks even if exception is thrown. Adjust to |
| 1576 | gdb_breakpoint interface changes. |
| 1577 | |
| 1578 | |
| 1579 | 2008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1580 | |
| 1581 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit |
| 1582 | float in both first and second word in the doubleword, to support |
| 1583 | old and new ABIs. |
| 1584 | |
| 1585 | 2008-02-01 Vladimir Prus <vladimir@codesourcery.com> |
| 1586 | |
| 1587 | Properly rethrow exception. This fixes errors |
| 1588 | about non-existent functions for -break-insert. |
| 1589 | * breakpoint.c (break_command_really): Use throw_exception |
| 1590 | for rethrowing. If rethrowing, don't print the exception. |
| 1591 | |
| 1592 | 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1593 | |
| 1594 | * NEWS: Mention Decimal Floating Point support. |
| 1595 | |
| 1596 | 2008-01-31 Joel Brobecker <brobecker@adacore.com> |
| 1597 | |
| 1598 | * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned |
| 1599 | value type to builtin_type_void_func_ptr. |
| 1600 | |
| 1601 | 2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com> |
| 1602 | |
| 1603 | * s390-tdep.c (is_float_singleton, is_float_like, |
| 1604 | alignment_of, s390_return_value): Make checks for |
| 1605 | TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. |
| 1606 | |
| 1607 | 2008-01-31 Luis Machado <luisgpm@br.ibm.com> |
| 1608 | Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1609 | |
| 1610 | * infcmd.c (default_print_registers_info): Also print hex |
| 1611 | raw contents for TYPE_CODE_DECFLOAT registers. |
| 1612 | * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. |
| 1613 | * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. |
| 1614 | (rs6000_register_name): Add support for DFP pseudo-registers. |
| 1615 | (rs6000_pseudo_register_type): Likewise. |
| 1616 | rs6000_pseudo_register_reggroup_p): Likewise. |
| 1617 | (ppc_pseudo_register_read): New function. |
| 1618 | (ppc_pseudo_register_write): Likewise. |
| 1619 | (rs6000_pseudo_register_read): Likewise. |
| 1620 | (rs6000_pseudo_register_write): Likewise. |
| 1621 | (e500_pseudo_register_read): Move checks to |
| 1622 | rs6000_pseudo_register_read. |
| 1623 | (e500_pseudo_register_write): Move checks to |
| 1624 | rs6000_pseudo_register_write. |
| 1625 | (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install |
| 1626 | rs6000_pseudo_register_read and rs6000_pseudo_register_write |
| 1627 | in gdbarch if SPE or DFP is available. Adjust gdbarch's |
| 1628 | num_pseudo_regs to account for DFP pseudo regs. |
| 1629 | |
| 1630 | 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1631 | |
| 1632 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. |
| 1633 | * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. |
| 1634 | (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, |
| 1635 | rs6000_pseudo_register_reggroup_p, e500_move_ev_register, |
| 1636 | e500_pseudo_register_read, e500_pseudo_register_write): Use |
| 1637 | IS_SPE_PSEUDOREG macro. |
| 1638 | (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. |
| 1639 | (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. |
| 1640 | Remove initialization of tdep->ppc_ev31_regnum. |
| 1641 | |
| 1642 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
| 1643 | |
| 1644 | * printcmd.c (print_formatted): Handle references as for unformatted |
| 1645 | prints. |
| 1646 | |
| 1647 | 2008-01-30 Joel Brobecker <brobecker@adacore.com> |
| 1648 | |
| 1649 | * eval.c (evaluate_subexp_standard): Add handling of user |
| 1650 | registers when in EVAL_AVOID_SIDE_EFFECTS mode. |
| 1651 | |
| 1652 | 2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1653 | |
| 1654 | * eval.c (evaluate_subexp_standard): Support |
| 1655 | BINOP_INTDIV opcode. |
| 1656 | |
| 1657 | 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com> |
| 1658 | |
| 1659 | * valarith.c (value_binop): Add floating-point BINOP_MIN and |
| 1660 | BINOP_MAX cases. |
| 1661 | For BINOP_EXP, use length and signedness of left operand only for |
| 1662 | result, as for shifts. |
| 1663 | For integral operands to BINOP_EXP, use new integer_pow and |
| 1664 | uinteger_pow functions so as to get full range of results. |
| 1665 | (integer_pow): New function. |
| 1666 | (uinteger_pow): New function. |
| 1667 | |
| 1668 | 2008-01-30 Vladimir Prus <vladimir@codesourcery.com> |
| 1669 | |
| 1670 | Use vector for varobj_list_children interface. |
| 1671 | * gdb/varobj.c (varobj_list_children): Return vector |
| 1672 | of varobjs. |
| 1673 | * gdb/varobj.h (varobj_list_children): Adjust |
| 1674 | prototype. |
| 1675 | (varobj_p): Declare. Declare vector thereof. |
| 1676 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust |
| 1677 | for varobj_list_children change. |
| 1678 | * Makefile.in (varobj_h): Update dependencies. |
| 1679 | |
| 1680 | 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1681 | |
| 1682 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for |
| 1683 | TYPE_CODE_DECFLOAT arguments. |
| 1684 | (ppc64_sysv_abi_push_dummy_call) Likewise. |
| 1685 | (get_decimal_float_return_value): New function. |
| 1686 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return |
| 1687 | values by calling get_decimal_float_return_value. |
| 1688 | (ppc64_sysv_abi_return_value): Likewise. |
| 1689 | |
| 1690 | 2008-01-30 Nick Roberts <nickrob@snap.net.nz> |
| 1691 | |
| 1692 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field |
| 1693 | for preprocessor macro information. Formatting changes. |
| 1694 | |
| 1695 | 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 1696 | |
| 1697 | * remote.c (struct remote_state): Add cached_wait_status. |
| 1698 | (remote_exec_file): New variable. |
| 1699 | (PACKET_vAttach, PACKET_vRun): New constants. |
| 1700 | (extended_remote_restart): Do not query for status. |
| 1701 | (struct start_remote_args): New. |
| 1702 | (remote_start_remote): Take it as a second argument. Check |
| 1703 | whether the target is running. Issue an error for non-running |
| 1704 | non-extended targets. Cache the wait status. Set inferior_ptid |
| 1705 | here. |
| 1706 | (remote_open_1): Prompt to disconnect non-running targets. Make |
| 1707 | sure the target is marked running. Do not set inferior_ptid here. |
| 1708 | Update call to remote_start_remote. Do not call remote_check_symbols |
| 1709 | if the target is not running. |
| 1710 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED |
| 1711 | argument. Handle a non-running target. |
| 1712 | (remote_detach): Use it. |
| 1713 | (extended_remote_detach): New. |
| 1714 | (remote_disconnect): Fix typo. Use remoute_mourn_1. |
| 1715 | (extended_remote_attach_1, extended_remote_attach) |
| 1716 | (extended_async_remote_attach): New. |
| 1717 | (remote_vcont_resume): Remove unused variable. |
| 1718 | (remote_wait, remote_async_wait): Use any cached wait status. |
| 1719 | (putpkt_binary, getpkt): Clear any cached wait status. |
| 1720 | (extended_remoute_mourn_1): New. |
| 1721 | (extended_remote_mourn): Use it. |
| 1722 | (extended_async_remote_mourn, extended_remote_run): New. |
| 1723 | (extended_remote_create_inferior_1): New. |
| 1724 | (extended_remote_create_inferior): Use it. |
| 1725 | (extended_remote_async_create_inferior): Likewise. |
| 1726 | (remote_xfer_partial): Skip for non-executing targets. |
| 1727 | (init_extended_remote_ops): Set to_detach and to_attach. |
| 1728 | (init_extended_async_remote_ops): Likewise. Use |
| 1729 | extended_async_remote_mourn. |
| 1730 | (_initialize_remote): Register vAttach, vRun, and |
| 1731 | set remote exec-file. |
| 1732 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. |
| 1733 | |
| 1734 | 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 1735 | |
| 1736 | * Makefile.in (symfile.o): Update. |
| 1737 | * NEWS: Mention exec tracing support. |
| 1738 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for |
| 1739 | exec events. |
| 1740 | * infcmd.c (kill_if_already_running, detach_command) |
| 1741 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. |
| 1742 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. |
| 1743 | (follow_exec): Do not check may_follow_exec. Do not mourn and push |
| 1744 | targets. Apply the sysroot path to the loaded executable. Use |
| 1745 | no_shared_libraries. |
| 1746 | * linux-nat.c (linux_child_follow_fork): Print fork following |
| 1747 | messages if verbose. |
| 1748 | (kill_wait_callback): Kill again before waiting a second time. |
| 1749 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with |
| 1750 | no_shared_libraries. |
| 1751 | |
| 1752 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
| 1753 | |
| 1754 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. |
| 1755 | |
| 1756 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
| 1757 | |
| 1758 | * nto-tdep.h: Remove #include "defs.h". |
| 1759 | * nto-tdep.c: Add #include "defs.h". |
| 1760 | * Makefile.in (nto_tdep_h): Update dependencies. |
| 1761 | (nto-tdep.o): Likewise. |
| 1762 | |
| 1763 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
| 1764 | |
| 1765 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter |
| 1766 | and use it. |
| 1767 | (proceed, start_remote): Update call to wait_for_inferior. |
| 1768 | * inferior.h (wait_for_inferior): Update declaration. |
| 1769 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, |
| 1770 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. |
| 1771 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as |
| 1772 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. |
| 1773 | |
| 1774 | 2008-01-29 Aleksandar Ristovski <aristovski@qnx.com> |
| 1775 | |
| 1776 | * varobj (adjust_value_for_child_access): Added checking for |
| 1777 | returned value from gdb_value_ind. |
| 1778 | (c_describe_child): Likewise. |
| 1779 | (cplus_describe_child): Fixed a typo. |
| 1780 | |
| 1781 | 2008-01-29 Jim Blandy <jimb@red-bean.com> |
| 1782 | |
| 1783 | * MAINTAINERS: Update my info. |
| 1784 | |
| 1785 | 2008-01-29 Vladimir Prus <vladimir@codesourcery.com> |
| 1786 | |
| 1787 | Use multiple locations for hardware watchpoints. |
| 1788 | This eliminates the need to traverse value chain, doing |
| 1789 | various checks, in three different places. |
| 1790 | |
| 1791 | * breakpoint.h (struct bp_location): New fields |
| 1792 | lengths and watchpoint_type. |
| 1793 | (struct breakpoint): Remove the val_chain field. |
| 1794 | * breakpoint.c (is_hardware_watchpoint): New. |
| 1795 | (free_valchain): Remove. |
| 1796 | (update_watchpoint): New. |
| 1797 | (insert_bp_location): For hardware watchpoint, just |
| 1798 | directly insert it. |
| 1799 | (insert_breakpoints): Call update_watchpoint_locations |
| 1800 | on all watchpoints. If we have failed to insert |
| 1801 | any location of a hardware watchpoint, remove all inserted |
| 1802 | locations. |
| 1803 | (remove_breakpoint): For hardware watchpoints, directly |
| 1804 | remove location. |
| 1805 | (watchpoints_triggered): Iterate over locations. |
| 1806 | (bpstat_stop_status): Use only first location of |
| 1807 | a resource watchpoint. |
| 1808 | (delete_breakpoint): Don't call free_valchain. |
| 1809 | (print_one_breakpoint): Don't print all |
| 1810 | locations for watchpoints. |
| 1811 | (breakpoint_re_set_one): Use update_watchpoint for |
| 1812 | watchpoints. |
| 1813 | |
| 1814 | 2008-01-29 Vladimir Prus <vladimir@codesourcery.com> |
| 1815 | |
| 1816 | Don't reset watchpoint block on solib load. |
| 1817 | |
| 1818 | * breakpoint.c (insert_bp_location): For watchpoints, |
| 1819 | recompute condition. |
| 1820 | (breakpoint_re_set_one): Instead of recomputing value |
| 1821 | and condition for watchpoints, just reset value and |
| 1822 | let insert_breakpoints/insert_bp_location recompute it. |
| 1823 | Don't do anything about disabled watchpoint. |
| 1824 | |
| 1825 | 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1826 | |
| 1827 | * valarith.c (value_binop): Handle unsigned integer |
| 1828 | division by zero. |
| 1829 | |
| 1830 | 2008-01-28 Kevin Buettner <kevinb@redhat.com> |
| 1831 | |
| 1832 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an |
| 1833 | instruction pattern that appears frequently in position |
| 1834 | independent code. Fix bug in code which looks for "fmov" and |
| 1835 | backtracks if no "fmov" is found. |
| 1836 | |
| 1837 | 2008-01-28 Doug Evans <dje@google.com> |
| 1838 | |
| 1839 | * dbxread.c (read_dbx_symtab): Fix indentation. |
| 1840 | Reformat comments to 80 columns. |
| 1841 | Move local var def closer to only use. |
| 1842 | |
| 1843 | 2008-01-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 1844 | |
| 1845 | * fork-child.c (SHELL_FILE): Remove #ifndef. |
| 1846 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. |
| 1847 | |
| 1848 | 2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1849 | |
| 1850 | * i386-tdep.c (i386_skip_noop): New function. |
| 1851 | (i386_analyze_prologue): Call i386_skip_noop function. |
| 1852 | |
| 1853 | 2008-01-24 Michael Snyder <msnyder@specifix.com> |
| 1854 | |
| 1855 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. |
| 1856 | * win32-nat.c (win32_xfer_partial): Ditto. |
| 1857 | * target.c (default_xfer_partial): Minor whitespace adjustment. |
| 1858 | |
| 1859 | 2008-01-24 Pedro Alves <pedro@codesourcery.com> |
| 1860 | |
| 1861 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't |
| 1862 | strip bit 1 even if pc doesn't point to thumb code. |
| 1863 | |
| 1864 | 2008-01-23 Daniel Jacobowitz <dan@codesourcery.com> |
| 1865 | |
| 1866 | * remote.c (remote_wait): Handle SIGINT between packets. |
| 1867 | (remote_async_wait): Likewise. |
| 1868 | |
| 1869 | 2008-01-23 Vladimir Prus <vladimir@codesourcery.com> |
| 1870 | Chris Demetriou <cgd@google.com> |
| 1871 | |
| 1872 | * thread.c (add_thread_silent): Renamed |
| 1873 | from add_thread. |
| 1874 | (print_thread_events): New variable definition. |
| 1875 | (show_print_thread_events): New function. |
| 1876 | (_initialize_thread): Add "set print thread-events" and |
| 1877 | "show print thread-events" commands. |
| 1878 | (add_thread): Announce new thread. |
| 1879 | * gdbthread.h (add_thread_silent): Declare. |
| 1880 | (print_thread_events): New variable declaration. |
| 1881 | * inf-ttrace.c (inf_ttrace_wait): Don't |
| 1882 | inform about new thread, as add_thread is always |
| 1883 | called too, and will take care of that. |
| 1884 | * infrun.c (handle_inferior_event): Likewise. |
| 1885 | * procfs.c (procfs_wait): Likewise. |
| 1886 | * remote.c (remote_currthread): Likewise. |
| 1887 | * sol-thread.c (sol_thread_wait): Likewise. |
| 1888 | * win32-nat.c (get_win32_debug_event): Likewise. |
| 1889 | * linux-thread-db.c (attach_thread): Likewise. |
| 1890 | Remove the verbose parameter. |
| 1891 | (check_event): Make detach_thread be verbose |
| 1892 | only if print_thread_events is set. |
| 1893 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform |
| 1894 | about new thread. This is called only from |
| 1895 | linux-thread-db.c:attach_thread, which will take care. |
| 1896 | Remove the verbose parameter. |
| 1897 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. |
| 1898 | |
| 1899 | 2008-01-23 Nick Roberts <nickrob@snap.net.nz> |
| 1900 | |
| 1901 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. |
| 1902 | |
| 1903 | 2008-01-22 Vladimir Prus <vladimir@codesourcery.com> |
| 1904 | |
| 1905 | * breakpoint.c (break_command_really): New parameter |
| 1906 | ignore_count. |
| 1907 | (break_command_1): Pass 0 as |
| 1908 | ignore_count to break_command_really. |
| 1909 | (gdb_breakpoint): Pass ignore_count to |
| 1910 | break_command_really. |
| 1911 | |
| 1912 | 2008-01-21 Kevin Buettner <kevinb@redhat.com> |
| 1913 | |
| 1914 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find |
| 1915 | sigcontext struct via pointer. |
| 1916 | (struct sigframe comment): Update to show new field `psc'. |
| 1917 | |
| 1918 | 2008-01-21 Vladimir Prus <vladimir@codesourcery.com> |
| 1919 | |
| 1920 | * infrun.c (handle_inferior_event): If |
| 1921 | we failed to remove breakpoints, error, |
| 1922 | don't try to increment PC by hand. |
| 1923 | |
| 1924 | 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 1925 | |
| 1926 | Add NetBSD/hppa target and host support. |
| 1927 | |
| 1928 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... |
| 1929 | (hppabsd_gregset): Move to ... |
| 1930 | (hppabsd_regset_from_core_section): Rename |
| 1931 | hppaobsd_regset_from_core_section and move to ... |
| 1932 | (hppabsd_find_global_pointer): Update comment. |
| 1933 | (hppabsd_init_abi): Make global. Do not register |
| 1934 | hppabsd_regset_from_core_section. |
| 1935 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and |
| 1936 | move to ... |
| 1937 | (_initialize_hppabsd_tdep): Move to ... |
| 1938 | * hppaobsd-tdep.c: ... here. New file. |
| 1939 | * hppnbsd-tdep.c: New file. |
| 1940 | * hppnbsd-nat.c: New file. |
| 1941 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. |
| 1942 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. |
| 1943 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. |
| 1944 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. |
| 1945 | * configure.host (hppa*-*-netbsd*): New entry. |
| 1946 | * configure.tgt (hppa*-*-netbsd*): New entry. |
| 1947 | (hppa*-*-openbsd*): Update. |
| 1948 | * NEWS (New native configuration): Mention NetBSD/hppa. |
| 1949 | (New targets): Mention NetBSD/hppa. |
| 1950 | |
| 1951 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
| 1952 | |
| 1953 | * gdbarch.sh (function_list): Add new property bits_big_endian to |
| 1954 | gdbarch structure. |
| 1955 | * gdbarch.{c,h}: Regenerate. |
| 1956 | |
| 1957 | * value.c (struct value): Replace BITS_BIG_ENDIAN by |
| 1958 | gdbarch_bits_big_endian (comment). |
| 1959 | (unpack_field_as_long, modify_field): Likewise. |
| 1960 | * value.h: Likewise (comment). |
| 1961 | * valops.c (value_slice): Likewise. |
| 1962 | * valarith.c (value_subscript, value_bit_index): Likewise. |
| 1963 | * gdbtypes.h (field): Likewise (comment). |
| 1964 | * eval.c (evaluate_subexp_standard): Likewise. |
| 1965 | * dwarf2read.c (dwarf2_add_field): Likewise. |
| 1966 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) |
| 1967 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. |
| 1968 | |
| 1969 | * defs.h (BITS_BIG_ENDIAN): Remove. |
| 1970 | |
| 1971 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
| 1972 | |
| 1973 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate |
| 1974 | function calls. |
| 1975 | * m2-exp.y (yylex): Likewise. |
| 1976 | * objc-exp.y (yylex): Likewise. |
| 1977 | |
| 1978 | * defs.h (DEPRECATED_STREQN): Remove. |
| 1979 | |
| 1980 | 2008-01-17 H.J. Lu <hjl.tools@gmail.com> |
| 1981 | |
| 1982 | * MAINTAINERS: Update my email address. |
| 1983 | |
| 1984 | 2008-01-17 Jim Blandy <jimb@codesourcery.com> |
| 1985 | |
| 1986 | * README: Mention gdbserver/README. |
| 1987 | |
| 1988 | 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1989 | |
| 1990 | * valarith.c (value_binop): Handle BINOP_INTDIV |
| 1991 | for unsigned and signed integers. |
| 1992 | |
| 1993 | 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com> |
| 1994 | |
| 1995 | * s390-tdep.c (s390_gdbarch_init): Set default long double |
| 1996 | type to 128-bit IEEE quad. |
| 1997 | |
| 1998 | 2008-01-17 Joel Brobecker <brobecker@adacore.com> |
| 1999 | |
| 2000 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. |
| 2001 | |
| 2002 | 2008-01-16 Mark Kettenis <kettenis@gnu.org> |
| 2003 | |
| 2004 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
| 2005 | |
| 2006 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
| 2007 | * value.c: All callers changed. |
| 2008 | |
| 2009 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 2010 | |
| 2011 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace |
| 2012 | DEPRECATED_STREQ by its expression. |
| 2013 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. |
| 2014 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) |
| 2015 | (scan_xcoff_symtab): Likewise. |
| 2016 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. |
| 2017 | * f-lang.c (find_common_for_function): Likewise. |
| 2018 | * objc-exp.y (parse_number): Likewise. |
| 2019 | |
| 2020 | * defs.h (DEPRECATED_STREQ): Remove. |
| 2021 | |
| 2022 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 2023 | |
| 2024 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. |
| 2025 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use |
| 2026 | get_frame_arch to get at the current_architecture. Update AM33_MODE |
| 2027 | call. |
| 2028 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. |
| 2029 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current |
| 2030 | architecture. |
| 2031 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. |
| 2032 | |
| 2033 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 2034 | |
| 2035 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as |
| 2036 | parameter. |
| 2037 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. |
| 2038 | |
| 2039 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace |
| 2040 | current_gdbarch by gdbarch. Update caller. |
| 2041 | |
| 2042 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) |
| 2043 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at |
| 2044 | the current architecture. Update calls of |
| 2045 | amd64_native_gregset_supplies_p. |
| 2046 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) |
| 2047 | (amd64bsd_store_inferior_registers): Likewise. |
| 2048 | |
| 2049 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 2050 | |
| 2051 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. |
| 2052 | Replace current_gdbarch by gdbarch. Update caller. |
| 2053 | |
| 2054 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 2055 | |
| 2056 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) |
| 2057 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) |
| 2058 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) |
| 2059 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) |
| 2060 | (stabsect_build_psymtabs): Fix indentation. |
| 2061 | |
| 2062 | 2008-01-15 Michael Snyder <msnyder@specifix.com> |
| 2063 | |
| 2064 | * corelow.c (core_xfer_partial): Comment, cut/paste error. |
| 2065 | |
| 2066 | 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
| 2067 | |
| 2068 | * win32-nat.c (win32_create_inferior): Restore code calling |
| 2069 | CloseHandle on ProcessInformation structure. |
| 2070 | |
| 2071 | 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 2072 | |
| 2073 | * configure.ac: Check for void * as 3 argument of ptrace. |
| 2074 | * configure: regenerate. |
| 2075 | |
| 2076 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
| 2077 | |
| 2078 | * alpha-tdep.c (alpha_heuristic_proc_start) |
| 2079 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace |
| 2080 | current_gdbarch by gdbarch. |
| 2081 | |
| 2082 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the |
| 2083 | current architecture by frame_info. Update alpha_heuristic_proc_start |
| 2084 | call. |
| 2085 | |
| 2086 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use |
| 2087 | get_frame_arch to get at the current architecture by frame_info. Update |
| 2088 | alpha_sigtramp_register_address call. |
| 2089 | |
| 2090 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace |
| 2091 | current_gdbarch by gdbarch. Update caller. |
| 2092 | (convert_to_extended, convert_from_extended): Add endianess parameter |
| 2093 | for comparison. Update caller. |
| 2094 | (arm_extract_return_value, arm_store_return_value): Use |
| 2095 | get_regcache_arch to get at the current architecture. |
| 2096 | |
| 2097 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace |
| 2098 | current_gdbarch by gdbarch. Update caller. |
| 2099 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add |
| 2100 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. |
| 2101 | |
| 2102 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add |
| 2103 | gdbarch as parameter. Update caller. |
| 2104 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace |
| 2105 | current_gdbarch by gdbarch. Update caller. |
| 2106 | |
| 2107 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and |
| 2108 | update caller. Replace current_gdbarch by gdbarch. |
| 2109 | |
| 2110 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at |
| 2111 | the current architecture. Replace current_gdbarch by gdbarch. |
| 2112 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. |
| 2113 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its |
| 2114 | expression. Add gdbarch as parameter and replace current_gdbarch with |
| 2115 | it. Update caller. |
| 2116 | (M6811_TDEP): Remove. |
| 2117 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current |
| 2118 | architecture. |
| 2119 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace |
| 2120 | current_gdbarch by gdbarch. Update caller. |
| 2121 | |
| 2122 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and |
| 2123 | update caller. |
| 2124 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch |
| 2125 | by gdbarch. |
| 2126 | |
| 2127 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update |
| 2128 | caller. Relace current_gdbarch by gdbarch. |
| 2129 | (altivec_register_p, spe_register_p): Likewise. |
| 2130 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as |
| 2131 | parameter. |
| 2132 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of |
| 2133 | altivec_register_p and spe_register_p. |
| 2134 | |
| 2135 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update |
| 2136 | caller. Replace current_gdbarch by gdbarch. |
| 2137 | (score_analyze_prologue): use get_frame_arch to get at the current |
| 2138 | architecture. |
| 2139 | |
| 2140 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. |
| 2141 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace |
| 2142 | current_gdbarch by gdbarch. Update caller. |
| 2143 | (sparc_frame_cache): Use get_frame_arch to get at the current |
| 2144 | architecture. |
| 2145 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of |
| 2146 | sparc_analyze_prologue. |
| 2147 | |
| 2148 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as |
| 2149 | parameter. |
| 2150 | |
| 2151 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
| 2152 | |
| 2153 | * exec.c: #include "arch-utils.h" |
| 2154 | (print_section_info): Use gdbarch_from_bfd to get at the |
| 2155 | current architecture. Replace current_gdbarch. Fix indention. Replace |
| 2156 | deprecated_print_address_numeric by paddress. |
| 2157 | * Makefile.in (exec.o) Add dependency to arch-utils.h. |
| 2158 | |
| 2159 | * valprint.c (val_print_string): Replace |
| 2160 | deprecated_print_address_numeric. |
| 2161 | * tracepoint.c (trace_mention, scope_info): Likewise. |
| 2162 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) |
| 2163 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) |
| 2164 | (maintenance_check_symtabs): Likewise. |
| 2165 | * symfile.c (list_overlays_command): Likewise. |
| 2166 | * stack.c (frame_info, print_block_frame_labels): Likewise. |
| 2167 | * printcmd.c (print_address, print_address_demangle) |
| 2168 | (address_info): Likewise. |
| 2169 | * corefile.c (memory_error): Likewise. |
| 2170 | * infcmd.c (jump_command): Likewise. |
| 2171 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) |
| 2172 | (mention, delete_breakpoint): Likewise. |
| 2173 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. |
| 2174 | * dwarf2read.c (dump_die): Likewise. |
| 2175 | * ada-valprint.c (ada_val_print_1): Likewise. |
| 2176 | * f-valprint.c (f_val_print): Likewise. |
| 2177 | * linux-fork.c (info_forks_command): Likewise. |
| 2178 | * m32r-com.c (m32r_load_section, m32r_load) |
| 2179 | (m32r_upload_command): Likewise. |
| 2180 | |
| 2181 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. |
| 2182 | |
| 2183 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
| 2184 | |
| 2185 | * gdbarch.sh (skip_prologue): Add gdbarch |
| 2186 | as parameter. |
| 2187 | * gdbarch.{c,h}: Regenerate. |
| 2188 | |
| 2189 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. |
| 2190 | * amd64-tdep.c (amd64_skip_prologue): Likewise. |
| 2191 | * avr-tdep.c (avr_skip_prologue): Likewise. |
| 2192 | * cris-tdep.c (cris_skip_prologue): Likewise. |
| 2193 | * frv-tdep.c (frv_skip_prologue): Likewise. |
| 2194 | * h8300-tdep.c (h8300_skip_prologue): Likewise. |
| 2195 | * hppa-tdep.c (hppa_skip_prologue): Likewise. |
| 2196 | * i386-tdep.c (i386_skip_prologue): Likewise. |
| 2197 | * ia64-tdep.c (ia64_skip_prologue): Likewise. |
| 2198 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. |
| 2199 | * m32r-tdep.c (m32r_skip_prologue): Likewise. |
| 2200 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. |
| 2201 | * m68k-tdep.c (m68k_skip_prologue): Likewise. |
| 2202 | * m88k-tdep.c (m88k_skip_prologue): Likewise. |
| 2203 | * mep-tdep.c (mep_skip_prologue): Likewise. |
| 2204 | * mips-tdep.c (mips_skip_prologue): Likewise. |
| 2205 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. |
| 2206 | * mt-tdep.c (mt_skip_prologue): Likewise. |
| 2207 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. |
| 2208 | * score-tdep.c (score_skip_prologue): Likewise. |
| 2209 | * sh64-tdep.c (sh64_skip_prologue): Likewise. |
| 2210 | * sh-tdep.c (sh_skip_prologue): Likewise. |
| 2211 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. |
| 2212 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. |
| 2213 | * spu-tdep.c (spu_skip_prologue): Likewise. |
| 2214 | * v850-tdep.c (v850_skip_prologue): Likewise. |
| 2215 | * vax-tdep.c (vax_skip_prologue): Likewise. |
| 2216 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. |
| 2217 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. |
| 2218 | |
| 2219 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace |
| 2220 | current_gdbarch by gdbarch. |
| 2221 | * m32c-tdep.c (m32c_skip_prologue): Likewise. |
| 2222 | * s390-tdep.c (s390_skip_prologue): Likewise. |
| 2223 | |
| 2224 | 2008-01-10 Doug Evans <dje@google.com> |
| 2225 | |
| 2226 | * defs.h (struct continuation_arg): Fix typo in comment. |
| 2227 | * target.c (target_translate_tls_address): Fix comment spelling error. |
| 2228 | |
| 2229 | 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 2230 | |
| 2231 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. |
| 2232 | (DOUBLEST_SCAN_FORMAT): Likewise. |
| 2233 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. |
| 2234 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. |
| 2235 | * c-exp.y (parse_number): Likewise. |
| 2236 | * jv-exp.y (parse_number): Likewise. |
| 2237 | * objc-exp.y (parse_number): Likewise. |
| 2238 | * p-exp.y (parse_number): Likewise. |
| 2239 | |
| 2240 | 2008-01-09 Joel Brobecker <brobecker@adacore.com> |
| 2241 | |
| 2242 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. |
| 2243 | (check_typedef): Likewise. |
| 2244 | |
| 2245 | 2008-01-09 Luis Machado <luisgpm@br.ibm.com> |
| 2246 | |
| 2247 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and |
| 2248 | seen_double_big_d, treat the new H, D, and DD modifiers as length |
| 2249 | modifiers. |
| 2250 | |
| 2251 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
| 2252 | |
| 2253 | * dwarf2read.c (read_enumeration_type): Add comment. |
| 2254 | |
| 2255 | 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 2256 | |
| 2257 | * config.in: Regenerate. |
| 2258 | |
| 2259 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
| 2260 | |
| 2261 | * ada-lang.c (ada_convert_actual): Renames convert_actual. |
| 2262 | Make non-static. |
| 2263 | (ada_convert_actuals): Delete. |
| 2264 | * ada-lang.h (ada_convert_actual): Add declaration. |
| 2265 | (ada_convert_actuals): Remove declaration. |
| 2266 | * infcall.c: #include "ada-lang.h". |
| 2267 | (value_arg_coerce): Add new parameter sp. Update function |
| 2268 | documetnation. Add handling of Ada function call parameters. |
| 2269 | * Makefile.in (infcall.o): Update dependencies. |
| 2270 | |
| 2271 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
| 2272 | |
| 2273 | * ada-lang.c (ensure_lval): Fix value lval kind. |
| 2274 | (convert_actual): Add handling for arguments passed by reference. |
| 2275 | |
| 2276 | 2008-01-08 Doug Evans <dje@google.com> |
| 2277 | |
| 2278 | * dbxread.c (read_dbx_symtab): Fix indentation. |
| 2279 | |
| 2280 | 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 2281 | |
| 2282 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. |
| 2283 | (valarith.o): Depend on dfp.h. |
| 2284 | (valops.o): Likewise. |
| 2285 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. |
| 2286 | (set_decnumber_context): New function. |
| 2287 | (decimal_check_errors): Likewise. |
| 2288 | (decimal_from_number): Likewise. |
| 2289 | (decimal_to_number): Likewise. |
| 2290 | (decimal_from_string): Use set_decnumber_context and |
| 2291 | decimal_check_errors. |
| 2292 | (decimal_from_integral): New function. |
| 2293 | (decimal_from_floating): Likewise. |
| 2294 | (decimal_to_double): Likewise. |
| 2295 | (promote_decimal): Likewise. |
| 2296 | (decimal_binop): Likewise. |
| 2297 | (decimal_is_zero): Likewise. |
| 2298 | (decimal_compare): Likewise. |
| 2299 | (decimal_convert): Likewise. |
| 2300 | * dfp.h (decimal_from_integral): New prototype. |
| 2301 | (decimal_from_floating): Likewise. |
| 2302 | (decimal_to_double): Likewise. |
| 2303 | (decimal_binop): Likewise. |
| 2304 | (decimal_is_zero): Likewise. |
| 2305 | (decimal_compare): Likewise. |
| 2306 | (decimal_convert): Likewise. |
| 2307 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from |
| 2308 | call to value_from_decfloat. |
| 2309 | * valarith.c: Include dfp.h. |
| 2310 | (value_args_as_decimal): New function. |
| 2311 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. |
| 2312 | (value_logical_not): Likewise. |
| 2313 | (value_equal): Likewise. |
| 2314 | (value_less): Likewise. |
| 2315 | (value_pos): Likewise. |
| 2316 | (value_neg): Formatting fix. |
| 2317 | * valops.c: Include dfp.h. |
| 2318 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. |
| 2319 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. |
| 2320 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. |
| 2321 | (value_from_decfloat): Remove expect_type argument. |
| 2322 | * value.h (value_from_decfloat): Update prototype. |
| 2323 | |
| 2324 | 2008-01-07 Vladimir Prus <vladimir@codesourcery.com> |
| 2325 | |
| 2326 | Ignore change in name of dynamic linker during |
| 2327 | execution on Solaris. This also unbreaks pending breakpoints. |
| 2328 | |
| 2329 | * solist.h (struct target_so_ops): New field same. |
| 2330 | * solib-svr4.c (svr4_same): New. |
| 2331 | (_initialize_svr4_solib): Register svr4_same. |
| 2332 | * solib.c (update_solib_list): Use ops->same, if available. |
| 2333 | |
| 2334 | 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx> |
| 2335 | |
| 2336 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings |
| 2337 | when using MS-DOS paths. |
| 2338 | |
| 2339 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
| 2340 | |
| 2341 | * NEWS: Mention --pid and --core command line behaviour changes. |
| 2342 | |
| 2343 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
| 2344 | |
| 2345 | * main.c (captured_main): Remove 'count' varible and the |
| 2346 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and |
| 2347 | --pid options were issued simultaneously. If an explicit pid |
| 2348 | option was passed, don't fallback to core file. Detect extra |
| 2349 | arguments better in the presence of explicit pid or core |
| 2350 | arguments. |
| 2351 | |
| 2352 | 2008-01-05 Joel Brobecker <brobecker@adacore.com> |
| 2353 | |
| 2354 | * ada-lang.c (ada_which_variant_applies): Correctly compute |
| 2355 | the value of the discriminant when the variant record is packed. |
| 2356 | |
| 2357 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
| 2358 | |
| 2359 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes |
| 2360 | that are used to differentiate homonyms. |
| 2361 | |
| 2362 | 2008-01-04 Jerome Guitton <guitton@adacore.com> |
| 2363 | |
| 2364 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault |
| 2365 | when the type is an anonymous pointer type. |
| 2366 | (ada_check_typedef): Avoid a seg fault when the type is null. |
| 2367 | * ada-typeprint.c (print_array_type): Add support for pointer |
| 2368 | to packed arrays. |
| 2369 | |
| 2370 | 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com> |
| 2371 | |
| 2372 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. |
| 2373 | |
| 2374 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
| 2375 | |
| 2376 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in |
| 2377 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. |
| 2378 | |
| 2379 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
| 2380 | |
| 2381 | * ada-exp.y (chop_separator): New function. |
| 2382 | (write_selectors): Rewrite to re-use chop_separator. |
| 2383 | (ada_nget_field_index, get_symbol_field_type): New functions. |
| 2384 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" |
| 2385 | expressions. |
| 2386 | |
| 2387 | 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 2388 | |
| 2389 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead |
| 2390 | of SYMBOL_VALUE when working with function symbols. |
| 2391 | |
| 2392 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 2393 | |
| 2394 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER |
| 2395 | expressions. These expressions do not need to be rewriten. |
| 2396 | |
| 2397 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 2398 | |
| 2399 | * dwarf2read.c (read_enumeration_type): Flag type as stub if |
| 2400 | the given die is a declaration. |
| 2401 | |
| 2402 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 2403 | |
| 2404 | * ada-lang.c (ada_array_bound_from_type): Make non-static. |
| 2405 | Handle properly the case when the index type is an enumerated type. |
| 2406 | Do not return the subtype of the bounds type, just return the |
| 2407 | bounds type directly - this is not needed and is more consistent |
| 2408 | with what we do for arrays when no XA parallel type exists. |
| 2409 | |
| 2410 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 2411 | |
| 2412 | * ada-lang.c (static_unwrap_type): Add forward declaration. |
| 2413 | (template_to_static_fixed_type): Fields of dynamic types sometimes |
| 2414 | also need to be unwrapped. Take this into account. |
| 2415 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. |
| 2416 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. |
| 2417 | * ada-typeprint.c (ada_print_type): Get the typename from |
| 2418 | the original type, not the base type. |
| 2419 | |
| 2420 | 2008-01-03 Jerome Guitton <guitton@adacore.com> |
| 2421 | |
| 2422 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) |
| 2423 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): |
| 2424 | Update calls to ada_to_fixed_type. |
| 2425 | (ada_template_to_fixed_record_type_1): Ditto, but without looking |
| 2426 | for the tag. |
| 2427 | (ada_to_fixed_type): Add check_tag parameter; do not look for |
| 2428 | tag if null. When looking for a tag, use a fixed record type. |
| 2429 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. |
| 2430 | * ada-valprint.c (printable_val_type, ada_value_print): Update |
| 2431 | calls to ada_to_fixed_type. |
| 2432 | |
| 2433 | 2008-01-03 Luis Machado <luisgpm@br.ibm.com> |
| 2434 | |
| 2435 | * doublest.c (convert_floatformat_to_doublest): Call |
| 2436 | floatformat_to_doublest instead of floatformat_to_double and use |
| 2437 | DOUBLEST variables. |
| 2438 | (convert_doublest_to_floatformat): Call floatformat_from_doublest |
| 2439 | instead of floatformat_from_double and use DOUBLEST variables. |
| 2440 | |
| 2441 | 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 2442 | |
| 2443 | * MAINTAINERS (Write After Approval): Add self. |
| 2444 | |
| 2445 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 2446 | |
| 2447 | * symfile.c (set_initial_language): Make non-static. |
| 2448 | * symfile.h (set_initial_language): Add declaration. |
| 2449 | * language.c: #include "symfile.h". |
| 2450 | (set_language): Call set_initial_language if the frame language |
| 2451 | could not be determined. |
| 2452 | |
| 2453 | 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com> |
| 2454 | |
| 2455 | * eval.c (evaluate_subexp_for_address): Provide frame address to |
| 2456 | locate_var_value only if it will be needed. |
| 2457 | |
| 2458 | 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2459 | |
| 2460 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. |
| 2461 | |
| 2462 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
| 2463 | |
| 2464 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned |
| 2465 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. |
| 2466 | This is needed to make sure that any other treatment applied |
| 2467 | to the resulting value does not fail for spurious reason, |
| 2468 | such as trying to take the address of this value. |
| 2469 | |
| 2470 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
| 2471 | |
| 2472 | * ada-lang.c (ada_value_equal): Dereference reference types when |
| 2473 | comparing arrays. |
| 2474 | |
| 2475 | 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com> |
| 2476 | |
| 2477 | Updated copyright notices for most files. |
| 2478 | |
| 2479 | 2008-01-01 Christopher Faylor <me+gdb@cgf.cx> |
| 2480 | |
| 2481 | * win32-nat.c (psapi_module_handle): Remove static. |
| 2482 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to |
| 2483 | return first module found if base_address is zero. Don't initialize |
| 2484 | psapi function pointers here. Convert to cygwin paths when |
| 2485 | appropriate. |
| 2486 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine |
| 2487 | executable name. Use get_module_name when that fails or when |
| 2488 | !__CYGWIN__. |
| 2489 | (_initialize_psapi): New function. Initialize psapi stuff before it is |
| 2490 | needed or issue a warning if it is not found. Move psapi_module_handle |
| 2491 | here. |
| 2492 | |
| 2493 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 2494 | |
| 2495 | * ada-lang.c (ada_remove_trailing_digits): New function. |
| 2496 | (ada_remove_po_subprogram_suffix): New function. |
| 2497 | (ada_decode): Improve. Move the description of the algorithm |
| 2498 | directly inside the code, instead of in the function global |
| 2499 | description. |
| 2500 | |
| 2501 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 2502 | |
| 2503 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref |
| 2504 | and always print the dereferenced value. |
| 2505 | |
| 2506 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 2507 | |
| 2508 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling |
| 2509 | of the case where the first argument is a reference. |
| 2510 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. |
| 2511 | |
| 2512 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 2513 | |
| 2514 | Implement support for Ada interface types. |
| 2515 | |
| 2516 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. |
| 2517 | (ada_is_ignored_field): Ignore fields that are a dispatch table |
| 2518 | of a tagged type. |
| 2519 | |
| 2520 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 2521 | |
| 2522 | * top.c (print_gdb_version): Update copyright year. |
| 2523 | |
| 2524 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 2525 | |
| 2526 | * ChangeLog-2007: New ChangeLog rotation. |
| 2527 | * ChangeLog: Reset for 2008. |
| 2528 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and |
| 2529 | ChangeLog-2007. |
| 2530 | |
| 2531 | For older changes see ChangeLog-2007. |
| 2532 | \f |
| 2533 | Local Variables: |
| 2534 | mode: change-log |
| 2535 | left-margin: 8 |
| 2536 | fill-column: 74 |
| 2537 | version-control: never |
| 2538 | coding: utf-8 |
| 2539 | End: |