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