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