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