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