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