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