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