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