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