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