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