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