| 1 | 2008-03-17 Pedro Alves <pedro@codesourcery.com> |
| 2 | |
| 3 | * linux-nat.c (linux_nat_filter_event): Fix comment typo. |
| 4 | |
| 5 | 2008-03-17 Pedro Alves <pedro@codesourcery.com> |
| 6 | |
| 7 | * linux-nat.c (linux_nat_filter_event): New, refactored from |
| 8 | linux_nat_wait. |
| 9 | (linux_nat_wait): Call linux_nat_filter_event. |
| 10 | |
| 11 | 2008-03-17 Ulrich Weigand <uweigand@de.ibm.com> |
| 12 | |
| 13 | * top.c (execute_command): Fix uninitialized variable error. |
| 14 | |
| 15 | 2008-03-16 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 16 | |
| 17 | * Makefile.in (amd64nbsd-nat.o): New dependency. |
| 18 | * amd64nbsd-nat.c: Include "nbsd-nat.h". |
| 19 | (_initialize_amd64nbsd_nat): Update target vector to use |
| 20 | nbsd_pid_to_exec_file. |
| 21 | * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o. |
| 22 | |
| 23 | 2008-03-15 Vladimir Prus <vladimir@codesourcery.com> |
| 24 | |
| 25 | Remove ignoring leading exec events code. |
| 26 | * fork-child.c (startup_inferior): Do not set |
| 27 | inferior_ignoring_leading_exec_events. |
| 28 | * inf-child.c (inf_child_reported_exec_events_per_exec_call): Remove. |
| 29 | (inf_child_target): Do not set to_reported_exec_events_per_exec_call. |
| 30 | * infrun.c (inferior_ignoring_leading_exec_events): Remove. |
| 31 | (handle_inferior_event): Remove code for ignoring leading exec |
| 32 | events. |
| 33 | * target.c (update_current_target): Do not inherit, or default, |
| 34 | to_reported_exec_events_per_exec_call. |
| 35 | (debug_to_reported_exec_events_per_exec_call): Remove. |
| 36 | (setup_target_debug): Do not set to_reported_exec_events_per_exec_call. |
| 37 | * target.h (target_reported_exec_events_per_exec_call): Remove. |
| 38 | (struct target): Remove the to_reported_exec_events_per_exec_call |
| 39 | field. |
| 40 | |
| 41 | 2008-03-15 Vladimir Prus <vladimir@codesourcery.com> |
| 42 | |
| 43 | Implement -thread-info. |
| 44 | * gdbthread.h (print_thread_info): Declare. |
| 45 | |
| 46 | * thread.c (print_thread_info): New, extracted |
| 47 | from info_threads_command and adjusted to |
| 48 | work for CLI and MI. |
| 49 | (info_threads_command): Use print_thread_info. |
| 50 | * Makefile.in: Update dependencies. |
| 51 | |
| 52 | * mi/mi-cmds.c (mi_cmds): Specify a handler |
| 53 | for -thread-info. |
| 54 | * mi/mi-cmds.h (mi_cmd_thread_info): Declare. |
| 55 | * mi/mi-main.c (mi_cmd_thread_info): New. |
| 56 | (mi_cmd_list_features): Include 'thread-info'. |
| 57 | |
| 58 | 2008-03-14 Kevin Buettner <kevinb@redhat.com> |
| 59 | |
| 60 | * mips-tdep.c (mips32_scan_prologue): Use the ABI register size |
| 61 | to decide whether to match instruction patterns using "sw" and "sd". |
| 62 | |
| 63 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 64 | |
| 65 | * infcmd.c (jump_command): Postpone disabling stdin until after |
| 66 | the possible query. |
| 67 | |
| 68 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 69 | |
| 70 | * inflow.c (gdb_getpgrp): New. |
| 71 | (gdb_has_a_terminal): Use get_getpgrp. |
| 72 | (terminal_ours_1): If attach_flag is set, don't refetch |
| 73 | inferior_process_group. |
| 74 | |
| 75 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 76 | |
| 77 | * features/library-list.dtd: Allow "section" elements as children |
| 78 | of "library". Add "section" element and describe its attributes. |
| 79 | |
| 80 | * solib-target.c (struct lm_info): Add section_bases member. |
| 81 | (library_list_start_segment): Error out if seen a section element. |
| 82 | (library_list_start_section): New. |
| 83 | (library_list_end_library): New. |
| 84 | (solib_target_free_library_list): Free section_bases. |
| 85 | (section_attributes): New. |
| 86 | (library_children): Make "segment" optional. Add "section" child. |
| 87 | (library_list_children): Register library_list_end_library. |
| 88 | (solib_target_relocate_section_addresses): Handle section bases. |
| 89 | |
| 90 | * NEWS: Mention new qXfer:libraries:read section offsets support. |
| 91 | |
| 92 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 93 | |
| 94 | * defs.h (do_exec_error_cleanups, discard_exec_error_cleanups) |
| 95 | (make_exec_error_cleanup): Remove declarations. |
| 96 | * utils.c (exec_error_cleanup_chain): Remove. |
| 97 | (do_exec_error_cleanups, discard_exec_error_cleanups) |
| 98 | (make_exec_error_cleanup): Remove. |
| 99 | * event-loop.c (start_event_loop): Adjust call to |
| 100 | async_enable_stdin. |
| 101 | * event-top.c (async_enable_stdin): Remove the paramater dummy. |
| 102 | (async_disable_stdin): Don't register async_enable_stdin via |
| 103 | cleanup. |
| 104 | * inf-loop.c (inferior_event_handler): Don't |
| 105 | call do_exec_error_cleanups. Call async_enable_stdin instead. |
| 106 | * event-loop.c (start_event_loop): Adjust call to |
| 107 | async_enable_stdin. |
| 108 | * tui/tui-interp.c (tui_command_loop): Adjust call to |
| 109 | async_enable_stdin. |
| 110 | |
| 111 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 112 | |
| 113 | Async mode fixes. |
| 114 | * Makefile.in (infcmd.o, inf-loop.o): Update dependencies. |
| 115 | * breakpoint.c (bpstat_do_actions): In async mode, |
| 116 | don't jump to top expecting stop_bpstat to be already |
| 117 | updated. |
| 118 | * event-loop.c (start_event_loop): Call async_enable_stdin |
| 119 | on exception. |
| 120 | * event-top.c (async_enable_stdin): Do nothing if sync_execution |
| 121 | is not set. |
| 122 | (command_handler): Do not setup continuation here. |
| 123 | (command_line_handler_continuation): Move to... |
| 124 | * top.c (command_line_handler_continuation): ... here. |
| 125 | (execute_command): In async mode, register continuation. |
| 126 | Don't check frame's language in running in async mode. |
| 127 | * exceptions.c (throw_exception): Don't do exec_error_cleanups. |
| 128 | * inf-loop.c (complete_execution): Inline into... |
| 129 | (inferior_event_handler): ... here. Clear target_executing before |
| 130 | doing any cleanups. Don't try to show prompt if the target was |
| 131 | resumed. |
| 132 | * infcmd.c (signal_command): Add support for async mode. |
| 133 | (finish_command): Only add continuation if the target was |
| 134 | successfully resumed. |
| 135 | * remote.c (init_async_opts): Register to_get_thread_local_address |
| 136 | handler. |
| 137 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Don't mess |
| 138 | with sync_execution. |
| 139 | * tui/tui-interp.c (tui_command_loop): Call async_enable_stdin |
| 140 | on exception. |
| 141 | |
| 142 | 2008-03-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 143 | |
| 144 | * corefile.c (reopen_exec_file): Use exec_bfd_mtime. |
| 145 | * exec.c (exec_bfd_mtime): Define. |
| 146 | (exec_close): Clear it. |
| 147 | (exec_file_attach): Set it. |
| 148 | * gdbcore.h (exec_bfd_mtime): Declare. |
| 149 | * source.c (find_source_lines): Do not use bfd_get_mtime. |
| 150 | |
| 151 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 152 | |
| 153 | * top.c (simplified_command_loop): Remove. |
| 154 | |
| 155 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 156 | |
| 157 | Remove unused remote.c hooks. |
| 158 | * remote.c (deprecated_target_resume_hook) |
| 159 | (deprecated_target_wait_loop_hook): Remove. |
| 160 | (remote_resume): Do not call deprecated_target_resume_hook. |
| 161 | (remote_wait): Do not call deprecated_target_wait_loop_hook. |
| 162 | (remote_async_wait): Likewise. |
| 163 | |
| 164 | 2008-03-14 Vladimir Prus <vladimir@codesourcery.com> |
| 165 | |
| 166 | Implement MI notification for new threads. |
| 167 | * doc/observer.texi (new_thread): Document. |
| 168 | * observer.sh: Forward declare struct thread_info. |
| 169 | * thread.c (add_thread): Notify observer. |
| 170 | |
| 171 | * interps.h (interp_init_ftype): New parameter |
| 172 | top_level. |
| 173 | (interp_set): Likewise. |
| 174 | (top_level_interpreter_data): Declare. |
| 175 | * interps.c (interp_set): New parameter top_level. |
| 176 | Pass it to interpreter's init function. Remember |
| 177 | top level interpreter. |
| 178 | (interpreter_exec_cmd): Adjust. |
| 179 | (top_level_interpreter_data): New. |
| 180 | * main.c (captured_main): Pass 1 for top_level |
| 181 | parameter of interp_set. |
| 182 | * cli/cli-interp.c (cli_interpreter_init): New |
| 183 | parameter top_level. |
| 184 | * tui/tui-interp.c (tui_init): New parameter top_level. |
| 185 | |
| 186 | * mi/mi-interp.c (mi_new_thread): New. |
| 187 | (mi_interpreter_init): If top level, register |
| 188 | observer for new threads. |
| 189 | |
| 190 | * Makefile.in (mi-interp.o, thread.o): Update dependencies. |
| 191 | |
| 192 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 193 | |
| 194 | * top.c (execute_command): Disable break and stop |
| 195 | commands in async mode. |
| 196 | |
| 197 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 198 | |
| 199 | revert: |
| 200 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 201 | * inf-loop.c (inferior_event_handler): Don't include remote.h. |
| 202 | Call target_stop in the INF_QUIT_REQ case. |
| 203 | * Makefile.in (inf-loop.o): Update. |
| 204 | |
| 205 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 206 | |
| 207 | * inf-loop.c (inferior_event_handler): Don't include remote.h. |
| 208 | Call target_stop in the INF_QUIT_REQ case. |
| 209 | * Makefile.in (inf-loop.o): Update. |
| 210 | |
| 211 | 2008-03-14 Pedro Alves <pedro@codesourcery.com> |
| 212 | |
| 213 | * top.c (execute_command): Enable break, info and interrupt |
| 214 | commands in async mode. |
| 215 | |
| 216 | 2008-03-13 Vladimir Prus <vladimir@codesourcery.com> |
| 217 | Daniel Jacobowitz <dan@codesourcery.com> |
| 218 | |
| 219 | * breakpoint.h (breakpoint_restore_shadows): New |
| 220 | declaration. |
| 221 | * breakpoint.c (breakpoint_restore_shadows): New. |
| 222 | (read_memory_nobpt): Delete. |
| 223 | * gdbcore.h (read_memory_nobpt): Delete declaration. |
| 224 | * target.c (memory_xfer_partial): Call |
| 225 | breakpoint_restore_shadows. |
| 226 | (restore_show_memory_breakpoints) |
| 227 | (make_show_memory_beakpoints_cleanup): New. |
| 228 | (show_memory_breakpoints): New. |
| 229 | * target.h (make_show_memory_beakpoints_cleanup): Declare. |
| 230 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): |
| 231 | Make sure we see memory breakpoints when checking if |
| 232 | breakpoint is still there. |
| 233 | * alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c, |
| 234 | hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c, |
| 235 | m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c, |
| 236 | sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt. |
| 237 | |
| 238 | 2008-03-12 Pedro Alves <pedro@codesourcery.com> |
| 239 | |
| 240 | * thread.c (add_thread): Use printf_unfiltered to print. |
| 241 | |
| 242 | 2008-03-12 Joel Brobecker <brobecker@gnat.com> |
| 243 | |
| 244 | * sol-thread.c: Replace use of TM_I386SOL2_H by an expression |
| 245 | that is true only on x86-solaris and x86_64-solaris. |
| 246 | * procfs.c: Likewise. Move procfs_find_LDT_entry up together |
| 247 | with proc_get_LDT_entry. |
| 248 | |
| 249 | 2008-03-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 250 | |
| 251 | * configure.ac (AC_CHECK_FUNCS): Add check for setsid. |
| 252 | * config.in, configure: Regenerate. |
| 253 | * fork-child.c (fork_inferior): Call create_tty_session. |
| 254 | * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY. |
| 255 | (create_tty_session): New function. |
| 256 | * terminal.h: Declare create_tty_session. |
| 257 | |
| 258 | 2008-03-12 Alan Modra <amodra@bigpond.net.au> |
| 259 | |
| 260 | PR 5900 |
| 261 | * elfread.c (elf_symtab_read): Make shndx an unsigned int. |
| 262 | * mipsread.c: Include elf/internal.h. |
| 263 | (read_alphacoff_dynamic_symtab): Map external reserved sym_shndx |
| 264 | to internal range. |
| 265 | |
| 266 | 2008-03-11 Markus Deuling <deuling@de.ibm.com> |
| 267 | |
| 268 | * win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch |
| 269 | to get at the current architecture and at the target specific vector. |
| 270 | Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and |
| 271 | remove define of I387_ST0_REGNUM. |
| 272 | |
| 273 | * amd64-tdep.c (I387_ST0_REGNUM): Remove define. |
| 274 | |
| 275 | (amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to |
| 276 | get at the current architecture |
| 277 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as |
| 278 | parameter. |
| 279 | |
| 280 | * i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM, |
| 281 | I387_NUM_XMM_REGS and I387_MM0_REGNUM. |
| 282 | |
| 283 | (I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM, |
| 284 | I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM, |
| 285 | (I387_FSTAT_REGNUM): Add target specific vector as parameter. |
| 286 | |
| 287 | (i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get |
| 288 | at the target specific vector. |
| 289 | |
| 290 | (i386_get_longjmp_target): Use get_frame_arch to get at the current |
| 291 | architecture. Use gdbarch_tdep to get at the target specific vector. |
| 292 | |
| 293 | (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and |
| 294 | update caller. Use gdbarch_tdep to get at the target specific vector. |
| 295 | |
| 296 | (i386_register_to_value: Use get_frame_arch to get at the current |
| 297 | architecture. |
| 298 | |
| 299 | * i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as |
| 300 | parameter. |
| 301 | |
| 302 | * i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, |
| 303 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM |
| 304 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR, |
| 305 | FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter. |
| 306 | |
| 307 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and |
| 308 | undef's. |
| 309 | |
| 310 | (i387_convert_register_p, i387_register_to_value, |
| 311 | i387_value_to_register): Update call for i386_fp_regnum_p. |
| 312 | |
| 313 | * i387-tdep.h: Remove comment. |
| 314 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define. |
| 315 | (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, |
| 316 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM, |
| 317 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM, |
| 318 | I387_MXCSR_REGNUM): Add target specific vector as parameter. |
| 319 | |
| 320 | 2008-03-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 321 | |
| 322 | * Makefile.in (fork-child.o): Update. |
| 323 | * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper |
| 324 | argument. Gather all gdbserver features together. |
| 325 | * fork-child.c (exec_wrapper): New variable. |
| 326 | (fork_inferior): Use it. |
| 327 | (startup_inferior): Skip an extra trap if using "set exec-wrapper". |
| 328 | (unset_exec_wrapper_command, _initialize_fork_child): New. |
| 329 | |
| 330 | 2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> |
| 331 | |
| 332 | * source.c (directory_command): Modify the determination of |
| 333 | condition of terminal "from_tty". |
| 334 | |
| 335 | 2008-03-10 Matt Rice <ratmice@gmail.com> |
| 336 | |
| 337 | * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC. |
| 338 | |
| 339 | 2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> |
| 340 | |
| 341 | * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end |
| 342 | of the data passing to strtoulst function. |
| 343 | (info_spu_signal_command): Likewise. |
| 344 | |
| 345 | 2008-03-08 Vladimir Prus <vladimir@codesourcery.com> |
| 346 | |
| 347 | * mi/mi-interp.c (mi_command_loop): Remove |
| 348 | commented-out code. |
| 349 | |
| 350 | 2008-03-07 Joel Brobecker <brobecker@adacore.com> |
| 351 | |
| 352 | * remote.c (extended_remote_attach_1): Make local variable pid an int |
| 353 | instead of a pid_t. |
| 354 | |
| 355 | 2008-03-07 Joel Brobecker <brobecker@adacore.com> |
| 356 | |
| 357 | * solib-svr4.c (svr4_same_1): New function, originally extracted |
| 358 | from svr4_same and expanded to handle the sparc64 case. |
| 359 | (svr4_same): Move up and reimplement using svr4_same_1. |
| 360 | (enable_break): Use svr4_same_1 to do shared library name comparisons. |
| 361 | |
| 362 | 2008-03-07 Ramana Radhakrishnan <ramana.r@gmail.com> |
| 363 | |
| 364 | * MAINTAINERS: Move self to Paper trail. |
| 365 | |
| 366 | 2008-03-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 367 | |
| 368 | * Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update. |
| 369 | * event-loop.c (call_async_signal_handler): New. |
| 370 | * event-loop.h (call_async_signal_handler) |
| 371 | (gdb_call_async_signal_handler): Declare. |
| 372 | (mark_async_signal_handler): Add comments. |
| 373 | * event-top.c (handle_sigint): Use gdb_call_async_signal_handler. |
| 374 | * mingw-hdep.c (sigint_event, sigint_handler): New. |
| 375 | (gdb_select): Use them. Wait for the readline signal handler |
| 376 | to finish. |
| 377 | (gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions. |
| 378 | * posix-hdep.c (gdb_call_async_signal_handler): New function. |
| 379 | * remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt): |
| 380 | New. |
| 381 | (remote_fileio_ctrl_c_signal_handler): Use |
| 382 | gdb_call_async_signal_handler. |
| 383 | (initialize_remote_fileio): Initialize sigint_fileio_token. |
| 384 | * remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do |
| 385 | not initialize tokens here. |
| 386 | (handle_remote_sigint_twice): Likewise. Reinstall |
| 387 | handle_remote_sigint. |
| 388 | (async_remote_interrupt_twice): Just call interrupt_query. |
| 389 | (cleanup_sigint_signal_handler): Do not delete tokens. |
| 390 | (remote_interrupt, remote_interrupt_twice): Use |
| 391 | gdb_call_async_signal_handler. |
| 392 | (interrupt_query): Reinstall the default signal handler. |
| 393 | (_initialize_remote): Initialize tokens here. |
| 394 | |
| 395 | 2008-03-04 Joel Brobecker <brobecker@adacore.com> |
| 396 | |
| 397 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml, |
| 398 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: |
| 399 | Change the type of the lr register to code_ptr. |
| 400 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, |
| 401 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, |
| 402 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, |
| 403 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, |
| 404 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, |
| 405 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, |
| 406 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate. |
| 407 | |
| 408 | 2008-03-03 James E. Wilson <wilson@tuliptree.org> |
| 409 | |
| 410 | * MAINTAINERS: Update my email address. |
| 411 | |
| 412 | 2008-03-03 Keith Seitz <keiths@redhat.com> |
| 413 | |
| 414 | From Dave Murphy <davem@devkitpro.org>: |
| 415 | * configure.ac: Set tcl configdir to win under mingw. |
| 416 | * configure: Regenerate. |
| 417 | |
| 418 | 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 419 | |
| 420 | * breakpoint.c (fetch_watchpoint_value): New function. |
| 421 | (update_watchpoint): Set and clear val_valid. Use |
| 422 | fetch_watchpoint_value. Handle unreadable values on the |
| 423 | value chain. Correct check for user-requested array watchpoints. |
| 424 | (breakpoint_init_inferior): Clear val_valid. |
| 425 | (watchpoint_value_print): New function. |
| 426 | (print_it_typical): Use it. Do not free or clear old_val. Print |
| 427 | watchpoints even if old_val == NULL. |
| 428 | (watchpoint_check): Use fetch_watchpoint_value. Check for values |
| 429 | becoming readable or unreadable. |
| 430 | (watch_command_1): Use fetch_watchpoint_value. Set val_valid. |
| 431 | (do_enable_watchpoint): Likewise. |
| 432 | * breakpoint.h (struct breakpoint): Update comment for val. Add |
| 433 | val_valid. |
| 434 | * NEWS: Mention watchpoints on inaccessible memory. |
| 435 | |
| 436 | 2007-02-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 437 | |
| 438 | * Makefile.in (i386-nat.o): Update. |
| 439 | * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call |
| 440 | i386_use_watchpoints. |
| 441 | * i386-linux-nat.c (_initialize_i386_linux_nat): Call |
| 442 | i386_use_watchpoints. |
| 443 | * i386-nat.c (i386_stopped_data_address): Take two arguments. |
| 444 | (i386_stopped_by_watchpoint): Update call. |
| 445 | (i386_can_use_hw_breakpoint, i386_use_watchpoints): New. |
| 446 | * config/i386/nm-i386.h: Conditionalize definitions on |
| 447 | ! I386_WATCHPOINTS_IN_TARGET_VECTOR. |
| 448 | (i386_use_watchpoints): Declare. |
| 449 | (i386_stopped_data_address): Update. |
| 450 | * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. |
| 451 | * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. |
| 452 | |
| 453 | 2008-02-29 Joel Brobecker <brobecker@adacore.com> |
| 454 | |
| 455 | GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC) |
| 456 | * version.in: Bump version to 6.8.50.20080229-cvs. |
| 457 | |
| 458 | 2008-02-28 Markus Deuling <deuling@de.ibm.com> |
| 459 | |
| 460 | * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING |
| 461 | properly. |
| 462 | |
| 463 | 2008-02-28 Tom Tromey <tromey@redhat.com> |
| 464 | |
| 465 | * infcmd.c (notice_args_read): Print result of get_inferior_args. |
| 466 | |
| 467 | 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 468 | |
| 469 | * infcmd.c (kill_if_already_running): Make static. Use |
| 470 | target_require_runnable. |
| 471 | * target.c (target_require_runnable): New. |
| 472 | * target.h (target_require_runnable): Declare. |
| 473 | |
| 474 | 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 475 | |
| 476 | * frame.c (reinit_frame_cache): Only annotate if frames were |
| 477 | previously valid. |
| 478 | |
| 479 | 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 480 | |
| 481 | * regformats/reg-ppc.dat: Rename "ps" to "msr". |
| 482 | * regformats/reg-ppc64.dat: Likewise. |
| 483 | |
| 484 | 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 485 | |
| 486 | * features/Makefile (%.dat): Emit xmltarget statement. |
| 487 | |
| 488 | * regformats/regdat.sh: Support xmltarget and xmlarch statments. |
| 489 | Generate code to set gdbserver_xmltarget in init_registers_${name}. |
| 490 | |
| 491 | * regformats/arm-with-iwmmxt.dat: Regenerate. |
| 492 | * regformats/mips64-linux.dat: Regenerate. |
| 493 | * regformats/mips-linux.dat: Regenerate. |
| 494 | * regformats/rs6000/powerpc-32.dat: Regenerate. |
| 495 | * regformats/rs6000/powerpc-64.dat: Regenerate. |
| 496 | * regformats/rs6000/powerpc-e500.dat: Regenerate. |
| 497 | |
| 498 | * regformats/reg-arm.dat: Add xmlarch statement. |
| 499 | * regformats/reg-i386.dat: Likewise. |
| 500 | * regformats/reg-i386-linux.dat: Likewise. |
| 501 | * regformats/reg-x86-64-linux.dat: Likewise. |
| 502 | * regformats/reg-spu.dat: Likewise. |
| 503 | |
| 504 | 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 505 | |
| 506 | * remote.c (remote_wait, remote_async_wait): Stop if we receive |
| 507 | an error. |
| 508 | |
| 509 | 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 510 | |
| 511 | * utils.c (debug_timestamp): New. |
| 512 | (vfprintf_unfiltered): Print timestamps if requested. |
| 513 | (show_debug_timestamp): New. |
| 514 | (initialize_utils): Register "set debug timestamp". |
| 515 | * NEWS: Mention "set debug timestamp". Add GDB 6.8 section. |
| 516 | |
| 517 | 2008-02-27 Joel Brobecker <brobecker@adacore.com> |
| 518 | |
| 519 | * breakpoint.c (skip_prologue_sal): New function. |
| 520 | (resolve_sal_pc): Adjust SAL past prologue if the SAL was |
| 521 | computed from a line number. |
| 522 | |
| 523 | 2008-02-27 Joel Brobecker <brobecker@adacore.com> |
| 524 | |
| 525 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml |
| 526 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: |
| 527 | Set PC register type to "code_ptr". |
| 528 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, |
| 529 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, |
| 530 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, |
| 531 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, |
| 532 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, |
| 533 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, |
| 534 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: |
| 535 | Regenerate. |
| 536 | |
| 537 | 2008-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 538 | |
| 539 | * regformats/regdat.sh: Rename init_registers function in |
| 540 | generated file to init_registers_${name}. |
| 541 | |
| 542 | * regformats/reg-crisv32.dat: Set "name" to crisv32. |
| 543 | * regformats/reg-ppc64.dat: Set "name" to ppc64. |
| 544 | * regformats/reg-s390x.dat: Set "name" to s390x. |
| 545 | |
| 546 | 2008-02-26 Greg Law <glaw@undo-software.com> |
| 547 | |
| 548 | * regcache.c (registers_changed): Call reinit_frame_cache. |
| 549 | |
| 550 | 2008-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
| 551 | |
| 552 | * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o. |
| 553 | * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver |
| 554 | and svr4_fetch_objfile_link_map. |
| 555 | * Makefile.in (sh-linux-tdep.o): Update. |
| 556 | |
| 557 | 2008-02-26 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 558 | |
| 559 | * amd64-tdep.c (amd64_classify): Add support for decimal float |
| 560 | types. |
| 561 | * i386-tdep.c (i386_return_value): Make 128-bit decimal float |
| 562 | use the struct return convention. |
| 563 | |
| 564 | 2008-02-26 Nick Roberts <nickrob@snap.net.nz> |
| 565 | |
| 566 | * breakpoint.c (print_one_breakpoint_location): Revert Enb field |
| 567 | to old format. Discard breakpoint address if shared library is |
| 568 | unloaded. |
| 569 | (breakpoint_1): Adjust formatting of table header accordingly. |
| 570 | |
| 571 | 2008-02-25 Vladimir Prus <vladimir@codesourcery.com> |
| 572 | |
| 573 | * remote.c (remote_get_threadlist): If the response |
| 574 | is empty, don't try to parse it. |
| 575 | |
| 576 | 2008-02-23 Vladimir Prus <vladimir@codesourcery.com> |
| 577 | |
| 578 | Unbreak 'target async'. |
| 579 | * serial.c (serial_async): Set the |
| 580 | handler function before enabling async |
| 581 | mode. |
| 582 | |
| 583 | 2008-02-22 Daniel Jacobowitz <dan@codesourcery.com> |
| 584 | |
| 585 | * solib-svr4.c (enable_break): Convert r_brk to a code address. |
| 586 | |
| 587 | 2008-02-21 Pedro Alves <pedro@codesourcery.com> |
| 588 | |
| 589 | * remote.c (extended_remote_attach_1): Set attach_flag. |
| 590 | (extended_remote_create_inferior_1): Clear attach_flag. |
| 591 | |
| 592 | 2008-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 593 | |
| 594 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set |
| 595 | r_brk_offset. |
| 596 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. |
| 597 | * solib-svr4.c (solib_svr4_r_brk): New. |
| 598 | (open_symbol_file_object, svr4_current_sos): Always check the |
| 599 | debug base. |
| 600 | (svr4_fetch_objfile_link_map): Do not set debug_base. |
| 601 | (enable_break): Use r_brk if it is set. |
| 602 | (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. |
| 603 | (svr4_lp64_fetch_link_map_offsets): Likewise. |
| 604 | * solib-svr4.h (struct link_map_offsets): Add r_brk_offset. |
| 605 | |
| 606 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
| 607 | Mark Kettenis <kettenis@gnu.org> |
| 608 | |
| 609 | * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by |
| 610 | trad_frame_saved_reg. |
| 611 | (trad-frame.h): New include. |
| 612 | |
| 613 | (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs |
| 614 | instead of frame_obstack_zalloc. |
| 615 | (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. |
| 616 | |
| 617 | * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h. |
| 618 | |
| 619 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
| 620 | |
| 621 | * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess |
| 622 | from disassemble_info instead of gdbarch_byte_order. |
| 623 | |
| 624 | * mips-tdep.c (gdb_print_insn_mips): Likewise. |
| 625 | * arm-tdep.c (gdb_print_insn_arm): Likewise. |
| 626 | |
| 627 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
| 628 | |
| 629 | * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add |
| 630 | gdbarch as parameter. |
| 631 | |
| 632 | * gdbarch.{c,h}: Regenerate. |
| 633 | |
| 634 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as |
| 635 | parameter. |
| 636 | * mem-break.c (default_memory_insert_breakpoint) |
| 637 | (default_memory_remove_breakpoint): Likewise. |
| 638 | * target.h (default_memory_remove_breakpoint) |
| 639 | (default_memory_insert_breakpoint): Likewise. |
| 640 | |
| 641 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as |
| 642 | parameter. Replace current_gdbarch by gdbarch. |
| 643 | * m32r-tdep.c (m32r_memory_insert_breakpoint) |
| 644 | (m32r_memory_remove_breakpoint): Likewise. |
| 645 | |
| 646 | 2008-02-19 Daniel Jacobowitz <dan@codesourcery.com> |
| 647 | |
| 648 | * MAINTAINERS: Add Vladimir Prus as MI maintainer. |
| 649 | |
| 650 | 2008-02-19 Joel Brobecker <brobecker@adacore.com> |
| 651 | |
| 652 | * NEWS: Add entry describing Add support improvements. |
| 653 | |
| 654 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 655 | |
| 656 | * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by |
| 657 | M68K_FP0_REGNUM. |
| 658 | |
| 659 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 660 | |
| 661 | * sentinel-frame.c (sentinel_frame_prev_register): Do not call |
| 662 | register_offset_hack anymore. |
| 663 | |
| 664 | * regcache.{c,h} (register_offset_hack): Remove. |
| 665 | |
| 666 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 667 | |
| 668 | * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter. |
| 669 | |
| 670 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace |
| 671 | current_gdbarch by gdbarch. |
| 672 | (hppa64_hpux_find_global_pointer): Likewise. |
| 673 | * hppa-tdep.c (hppa_find_global_pointer): Likewise. |
| 674 | (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for |
| 675 | find_global_pointer. |
| 676 | |
| 677 | * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as |
| 678 | parameter. |
| 679 | * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. |
| 680 | |
| 681 | * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead |
| 682 | of gdbarch_num_regs. |
| 683 | |
| 684 | * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and |
| 685 | replace current_gdbarch by gdbarch. |
| 686 | (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr. |
| 687 | |
| 688 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 689 | |
| 690 | * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter |
| 691 | and replace current_gdbarch by gdbarch. |
| 692 | |
| 693 | (store_register): Update call for exec_one_dummy_insn. |
| 694 | (fetch_register, store_register): Update call of regmap. |
| 695 | |
| 696 | * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as |
| 697 | parameter and replace current_gdbarch by gdbarch. |
| 698 | |
| 699 | (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at |
| 700 | the current architecture. Update call for getregs_supplies and |
| 701 | getfpregs_supplies. |
| 702 | (ppcnbsd_fetch_inferior_registers): Likewise. |
| 703 | |
| 704 | * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and |
| 705 | replace current_gdbarch by gdbarch. |
| 706 | (ppcobsd_fetch_registers, ppcobsd_store_registers): Use |
| 707 | get_regcache_arch to get at the current architecture. Update call for |
| 708 | getfpregs_supplies. |
| 709 | |
| 710 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
| 711 | |
| 712 | * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch |
| 713 | variables. |
| 714 | |
| 715 | 2008-02-15 Markus Deuling <deuling@de.ibm.com> |
| 716 | |
| 717 | * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. |
| 718 | |
| 719 | 2008-02-14 Vladimir Prus <vladimir@codesourcery.com> |
| 720 | |
| 721 | * NEWS: Mention pending breakpints in MI. |
| 722 | |
| 723 | 2008-02-14 Markus Deuling <deuling@de.ibm.com> |
| 724 | |
| 725 | * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o. |
| 726 | |
| 727 | 2008-02-13 Markus Deuling <deuling@de.ibm.com> |
| 728 | |
| 729 | Add script to build and test GDB using enable-targets=all. |
| 730 | |
| 731 | * gdb_buildall.sh: New file. |
| 732 | |
| 733 | 2008-02-11 Maxim Grigoriev <maxim2405@gmail.com> |
| 734 | |
| 735 | * NEWS (New native configurations): Xtensa GNU/Linux. |
| 736 | (New targets): Xtensa GNU/Linux. |
| 737 | * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and |
| 738 | xtensa-linux-tdep.o |
| 739 | (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c |
| 740 | (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. |
| 741 | * configure.tgt (xtensa*-*-linux*): New entry. |
| 742 | * xtensa-config.c (xtensa_tdep): New variable. |
| 743 | (xtensa_config_byte_order, xtensa_config_tdep): Removed. |
| 744 | (rmap): Change format based on new macro XTREG. |
| 745 | (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. |
| 746 | * xtensa-linux-nat.c: New. |
| 747 | * xtensa-linux-tdep.c: New. |
| 748 | * xtensa-xtregs.c: New. |
| 749 | * xtensa-tdep.h (xtensa_elf_gregset_t): Update. |
| 750 | (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) |
| 751 | (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. |
| 752 | (xtensa_register_t): New field coprocessor. |
| 753 | (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. |
| 754 | * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. |
| 755 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): |
| 756 | Update to handle privileged registers. |
| 757 | (xtensa_supply_gregset) Remove exccause and excvaddr registers. |
| 758 | (xtensa_push_dummy_call): Set windowstart register correctly. |
| 759 | (call0_analyze_prologue): Initialize xtensa_default_isa. |
| 760 | (xtensa_derive_tdep): New. |
| 761 | (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and |
| 762 | xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. |
| 763 | Call xtensa_derive_tdep(). |
| 764 | * config/xtensa/linux.mh: New. |
| 765 | * regformats/reg-xtensa.dat: New. |
| 766 | |
| 767 | 2008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change) |
| 768 | |
| 769 | * corelow.c (core_open): Use IS_ABSOLUTE_PATH. |
| 770 | (filenames.h): New include. |
| 771 | * Makefile.in (corelow.o): Add dependency for filenames.h. |
| 772 | |
| 773 | 2008-02-08 Doug Evans <dje@google.com> |
| 774 | |
| 775 | * source.c (find_and_open_source): Always rewrite absolute filenames. |
| 776 | |
| 777 | 2008-02-07 Doug Evans <dje@google.com> |
| 778 | |
| 779 | * breakpoint.c: #include "hashtab.h". |
| 780 | (ambiguous_names_p): New fn. |
| 781 | (update_breakpoint_locations): When restoring bp enable status, don't |
| 782 | compare function names if any functions have same name. |
| 783 | * Makefile.in (breakpoint.o): Add hashtab.h dependency. |
| 784 | |
| 785 | 2008-02-07 Joel Brobecker <brobecker@adacore.com> |
| 786 | |
| 787 | * ada-lang.c (symbol_completion_add): Make SV parameter a VEC** |
| 788 | instead of just a VEC*. Update use of SV. |
| 789 | (ada_make_symbol_completion_list): Update symbol_completion_add calls. |
| 790 | |
| 791 | 2007-02-07 Joel Brobecker <brobecker@adacore.com> |
| 792 | |
| 793 | * NEWS: Put all new commands since gdb-6.7 together. |
| 794 | |
| 795 | 2007-02-07 Joel Brobecker <brobecker@adacore.com> |
| 796 | |
| 797 | * ada-lang.c: #include "vec.h". |
| 798 | (struct string_vector, new_string_vector, string_vector_append): |
| 799 | Delete. |
| 800 | (char_ptr): New typedef. |
| 801 | (DEF_VEC_P (char_ptr)): New VEC type. |
| 802 | (symbol_completion_add): Update profile to take the new VEC type |
| 803 | instead of the old string_vector structure. Update code accordingly. |
| 804 | (ada_make_symbol_completion_list): Use the new VEC type instead of |
| 805 | the old string_vector structure, and update the code accordingly. |
| 806 | * Makefile.in (ada-lang.o): Add dependency on vec.h. |
| 807 | |
| 808 | 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr> |
| 809 | |
| 810 | * p-exp.y: Set current_type in missing places. |
| 811 | (leftdiv_is_integer): New static variable. |
| 812 | Typecast right operand of BINOP_DIV to long_double if both operands |
| 813 | are integers. |
| 814 | |
| 815 | 2008-02-06 Maciej W. Rozycki <macro@mips.com> |
| 816 | |
| 817 | * remote-mips.c (set_breakpoint): Rename to... |
| 818 | (mips_set_breakpoint): ... this. |
| 819 | (clear_breakpoint): Rename to... |
| 820 | (mips_clear_breakpoint): ... this. |
| 821 | (common_breakpoint): Rename to... |
| 822 | (mips_common_breakpoint): ... this. |
| 823 | (check_lsi_error): Rename to... |
| 824 | (mips_check_lsi_error): ... this. |
| 825 | |
| 826 | 2007-02-05 Joel Brobecker <brobecker@adacore.com> |
| 827 | |
| 828 | * language.h (struct language_defn): Add new field |
| 829 | la_make_symbol_completion_list. |
| 830 | * symtab.c (default_make_symbol_completion_list): Renames |
| 831 | make_symbol_completion_list. |
| 832 | (make_symbol_completion_list): New function. |
| 833 | * symtab.h (default_make_symbol_completion_list): Add declaration. |
| 834 | * langauge.c (unknown_language): Set la_make_symbol_completion_list. |
| 835 | (auto_language, local_language): Likewise. |
| 836 | * objc-lang.c (objc_language_defn): Likewise. |
| 837 | * scm-lang.c (scm_language_defn): Likewise. |
| 838 | * m2-lang.c (m2_language_defn): Likewise. |
| 839 | * f-lang.c (f_language_defn): Likewise. |
| 840 | * jv-lang.c (java_language_defn): Likewise. |
| 841 | * p-lang.c (pascal_language_defn): Likewise. |
| 842 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn) |
| 843 | (minimal_language_defn): Likewise. |
| 844 | * ada-lang.c (struct string_vector): New structure. |
| 845 | (new_string_vector, string_vector_append, ada_unqualified_name) |
| 846 | (add_angle_brackets, symbol_completion_match, symbol_completion_add) |
| 847 | (ada_make_symbol_completion_list): New functions. |
| 848 | (ada_language_defn): Set la_make_symbol_completion_list. |
| 849 | * ada-lang.h (ada_make_symbol_completion_list): Remove declaration, |
| 850 | this function is static. |
| 851 | |
| 852 | 2008-02-05 Kevin Buettner <kevinb@redhat.com> |
| 853 | |
| 854 | * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer |
| 855 | to account for call site optimizations. |
| 856 | |
| 857 | 2008-02-05 Andrzej Zaborowski <balrogg@gmail.com> |
| 858 | |
| 859 | * tracepoint.c (read_actions): Handle end-of-text indicator |
| 860 | in action list properly. (Committed by Jim Blandy) |
| 861 | |
| 862 | 2008-02-05 Jim Blandy <jimb@red-bean.com> |
| 863 | |
| 864 | * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a |
| 865 | pseudoregister, not an internal error. |
| 866 | Reported by: Andrzej Zaborowski |
| 867 | |
| 868 | 2008-02-04 Vladimir Prus <vladimir@codesourcery.com> |
| 869 | |
| 870 | * varobj.c (c_value_of_variable): Use xstrdup. |
| 871 | |
| 872 | 2008-02-04 Vladimir Prus <vladimir@codesourcery.com> |
| 873 | |
| 874 | Update stored rendition of varobj value when format changes. |
| 875 | * varobj.c (varobj_set_display_format): Recomputed |
| 876 | print_value. |
| 877 | (c_value_of_variable): Return print_value. |
| 878 | |
| 879 | 2008-02-03 Doug Evans <dje@google.com> |
| 880 | |
| 881 | * eval.c (evaluate_subexp_standard): Fix type of result of mixed |
| 882 | integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. |
| 883 | * valops.c (value_one): New function. |
| 884 | * value.h (value_one): Declare. |
| 885 | |
| 886 | Fix argument promotion for binary arithmetic ops for C. |
| 887 | * valarith.c (unop_result_type): New fn. |
| 888 | (binop_result_type): New fn. |
| 889 | (value_binop): Move result type computation to binop_result_type. |
| 890 | (value_pos, value_neg, value_complement): Move result type |
| 891 | computation to unop_result_type. |
| 892 | |
| 893 | PR 2384 |
| 894 | * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. |
| 895 | Return basetype, fieldno if found. All callers updated. |
| 896 | Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different |
| 897 | objfile. |
| 898 | * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. |
| 899 | * symfile.h (fill_in_vptr_fieldno): Delete. |
| 900 | |
| 901 | 2008-02-02 Doug Evans <dje@google.com> |
| 902 | |
| 903 | * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero. |
| 904 | |
| 905 | * typeprint.c (*): Whitespace cleanup. |
| 906 | |
| 907 | 2008-02-02 Mark Kettenis <kettenis@gnu.org> |
| 908 | Luis Machado <luisgpm@br.ibm.com> |
| 909 | Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 910 | |
| 911 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that |
| 912 | don't fit into registerson the stack the way GCC does. |
| 913 | |
| 914 | 2008-02-01 Joel Brobecker <brobecker@adacore.com> |
| 915 | |
| 916 | * symtab.c (symbol_set_names): Do not add an entry in the demangling |
| 917 | hash table for Ada symbols. Just store the linkage name as is, |
| 918 | and leave the demangled_name as NULL. |
| 919 | |
| 920 | 2007-02-01 Joel Brobecker <brobecker@adacore.com> |
| 921 | |
| 922 | * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms |
| 923 | in the global scope. |
| 924 | (new_symbol): Likewise. |
| 925 | |
| 926 | 2008-02-01 Vladimir Prus <vladimir@codesourcery.com> |
| 927 | |
| 928 | * breakpoint.c (break_command_1): Return void. |
| 929 | (break_command_really): Return void. Rethrow |
| 930 | exceptions instead of returning. |
| 931 | (gdb_breakpoint): Remove the error_message parameter. |
| 932 | Return void. Rename to set_breakpoint. |
| 933 | * gdb.h (gdb_breakpoint): Rename and move to... |
| 934 | * breakpoint.h (set_breakpoint): ...here. |
| 935 | * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore |
| 936 | event hooks even if exception is thrown. Adjust to |
| 937 | gdb_breakpoint interface changes. |
| 938 | |
| 939 | |
| 940 | 2008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 941 | |
| 942 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit |
| 943 | float in both first and second word in the doubleword, to support |
| 944 | old and new ABIs. |
| 945 | |
| 946 | 2008-02-01 Vladimir Prus <vladimir@codesourcery.com> |
| 947 | |
| 948 | Properly rethrow exception. This fixes errors |
| 949 | about non-existent functions for -break-insert. |
| 950 | * breakpoint.c (break_command_really): Use throw_exception |
| 951 | for rethrowing. If rethrowing, don't print the exception. |
| 952 | |
| 953 | 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 954 | |
| 955 | * NEWS: Mention Decimal Floating Point support. |
| 956 | |
| 957 | 2008-01-31 Joel Brobecker <brobecker@adacore.com> |
| 958 | |
| 959 | * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned |
| 960 | value type to builtin_type_void_func_ptr. |
| 961 | |
| 962 | 2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com> |
| 963 | |
| 964 | * s390-tdep.c (is_float_singleton, is_float_like, |
| 965 | alignment_of, s390_return_value): Make checks for |
| 966 | TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. |
| 967 | |
| 968 | 2008-01-31 Luis Machado <luisgpm@br.ibm.com> |
| 969 | Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 970 | |
| 971 | * infcmd.c (default_print_registers_info): Also print hex |
| 972 | raw contents for TYPE_CODE_DECFLOAT registers. |
| 973 | * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. |
| 974 | * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. |
| 975 | (rs6000_register_name): Add support for DFP pseudo-registers. |
| 976 | (rs6000_pseudo_register_type): Likewise. |
| 977 | rs6000_pseudo_register_reggroup_p): Likewise. |
| 978 | (ppc_pseudo_register_read): New function. |
| 979 | (ppc_pseudo_register_write): Likewise. |
| 980 | (rs6000_pseudo_register_read): Likewise. |
| 981 | (rs6000_pseudo_register_write): Likewise. |
| 982 | (e500_pseudo_register_read): Move checks to |
| 983 | rs6000_pseudo_register_read. |
| 984 | (e500_pseudo_register_write): Move checks to |
| 985 | rs6000_pseudo_register_write. |
| 986 | (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install |
| 987 | rs6000_pseudo_register_read and rs6000_pseudo_register_write |
| 988 | in gdbarch if SPE or DFP is available. Adjust gdbarch's |
| 989 | num_pseudo_regs to account for DFP pseudo regs. |
| 990 | |
| 991 | 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 992 | |
| 993 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. |
| 994 | * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. |
| 995 | (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, |
| 996 | rs6000_pseudo_register_reggroup_p, e500_move_ev_register, |
| 997 | e500_pseudo_register_read, e500_pseudo_register_write): Use |
| 998 | IS_SPE_PSEUDOREG macro. |
| 999 | (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. |
| 1000 | (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. |
| 1001 | Remove initialization of tdep->ppc_ev31_regnum. |
| 1002 | |
| 1003 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
| 1004 | |
| 1005 | * printcmd.c (print_formatted): Handle references as for unformatted |
| 1006 | prints. |
| 1007 | |
| 1008 | 2008-01-30 Joel Brobecker <brobecker@adacore.com> |
| 1009 | |
| 1010 | * eval.c (evaluate_subexp_standard): Add handling of user |
| 1011 | registers when in EVAL_AVOID_SIDE_EFFECTS mode. |
| 1012 | |
| 1013 | 2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1014 | |
| 1015 | * eval.c (evaluate_subexp_standard): Support |
| 1016 | BINOP_INTDIV opcode. |
| 1017 | |
| 1018 | 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com> |
| 1019 | |
| 1020 | * valarith.c (value_binop): Add floating-point BINOP_MIN and |
| 1021 | BINOP_MAX cases. |
| 1022 | For BINOP_EXP, use length and signedness of left operand only for |
| 1023 | result, as for shifts. |
| 1024 | For integral operands to BINOP_EXP, use new integer_pow and |
| 1025 | uinteger_pow functions so as to get full range of results. |
| 1026 | (integer_pow): New function. |
| 1027 | (uinteger_pow): New function. |
| 1028 | |
| 1029 | 2008-01-30 Vladimir Prus <vladimir@codesourcery.com> |
| 1030 | |
| 1031 | Use vector for varobj_list_children interface. |
| 1032 | * gdb/varobj.c (varobj_list_children): Return vector |
| 1033 | of varobjs. |
| 1034 | * gdb/varobj.h (varobj_list_children): Adjust |
| 1035 | prototype. |
| 1036 | (varobj_p): Declare. Declare vector thereof. |
| 1037 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust |
| 1038 | for varobj_list_children change. |
| 1039 | * Makefile.in (varobj_h): Update dependencies. |
| 1040 | |
| 1041 | 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1042 | |
| 1043 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for |
| 1044 | TYPE_CODE_DECFLOAT arguments. |
| 1045 | (ppc64_sysv_abi_push_dummy_call) Likewise. |
| 1046 | (get_decimal_float_return_value): New function. |
| 1047 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return |
| 1048 | values by calling get_decimal_float_return_value. |
| 1049 | (ppc64_sysv_abi_return_value): Likewise. |
| 1050 | |
| 1051 | 2008-01-30 Nick Roberts <nickrob@snap.net.nz> |
| 1052 | |
| 1053 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field |
| 1054 | for preprocessor macro information. Formatting changes. |
| 1055 | |
| 1056 | 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 1057 | |
| 1058 | * remote.c (struct remote_state): Add cached_wait_status. |
| 1059 | (remote_exec_file): New variable. |
| 1060 | (PACKET_vAttach, PACKET_vRun): New constants. |
| 1061 | (extended_remote_restart): Do not query for status. |
| 1062 | (struct start_remote_args): New. |
| 1063 | (remote_start_remote): Take it as a second argument. Check |
| 1064 | whether the target is running. Issue an error for non-running |
| 1065 | non-extended targets. Cache the wait status. Set inferior_ptid |
| 1066 | here. |
| 1067 | (remote_open_1): Prompt to disconnect non-running targets. Make |
| 1068 | sure the target is marked running. Do not set inferior_ptid here. |
| 1069 | Update call to remote_start_remote. Do not call remote_check_symbols |
| 1070 | if the target is not running. |
| 1071 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED |
| 1072 | argument. Handle a non-running target. |
| 1073 | (remote_detach): Use it. |
| 1074 | (extended_remote_detach): New. |
| 1075 | (remote_disconnect): Fix typo. Use remoute_mourn_1. |
| 1076 | (extended_remote_attach_1, extended_remote_attach) |
| 1077 | (extended_async_remote_attach): New. |
| 1078 | (remote_vcont_resume): Remove unused variable. |
| 1079 | (remote_wait, remote_async_wait): Use any cached wait status. |
| 1080 | (putpkt_binary, getpkt): Clear any cached wait status. |
| 1081 | (extended_remoute_mourn_1): New. |
| 1082 | (extended_remote_mourn): Use it. |
| 1083 | (extended_async_remote_mourn, extended_remote_run): New. |
| 1084 | (extended_remote_create_inferior_1): New. |
| 1085 | (extended_remote_create_inferior): Use it. |
| 1086 | (extended_remote_async_create_inferior): Likewise. |
| 1087 | (remote_xfer_partial): Skip for non-executing targets. |
| 1088 | (init_extended_remote_ops): Set to_detach and to_attach. |
| 1089 | (init_extended_async_remote_ops): Likewise. Use |
| 1090 | extended_async_remote_mourn. |
| 1091 | (_initialize_remote): Register vAttach, vRun, and |
| 1092 | set remote exec-file. |
| 1093 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. |
| 1094 | |
| 1095 | 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 1096 | |
| 1097 | * Makefile.in (symfile.o): Update. |
| 1098 | * NEWS: Mention exec tracing support. |
| 1099 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for |
| 1100 | exec events. |
| 1101 | * infcmd.c (kill_if_already_running, detach_command) |
| 1102 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. |
| 1103 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. |
| 1104 | (follow_exec): Do not check may_follow_exec. Do not mourn and push |
| 1105 | targets. Apply the sysroot path to the loaded executable. Use |
| 1106 | no_shared_libraries. |
| 1107 | * linux-nat.c (linux_child_follow_fork): Print fork following |
| 1108 | messages if verbose. |
| 1109 | (kill_wait_callback): Kill again before waiting a second time. |
| 1110 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with |
| 1111 | no_shared_libraries. |
| 1112 | |
| 1113 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
| 1114 | |
| 1115 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. |
| 1116 | |
| 1117 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
| 1118 | |
| 1119 | * nto-tdep.h: Remove #include "defs.h". |
| 1120 | * nto-tdep.c: Add #include "defs.h". |
| 1121 | * Makefile.in (nto_tdep_h): Update dependencies. |
| 1122 | (nto-tdep.o): Likewise. |
| 1123 | |
| 1124 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
| 1125 | |
| 1126 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter |
| 1127 | and use it. |
| 1128 | (proceed, start_remote): Update call to wait_for_inferior. |
| 1129 | * inferior.h (wait_for_inferior): Update declaration. |
| 1130 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, |
| 1131 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. |
| 1132 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as |
| 1133 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. |
| 1134 | |
| 1135 | 2008-01-29 Aleksandar Ristovski <aristovski@qnx.com> |
| 1136 | |
| 1137 | * varobj (adjust_value_for_child_access): Added checking for |
| 1138 | returned value from gdb_value_ind. |
| 1139 | (c_describe_child): Likewise. |
| 1140 | (cplus_describe_child): Fixed a typo. |
| 1141 | |
| 1142 | 2008-01-29 Jim Blandy <jimb@red-bean.com> |
| 1143 | |
| 1144 | * MAINTAINERS: Update my info. |
| 1145 | |
| 1146 | 2008-01-29 Vladimir Prus <vladimir@codesourcery.com> |
| 1147 | |
| 1148 | Use multiple locations for hardware watchpoints. |
| 1149 | This eliminates the need to traverse value chain, doing |
| 1150 | various checks, in three different places. |
| 1151 | |
| 1152 | * breakpoint.h (struct bp_location): New fields |
| 1153 | lengths and watchpoint_type. |
| 1154 | (struct breakpoint): Remove the val_chain field. |
| 1155 | * breakpoint.c (is_hardware_watchpoint): New. |
| 1156 | (free_valchain): Remove. |
| 1157 | (update_watchpoint): New. |
| 1158 | (insert_bp_location): For hardware watchpoint, just |
| 1159 | directly insert it. |
| 1160 | (insert_breakpoints): Call update_watchpoint_locations |
| 1161 | on all watchpoints. If we have failed to insert |
| 1162 | any location of a hardware watchpoint, remove all inserted |
| 1163 | locations. |
| 1164 | (remove_breakpoint): For hardware watchpoints, directly |
| 1165 | remove location. |
| 1166 | (watchpoints_triggered): Iterate over locations. |
| 1167 | (bpstat_stop_status): Use only first location of |
| 1168 | a resource watchpoint. |
| 1169 | (delete_breakpoint): Don't call free_valchain. |
| 1170 | (print_one_breakpoint): Don't print all |
| 1171 | locations for watchpoints. |
| 1172 | (breakpoint_re_set_one): Use update_watchpoint for |
| 1173 | watchpoints. |
| 1174 | |
| 1175 | 2008-01-29 Vladimir Prus <vladimir@codesourcery.com> |
| 1176 | |
| 1177 | Don't reset watchpoint block on solib load. |
| 1178 | |
| 1179 | * breakpoint.c (insert_bp_location): For watchpoints, |
| 1180 | recompute condition. |
| 1181 | (breakpoint_re_set_one): Instead of recomputing value |
| 1182 | and condition for watchpoints, just reset value and |
| 1183 | let insert_breakpoints/insert_bp_location recompute it. |
| 1184 | Don't do anything about disabled watchpoint. |
| 1185 | |
| 1186 | 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1187 | |
| 1188 | * valarith.c (value_binop): Handle unsigned integer |
| 1189 | division by zero. |
| 1190 | |
| 1191 | 2008-01-28 Kevin Buettner <kevinb@redhat.com> |
| 1192 | |
| 1193 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an |
| 1194 | instruction pattern that appears frequently in position |
| 1195 | independent code. Fix bug in code which looks for "fmov" and |
| 1196 | backtracks if no "fmov" is found. |
| 1197 | |
| 1198 | 2008-01-28 Doug Evans <dje@google.com> |
| 1199 | |
| 1200 | * dbxread.c (read_dbx_symtab): Fix indentation. |
| 1201 | Reformat comments to 80 columns. |
| 1202 | Move local var def closer to only use. |
| 1203 | |
| 1204 | 2008-01-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 1205 | |
| 1206 | * fork-child.c (SHELL_FILE): Remove #ifndef. |
| 1207 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. |
| 1208 | |
| 1209 | 2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1210 | |
| 1211 | * i386-tdep.c (i386_skip_noop): New function. |
| 1212 | (i386_analyze_prologue): Call i386_skip_noop function. |
| 1213 | |
| 1214 | 2008-01-24 Michael Snyder <msnyder@specifix.com> |
| 1215 | |
| 1216 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. |
| 1217 | * win32-nat.c (win32_xfer_partial): Ditto. |
| 1218 | * target.c (default_xfer_partial): Minor whitespace adjustment. |
| 1219 | |
| 1220 | 2008-01-24 Pedro Alves <pedro@codesourcery.com> |
| 1221 | |
| 1222 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't |
| 1223 | strip bit 1 even if pc doesn't point to thumb code. |
| 1224 | |
| 1225 | 2008-01-23 Daniel Jacobowitz <dan@codesourcery.com> |
| 1226 | |
| 1227 | * remote.c (remote_wait): Handle SIGINT between packets. |
| 1228 | (remote_async_wait): Likewise. |
| 1229 | |
| 1230 | 2008-01-23 Vladimir Prus <vladimir@codesourcery.com> |
| 1231 | Chris Demetriou <cgd@google.com> |
| 1232 | |
| 1233 | * thread.c (add_thread_silent): Renamed |
| 1234 | from add_thread. |
| 1235 | (print_thread_events): New variable definition. |
| 1236 | (show_print_thread_events): New function. |
| 1237 | (_initialize_thread): Add "set print thread-events" and |
| 1238 | "show print thread-events" commands. |
| 1239 | (add_thread): Announce new thread. |
| 1240 | * gdbthread.h (add_thread_silent): Declare. |
| 1241 | (print_thread_events): New variable declaration. |
| 1242 | * inf-ttrace.c (inf_ttrace_wait): Don't |
| 1243 | inform about new thread, as add_thread is always |
| 1244 | called too, and will take care of that. |
| 1245 | * infrun.c (handle_inferior_event): Likewise. |
| 1246 | * procfs.c (procfs_wait): Likewise. |
| 1247 | * remote.c (remote_currthread): Likewise. |
| 1248 | * sol-thread.c (sol_thread_wait): Likewise. |
| 1249 | * win32-nat.c (get_win32_debug_event): Likewise. |
| 1250 | * linux-thread-db.c (attach_thread): Likewise. |
| 1251 | Remove the verbose parameter. |
| 1252 | (check_event): Make detach_thread be verbose |
| 1253 | only if print_thread_events is set. |
| 1254 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform |
| 1255 | about new thread. This is called only from |
| 1256 | linux-thread-db.c:attach_thread, which will take care. |
| 1257 | Remove the verbose parameter. |
| 1258 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. |
| 1259 | |
| 1260 | 2008-01-23 Nick Roberts <nickrob@snap.net.nz> |
| 1261 | |
| 1262 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. |
| 1263 | |
| 1264 | 2008-01-22 Vladimir Prus <vladimir@codesourcery.com> |
| 1265 | |
| 1266 | * breakpoint.c (break_command_really): New parameter |
| 1267 | ignore_count. |
| 1268 | (break_command_1): Pass 0 as |
| 1269 | ignore_count to break_command_really. |
| 1270 | (gdb_breakpoint): Pass ignore_count to |
| 1271 | break_command_really. |
| 1272 | |
| 1273 | 2008-01-21 Kevin Buettner <kevinb@redhat.com> |
| 1274 | |
| 1275 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find |
| 1276 | sigcontext struct via pointer. |
| 1277 | (struct sigframe comment): Update to show new field `psc'. |
| 1278 | |
| 1279 | 2008-01-21 Vladimir Prus <vladimir@codesourcery.com> |
| 1280 | |
| 1281 | * infrun.c (handle_inferior_event): If |
| 1282 | we failed to remove breakpoints, error, |
| 1283 | don't try to increment PC by hand. |
| 1284 | |
| 1285 | 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 1286 | |
| 1287 | Add NetBSD/hppa target and host support. |
| 1288 | |
| 1289 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... |
| 1290 | (hppabsd_gregset): Move to ... |
| 1291 | (hppabsd_regset_from_core_section): Rename |
| 1292 | hppaobsd_regset_from_core_section and move to ... |
| 1293 | (hppabsd_find_global_pointer): Update comment. |
| 1294 | (hppabsd_init_abi): Make global. Do not register |
| 1295 | hppabsd_regset_from_core_section. |
| 1296 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and |
| 1297 | move to ... |
| 1298 | (_initialize_hppabsd_tdep): Move to ... |
| 1299 | * hppaobsd-tdep.c: ... here. New file. |
| 1300 | * hppnbsd-tdep.c: New file. |
| 1301 | * hppnbsd-nat.c: New file. |
| 1302 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. |
| 1303 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. |
| 1304 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. |
| 1305 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. |
| 1306 | * configure.host (hppa*-*-netbsd*): New entry. |
| 1307 | * configure.tgt (hppa*-*-netbsd*): New entry. |
| 1308 | (hppa*-*-openbsd*): Update. |
| 1309 | * NEWS (New native configuration): Mention NetBSD/hppa. |
| 1310 | (New targets): Mention NetBSD/hppa. |
| 1311 | |
| 1312 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
| 1313 | |
| 1314 | * gdbarch.sh (function_list): Add new property bits_big_endian to |
| 1315 | gdbarch structure. |
| 1316 | * gdbarch.{c,h}: Regenerate. |
| 1317 | |
| 1318 | * value.c (struct value): Replace BITS_BIG_ENDIAN by |
| 1319 | gdbarch_bits_big_endian (comment). |
| 1320 | (unpack_field_as_long, modify_field): Likewise. |
| 1321 | * value.h: Likewise (comment). |
| 1322 | * valops.c (value_slice): Likewise. |
| 1323 | * valarith.c (value_subscript, value_bit_index): Likewise. |
| 1324 | * gdbtypes.h (field): Likewise (comment). |
| 1325 | * eval.c (evaluate_subexp_standard): Likewise. |
| 1326 | * dwarf2read.c (dwarf2_add_field): Likewise. |
| 1327 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) |
| 1328 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. |
| 1329 | |
| 1330 | * defs.h (BITS_BIG_ENDIAN): Remove. |
| 1331 | |
| 1332 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
| 1333 | |
| 1334 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate |
| 1335 | function calls. |
| 1336 | * m2-exp.y (yylex): Likewise. |
| 1337 | * objc-exp.y (yylex): Likewise. |
| 1338 | |
| 1339 | * defs.h (DEPRECATED_STREQN): Remove. |
| 1340 | |
| 1341 | 2008-01-17 H.J. Lu <hjl.tools@gmail.com> |
| 1342 | |
| 1343 | * MAINTAINERS: Update my email address. |
| 1344 | |
| 1345 | 2008-01-17 Jim Blandy <jimb@codesourcery.com> |
| 1346 | |
| 1347 | * README: Mention gdbserver/README. |
| 1348 | |
| 1349 | 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1350 | |
| 1351 | * valarith.c (value_binop): Handle BINOP_INTDIV |
| 1352 | for unsigned and signed integers. |
| 1353 | |
| 1354 | 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com> |
| 1355 | |
| 1356 | * s390-tdep.c (s390_gdbarch_init): Set default long double |
| 1357 | type to 128-bit IEEE quad. |
| 1358 | |
| 1359 | 2008-01-17 Joel Brobecker <brobecker@adacore.com> |
| 1360 | |
| 1361 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. |
| 1362 | |
| 1363 | 2008-01-16 Mark Kettenis <kettenis@gnu.org> |
| 1364 | |
| 1365 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
| 1366 | |
| 1367 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
| 1368 | * value.c: All callers changed. |
| 1369 | |
| 1370 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 1371 | |
| 1372 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace |
| 1373 | DEPRECATED_STREQ by its expression. |
| 1374 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. |
| 1375 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) |
| 1376 | (scan_xcoff_symtab): Likewise. |
| 1377 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. |
| 1378 | * f-lang.c (find_common_for_function): Likewise. |
| 1379 | * objc-exp.y (parse_number): Likewise. |
| 1380 | |
| 1381 | * defs.h (DEPRECATED_STREQ): Remove. |
| 1382 | |
| 1383 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 1384 | |
| 1385 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. |
| 1386 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use |
| 1387 | get_frame_arch to get at the current_architecture. Update AM33_MODE |
| 1388 | call. |
| 1389 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. |
| 1390 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current |
| 1391 | architecture. |
| 1392 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. |
| 1393 | |
| 1394 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 1395 | |
| 1396 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as |
| 1397 | parameter. |
| 1398 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. |
| 1399 | |
| 1400 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace |
| 1401 | current_gdbarch by gdbarch. Update caller. |
| 1402 | |
| 1403 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) |
| 1404 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at |
| 1405 | the current architecture. Update calls of |
| 1406 | amd64_native_gregset_supplies_p. |
| 1407 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) |
| 1408 | (amd64bsd_store_inferior_registers): Likewise. |
| 1409 | |
| 1410 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 1411 | |
| 1412 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. |
| 1413 | Replace current_gdbarch by gdbarch. Update caller. |
| 1414 | |
| 1415 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
| 1416 | |
| 1417 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) |
| 1418 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) |
| 1419 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) |
| 1420 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) |
| 1421 | (stabsect_build_psymtabs): Fix indentation. |
| 1422 | |
| 1423 | 2008-01-15 Michael Snyder <msnyder@specifix.com> |
| 1424 | |
| 1425 | * corelow.c (core_xfer_partial): Comment, cut/paste error. |
| 1426 | |
| 1427 | 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
| 1428 | |
| 1429 | * win32-nat.c (win32_create_inferior): Restore code calling |
| 1430 | CloseHandle on ProcessInformation structure. |
| 1431 | |
| 1432 | 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 1433 | |
| 1434 | * configure.ac: Check for void * as 3 argument of ptrace. |
| 1435 | * configure: regenerate. |
| 1436 | |
| 1437 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
| 1438 | |
| 1439 | * alpha-tdep.c (alpha_heuristic_proc_start) |
| 1440 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace |
| 1441 | current_gdbarch by gdbarch. |
| 1442 | |
| 1443 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the |
| 1444 | current architecture by frame_info. Update alpha_heuristic_proc_start |
| 1445 | call. |
| 1446 | |
| 1447 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use |
| 1448 | get_frame_arch to get at the current architecture by frame_info. Update |
| 1449 | alpha_sigtramp_register_address call. |
| 1450 | |
| 1451 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace |
| 1452 | current_gdbarch by gdbarch. Update caller. |
| 1453 | (convert_to_extended, convert_from_extended): Add endianess parameter |
| 1454 | for comparison. Update caller. |
| 1455 | (arm_extract_return_value, arm_store_return_value): Use |
| 1456 | get_regcache_arch to get at the current architecture. |
| 1457 | |
| 1458 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace |
| 1459 | current_gdbarch by gdbarch. Update caller. |
| 1460 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add |
| 1461 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. |
| 1462 | |
| 1463 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add |
| 1464 | gdbarch as parameter. Update caller. |
| 1465 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace |
| 1466 | current_gdbarch by gdbarch. Update caller. |
| 1467 | |
| 1468 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and |
| 1469 | update caller. Replace current_gdbarch by gdbarch. |
| 1470 | |
| 1471 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at |
| 1472 | the current architecture. Replace current_gdbarch by gdbarch. |
| 1473 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. |
| 1474 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its |
| 1475 | expression. Add gdbarch as parameter and replace current_gdbarch with |
| 1476 | it. Update caller. |
| 1477 | (M6811_TDEP): Remove. |
| 1478 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current |
| 1479 | architecture. |
| 1480 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace |
| 1481 | current_gdbarch by gdbarch. Update caller. |
| 1482 | |
| 1483 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and |
| 1484 | update caller. |
| 1485 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch |
| 1486 | by gdbarch. |
| 1487 | |
| 1488 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update |
| 1489 | caller. Relace current_gdbarch by gdbarch. |
| 1490 | (altivec_register_p, spe_register_p): Likewise. |
| 1491 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as |
| 1492 | parameter. |
| 1493 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of |
| 1494 | altivec_register_p and spe_register_p. |
| 1495 | |
| 1496 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update |
| 1497 | caller. Replace current_gdbarch by gdbarch. |
| 1498 | (score_analyze_prologue): use get_frame_arch to get at the current |
| 1499 | architecture. |
| 1500 | |
| 1501 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. |
| 1502 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace |
| 1503 | current_gdbarch by gdbarch. Update caller. |
| 1504 | (sparc_frame_cache): Use get_frame_arch to get at the current |
| 1505 | architecture. |
| 1506 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of |
| 1507 | sparc_analyze_prologue. |
| 1508 | |
| 1509 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as |
| 1510 | parameter. |
| 1511 | |
| 1512 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
| 1513 | |
| 1514 | * exec.c: #include "arch-utils.h" |
| 1515 | (print_section_info): Use gdbarch_from_bfd to get at the |
| 1516 | current architecture. Replace current_gdbarch. Fix indention. Replace |
| 1517 | deprecated_print_address_numeric by paddress. |
| 1518 | * Makefile.in (exec.o) Add dependency to arch-utils.h. |
| 1519 | |
| 1520 | * valprint.c (val_print_string): Replace |
| 1521 | deprecated_print_address_numeric. |
| 1522 | * tracepoint.c (trace_mention, scope_info): Likewise. |
| 1523 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) |
| 1524 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) |
| 1525 | (maintenance_check_symtabs): Likewise. |
| 1526 | * symfile.c (list_overlays_command): Likewise. |
| 1527 | * stack.c (frame_info, print_block_frame_labels): Likewise. |
| 1528 | * printcmd.c (print_address, print_address_demangle) |
| 1529 | (address_info): Likewise. |
| 1530 | * corefile.c (memory_error): Likewise. |
| 1531 | * infcmd.c (jump_command): Likewise. |
| 1532 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) |
| 1533 | (mention, delete_breakpoint): Likewise. |
| 1534 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. |
| 1535 | * dwarf2read.c (dump_die): Likewise. |
| 1536 | * ada-valprint.c (ada_val_print_1): Likewise. |
| 1537 | * f-valprint.c (f_val_print): Likewise. |
| 1538 | * linux-fork.c (info_forks_command): Likewise. |
| 1539 | * m32r-com.c (m32r_load_section, m32r_load) |
| 1540 | (m32r_upload_command): Likewise. |
| 1541 | |
| 1542 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. |
| 1543 | |
| 1544 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
| 1545 | |
| 1546 | * gdbarch.sh (skip_prologue): Add gdbarch |
| 1547 | as parameter. |
| 1548 | * gdbarch.{c,h}: Regenerate. |
| 1549 | |
| 1550 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. |
| 1551 | * amd64-tdep.c (amd64_skip_prologue): Likewise. |
| 1552 | * avr-tdep.c (avr_skip_prologue): Likewise. |
| 1553 | * cris-tdep.c (cris_skip_prologue): Likewise. |
| 1554 | * frv-tdep.c (frv_skip_prologue): Likewise. |
| 1555 | * h8300-tdep.c (h8300_skip_prologue): Likewise. |
| 1556 | * hppa-tdep.c (hppa_skip_prologue): Likewise. |
| 1557 | * i386-tdep.c (i386_skip_prologue): Likewise. |
| 1558 | * ia64-tdep.c (ia64_skip_prologue): Likewise. |
| 1559 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. |
| 1560 | * m32r-tdep.c (m32r_skip_prologue): Likewise. |
| 1561 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. |
| 1562 | * m68k-tdep.c (m68k_skip_prologue): Likewise. |
| 1563 | * m88k-tdep.c (m88k_skip_prologue): Likewise. |
| 1564 | * mep-tdep.c (mep_skip_prologue): Likewise. |
| 1565 | * mips-tdep.c (mips_skip_prologue): Likewise. |
| 1566 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. |
| 1567 | * mt-tdep.c (mt_skip_prologue): Likewise. |
| 1568 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. |
| 1569 | * score-tdep.c (score_skip_prologue): Likewise. |
| 1570 | * sh64-tdep.c (sh64_skip_prologue): Likewise. |
| 1571 | * sh-tdep.c (sh_skip_prologue): Likewise. |
| 1572 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. |
| 1573 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. |
| 1574 | * spu-tdep.c (spu_skip_prologue): Likewise. |
| 1575 | * v850-tdep.c (v850_skip_prologue): Likewise. |
| 1576 | * vax-tdep.c (vax_skip_prologue): Likewise. |
| 1577 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. |
| 1578 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. |
| 1579 | |
| 1580 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace |
| 1581 | current_gdbarch by gdbarch. |
| 1582 | * m32c-tdep.c (m32c_skip_prologue): Likewise. |
| 1583 | * s390-tdep.c (s390_skip_prologue): Likewise. |
| 1584 | |
| 1585 | 2008-01-10 Doug Evans <dje@google.com> |
| 1586 | |
| 1587 | * defs.h (struct continuation_arg): Fix typo in comment. |
| 1588 | * target.c (target_translate_tls_address): Fix comment spelling error. |
| 1589 | |
| 1590 | 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1591 | |
| 1592 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. |
| 1593 | (DOUBLEST_SCAN_FORMAT): Likewise. |
| 1594 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. |
| 1595 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. |
| 1596 | * c-exp.y (parse_number): Likewise. |
| 1597 | * jv-exp.y (parse_number): Likewise. |
| 1598 | * objc-exp.y (parse_number): Likewise. |
| 1599 | * p-exp.y (parse_number): Likewise. |
| 1600 | |
| 1601 | 2008-01-09 Joel Brobecker <brobecker@adacore.com> |
| 1602 | |
| 1603 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. |
| 1604 | (check_typedef): Likewise. |
| 1605 | |
| 1606 | 2008-01-09 Luis Machado <luisgpm@br.ibm.com> |
| 1607 | |
| 1608 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and |
| 1609 | seen_double_big_d, treat the new H, D, and DD modifiers as length |
| 1610 | modifiers. |
| 1611 | |
| 1612 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
| 1613 | |
| 1614 | * dwarf2read.c (read_enumeration_type): Add comment. |
| 1615 | |
| 1616 | 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1617 | |
| 1618 | * config.in: Regenerate. |
| 1619 | |
| 1620 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
| 1621 | |
| 1622 | * ada-lang.c (ada_convert_actual): Renames convert_actual. |
| 1623 | Make non-static. |
| 1624 | (ada_convert_actuals): Delete. |
| 1625 | * ada-lang.h (ada_convert_actual): Add declaration. |
| 1626 | (ada_convert_actuals): Remove declaration. |
| 1627 | * infcall.c: #include "ada-lang.h". |
| 1628 | (value_arg_coerce): Add new parameter sp. Update function |
| 1629 | documetnation. Add handling of Ada function call parameters. |
| 1630 | * Makefile.in (infcall.o): Update dependencies. |
| 1631 | |
| 1632 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
| 1633 | |
| 1634 | * ada-lang.c (ensure_lval): Fix value lval kind. |
| 1635 | (convert_actual): Add handling for arguments passed by reference. |
| 1636 | |
| 1637 | 2008-01-08 Doug Evans <dje@google.com> |
| 1638 | |
| 1639 | * dbxread.c (read_dbx_symtab): Fix indentation. |
| 1640 | |
| 1641 | 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1642 | |
| 1643 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. |
| 1644 | (valarith.o): Depend on dfp.h. |
| 1645 | (valops.o): Likewise. |
| 1646 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. |
| 1647 | (set_decnumber_context): New function. |
| 1648 | (decimal_check_errors): Likewise. |
| 1649 | (decimal_from_number): Likewise. |
| 1650 | (decimal_to_number): Likewise. |
| 1651 | (decimal_from_string): Use set_decnumber_context and |
| 1652 | decimal_check_errors. |
| 1653 | (decimal_from_integral): New function. |
| 1654 | (decimal_from_floating): Likewise. |
| 1655 | (decimal_to_double): Likewise. |
| 1656 | (promote_decimal): Likewise. |
| 1657 | (decimal_binop): Likewise. |
| 1658 | (decimal_is_zero): Likewise. |
| 1659 | (decimal_compare): Likewise. |
| 1660 | (decimal_convert): Likewise. |
| 1661 | * dfp.h (decimal_from_integral): New prototype. |
| 1662 | (decimal_from_floating): Likewise. |
| 1663 | (decimal_to_double): Likewise. |
| 1664 | (decimal_binop): Likewise. |
| 1665 | (decimal_is_zero): Likewise. |
| 1666 | (decimal_compare): Likewise. |
| 1667 | (decimal_convert): Likewise. |
| 1668 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from |
| 1669 | call to value_from_decfloat. |
| 1670 | * valarith.c: Include dfp.h. |
| 1671 | (value_args_as_decimal): New function. |
| 1672 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. |
| 1673 | (value_logical_not): Likewise. |
| 1674 | (value_equal): Likewise. |
| 1675 | (value_less): Likewise. |
| 1676 | (value_pos): Likewise. |
| 1677 | (value_neg): Formatting fix. |
| 1678 | * valops.c: Include dfp.h. |
| 1679 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. |
| 1680 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. |
| 1681 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. |
| 1682 | (value_from_decfloat): Remove expect_type argument. |
| 1683 | * value.h (value_from_decfloat): Update prototype. |
| 1684 | |
| 1685 | 2008-01-07 Vladimir Prus <vladimir@codesourcery.com> |
| 1686 | |
| 1687 | Ignore change in name of dynamic linker during |
| 1688 | execution on Solaris. This also unbreaks pending breakpoints. |
| 1689 | |
| 1690 | * solist.h (struct target_so_ops): New field same. |
| 1691 | * solib-svr4.c (svr4_same): New. |
| 1692 | (_initialize_svr4_solib): Register svr4_same. |
| 1693 | * solib.c (update_solib_list): Use ops->same, if available. |
| 1694 | |
| 1695 | 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx> |
| 1696 | |
| 1697 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings |
| 1698 | when using MS-DOS paths. |
| 1699 | |
| 1700 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
| 1701 | |
| 1702 | * NEWS: Mention --pid and --core command line behaviour changes. |
| 1703 | |
| 1704 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
| 1705 | |
| 1706 | * main.c (captured_main): Remove 'count' varible and the |
| 1707 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and |
| 1708 | --pid options were issued simultaneously. If an explicit pid |
| 1709 | option was passed, don't fallback to core file. Detect extra |
| 1710 | arguments better in the presence of explicit pid or core |
| 1711 | arguments. |
| 1712 | |
| 1713 | 2008-01-05 Joel Brobecker <brobecker@adacore.com> |
| 1714 | |
| 1715 | * ada-lang.c (ada_which_variant_applies): Correctly compute |
| 1716 | the value of the discriminant when the variant record is packed. |
| 1717 | |
| 1718 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
| 1719 | |
| 1720 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes |
| 1721 | that are used to differentiate homonyms. |
| 1722 | |
| 1723 | 2008-01-04 Jerome Guitton <guitton@adacore.com> |
| 1724 | |
| 1725 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault |
| 1726 | when the type is an anonymous pointer type. |
| 1727 | (ada_check_typedef): Avoid a seg fault when the type is null. |
| 1728 | * ada-typeprint.c (print_array_type): Add support for pointer |
| 1729 | to packed arrays. |
| 1730 | |
| 1731 | 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com> |
| 1732 | |
| 1733 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. |
| 1734 | |
| 1735 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
| 1736 | |
| 1737 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in |
| 1738 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. |
| 1739 | |
| 1740 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
| 1741 | |
| 1742 | * ada-exp.y (chop_separator): New function. |
| 1743 | (write_selectors): Rewrite to re-use chop_separator. |
| 1744 | (ada_nget_field_index, get_symbol_field_type): New functions. |
| 1745 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" |
| 1746 | expressions. |
| 1747 | |
| 1748 | 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 1749 | |
| 1750 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead |
| 1751 | of SYMBOL_VALUE when working with function symbols. |
| 1752 | |
| 1753 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 1754 | |
| 1755 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER |
| 1756 | expressions. These expressions do not need to be rewriten. |
| 1757 | |
| 1758 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 1759 | |
| 1760 | * dwarf2read.c (read_enumeration_type): Flag type as stub if |
| 1761 | the given die is a declaration. |
| 1762 | |
| 1763 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 1764 | |
| 1765 | * ada-lang.c (ada_array_bound_from_type): Make non-static. |
| 1766 | Handle properly the case when the index type is an enumerated type. |
| 1767 | Do not return the subtype of the bounds type, just return the |
| 1768 | bounds type directly - this is not needed and is more consistent |
| 1769 | with what we do for arrays when no XA parallel type exists. |
| 1770 | |
| 1771 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 1772 | |
| 1773 | * ada-lang.c (static_unwrap_type): Add forward declaration. |
| 1774 | (template_to_static_fixed_type): Fields of dynamic types sometimes |
| 1775 | also need to be unwrapped. Take this into account. |
| 1776 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. |
| 1777 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. |
| 1778 | * ada-typeprint.c (ada_print_type): Get the typename from |
| 1779 | the original type, not the base type. |
| 1780 | |
| 1781 | 2008-01-03 Jerome Guitton <guitton@adacore.com> |
| 1782 | |
| 1783 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) |
| 1784 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): |
| 1785 | Update calls to ada_to_fixed_type. |
| 1786 | (ada_template_to_fixed_record_type_1): Ditto, but without looking |
| 1787 | for the tag. |
| 1788 | (ada_to_fixed_type): Add check_tag parameter; do not look for |
| 1789 | tag if null. When looking for a tag, use a fixed record type. |
| 1790 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. |
| 1791 | * ada-valprint.c (printable_val_type, ada_value_print): Update |
| 1792 | calls to ada_to_fixed_type. |
| 1793 | |
| 1794 | 2008-01-03 Luis Machado <luisgpm@br.ibm.com> |
| 1795 | |
| 1796 | * doublest.c (convert_floatformat_to_doublest): Call |
| 1797 | floatformat_to_doublest instead of floatformat_to_double and use |
| 1798 | DOUBLEST variables. |
| 1799 | (convert_doublest_to_floatformat): Call floatformat_from_doublest |
| 1800 | instead of floatformat_from_double and use DOUBLEST variables. |
| 1801 | |
| 1802 | 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 1803 | |
| 1804 | * MAINTAINERS (Write After Approval): Add self. |
| 1805 | |
| 1806 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
| 1807 | |
| 1808 | * symfile.c (set_initial_language): Make non-static. |
| 1809 | * symfile.h (set_initial_language): Add declaration. |
| 1810 | * language.c: #include "symfile.h". |
| 1811 | (set_language): Call set_initial_language if the frame language |
| 1812 | could not be determined. |
| 1813 | |
| 1814 | 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com> |
| 1815 | |
| 1816 | * eval.c (evaluate_subexp_for_address): Provide frame address to |
| 1817 | locate_var_value only if it will be needed. |
| 1818 | |
| 1819 | 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1820 | |
| 1821 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. |
| 1822 | |
| 1823 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
| 1824 | |
| 1825 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned |
| 1826 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. |
| 1827 | This is needed to make sure that any other treatment applied |
| 1828 | to the resulting value does not fail for spurious reason, |
| 1829 | such as trying to take the address of this value. |
| 1830 | |
| 1831 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
| 1832 | |
| 1833 | * ada-lang.c (ada_value_equal): Dereference reference types when |
| 1834 | comparing arrays. |
| 1835 | |
| 1836 | 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com> |
| 1837 | |
| 1838 | Updated copyright notices for most files. |
| 1839 | |
| 1840 | 2008-01-01 Christopher Faylor <me+gdb@cgf.cx> |
| 1841 | |
| 1842 | * win32-nat.c (psapi_module_handle): Remove static. |
| 1843 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to |
| 1844 | return first module found if base_address is zero. Don't initialize |
| 1845 | psapi function pointers here. Convert to cygwin paths when |
| 1846 | appropriate. |
| 1847 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine |
| 1848 | executable name. Use get_module_name when that fails or when |
| 1849 | !__CYGWIN__. |
| 1850 | (_initialize_psapi): New function. Initialize psapi stuff before it is |
| 1851 | needed or issue a warning if it is not found. Move psapi_module_handle |
| 1852 | here. |
| 1853 | |
| 1854 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1855 | |
| 1856 | * ada-lang.c (ada_remove_trailing_digits): New function. |
| 1857 | (ada_remove_po_subprogram_suffix): New function. |
| 1858 | (ada_decode): Improve. Move the description of the algorithm |
| 1859 | directly inside the code, instead of in the function global |
| 1860 | description. |
| 1861 | |
| 1862 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1863 | |
| 1864 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref |
| 1865 | and always print the dereferenced value. |
| 1866 | |
| 1867 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1868 | |
| 1869 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling |
| 1870 | of the case where the first argument is a reference. |
| 1871 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. |
| 1872 | |
| 1873 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1874 | |
| 1875 | Implement support for Ada interface types. |
| 1876 | |
| 1877 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. |
| 1878 | (ada_is_ignored_field): Ignore fields that are a dispatch table |
| 1879 | of a tagged type. |
| 1880 | |
| 1881 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1882 | |
| 1883 | * top.c (print_gdb_version): Update copyright year. |
| 1884 | |
| 1885 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
| 1886 | |
| 1887 | * ChangeLog-2007: New ChangeLog rotation. |
| 1888 | * ChangeLog: Reset for 2008. |
| 1889 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and |
| 1890 | ChangeLog-2007. |
| 1891 | |
| 1892 | For older changes see ChangeLog-2007. |
| 1893 | \f |
| 1894 | Local Variables: |
| 1895 | mode: change-log |
| 1896 | left-margin: 8 |
| 1897 | fill-column: 74 |
| 1898 | version-control: never |
| 1899 | coding: utf-8 |
| 1900 | End: |