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