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