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