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