]>
Commit | Line | Data |
---|---|---|
9e386756 JB |
1 | 2008-04-18 Joel Brobecker <[email protected]> |
2 | ||
3 | * stabsread.c (cleanup_undefined_types_1): Add instance flags check | |
4 | in the search for the matching symbol. | |
5 | ||
2ec93238 MK |
6 | 2008-04-17 Marc Khouzam <[email protected]> |
7 | ||
8 | * breakpoint.c (update_watchpoint): Always reparse | |
9 | condition. | |
10 | ||
e9bbd7c5 JB |
11 | 2008-04-17 Joel Brobecker <[email protected]> |
12 | ||
13 | * breakpoint.c (print_one_breakpoint_location): Make sure to print | |
14 | the breakpoint address only once. | |
15 | ||
475bbd17 JB |
16 | 2008-04-17 Dennis Roberts <[email protected]> |
17 | ||
18 | * rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture, | |
19 | rather than a hard-coded architecture, for xcoff executables. | |
20 | ||
86991504 DE |
21 | 2008-04-17 Doug Evans <[email protected]> |
22 | ||
4584e32e DE |
23 | * buildsym.c (watch_main_source_file_lossage): New fn. |
24 | (end_symtab): Call it. | |
25 | ||
86991504 DE |
26 | * source.c (find_and_open_source): Add some comments clarifying |
27 | handling of FULLNAME argument. Make static. Remove pointless | |
28 | xstrdup/xfree. | |
29 | ||
0a320680 PA |
30 | 2008-04-17 Pedro Alves <[email protected]> |
31 | ||
32 | * inf-loop.c (inferior_event_handler): Also run the intermediate | |
33 | continuations in the INF_EXEC_COMPLETE case. | |
34 | ||
700b53b1 TT |
35 | 2008-04-16 Tom Tromey <[email protected]> |
36 | ||
37 | * cli/cli-decode.h (CMD_ASYNC_OK): New define. | |
38 | (set_cmd_async_ok, get_cmd_async_ok): Declare. | |
39 | * cli/cli-decode.c (set_cmd_async_ok): New function. | |
40 | (get_cmd_async_ok): New function. | |
41 | * cli/cli-cmds.c (init_cli_cmds): Mark "pwd", "help", "info", and | |
42 | "show" as async-ok. | |
43 | * top.c (execute_command): Use get_cmd_async_ok. | |
44 | * infcmd.c: Include cli/cli-decode.h. | |
45 | (_initialize_infcmd): Mark "interrupt" as async-ok. | |
46 | * Makefile.in (infcmd.o): Depend on cli_decode_h. | |
47 | ||
dacec2a8 DJ |
48 | 2008-04-16 Daniel Jacobowitz <[email protected]> |
49 | ||
50 | PR gdb/2445 | |
51 | * exec.c: Correct "arch-utils.h" include. | |
52 | ||
2cec12e5 AR |
53 | 2008-04-15 Aleksandar Ristovski <[email protected]> |
54 | ||
55 | PR gdb/2424 | |
56 | * infrun.c (normal_stop) Move breakpoint_auto_delete further down | |
57 | to allow printing to 'see' real reason of stop. This fixes PR 2424. | |
58 | * breakpoint.c (bpdisp_texst): New function. The function takes over | |
59 | the role of bpstats static array in print_one_breakpoint_location. | |
60 | (print_it_typical): Print "Temporary breakpoint" instead | |
61 | of just "Breakpoint" when breakpoint is, well, temporary. For mi-like | |
62 | protocols, print disp field. | |
63 | (print_one_breakpoint_location): Removed bpdisps static definition. | |
64 | Call new bpstat_text function to get value for 'disp' field. | |
65 | (mention): Print "Temporary breakpoint" instead of just "Breakpoint". | |
66 | ||
4d7b71aa DJ |
67 | 2008-04-15 Daniel Jacobowitz <[email protected]> |
68 | ||
69 | * gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4, | |
70 | gnulib/aux/link-warning.h, gnulib/extra/link-warning.h: Adjust | |
71 | by rerunning gnulib-tool with --aux-dir=gnulib/extra. | |
72 | * gnulib/Makefile.in: Regenerate. | |
73 | ||
aa11fd3f DJ |
74 | 2008-04-14 Daniel Jacobowitz <[email protected]> |
75 | ||
76 | * Makefile.in (GNULIB_H): New. Trigger all-lib. | |
77 | (defs_h): Use $(GNULIB_H). | |
78 | (all-lib): Depend on gnulib/Makefile. | |
79 | (gnulib/Makefile): Regenerate gnulib/Makefile and gnulib/.deps. | |
80 | * config.in, gnulib/Makefile.in: Regenerated. | |
81 | ||
e28b3332 DJ |
82 | 2008-04-14 Daniel Jacobowitz <[email protected]> |
83 | ||
84 | * Makefile.in (LIBGNU, INCGNU): Define. | |
85 | (INTERNAL_CFLAGS_BASE): Add INCGNU. | |
86 | (INTERNAL_LIBS, CLIBS, CDEPS): Add LIBGNU. | |
87 | (CLEANDIRS): New. | |
88 | ($(LIBGNU), all-lib): New rules. | |
89 | (clean, distclean, do-maintainer-clean): Use CLEANDIRS. | |
90 | * configure.ac: Use gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE. | |
91 | Simplify AC_CONFIG_AUX_DIR. Generate gnulib/Makefile. | |
92 | * gnulib: New directory, from gnulib-tool. | |
93 | * configure, aclocal.m4: Regenerated. | |
94 | ||
e3bc4218 DJ |
95 | 2008-04-14 Daniel Jacobowitz <[email protected]> |
96 | ||
97 | * linux-thread-db.c (have_threads_callback): Check thread->private. | |
98 | ||
fcacd99f VP |
99 | 2008-04-13 Nick Roberts <[email protected]> |
100 | Vladimir Prus <[email protected]> | |
101 | ||
102 | Fix @-varobjs. | |
103 | * varobj.c (value_of_root): Update the expression for | |
104 | floating varobjs. | |
105 | * mi/mi-cmd-var.c (varobj_update_one): If type has changed, | |
106 | report that. | |
107 | ||
de051565 MK |
108 | 2008-04-09 Marc Khouzam <[email protected]> |
109 | ||
110 | * mi/mi-cmd-var.c: Include "mi-getopt.h". | |
111 | (mi_parse_format): New. Factored out from mi_cmd_var_set_format. | |
112 | (mi_cmd_var_set_format): Use new mi_parse_format. | |
113 | (mi_cmd_var_evaluate_expression): Support for -f option to specify | |
114 | format. | |
115 | * Makefile.in (mi-cmd-var.o): Update dependencies. | |
116 | ||
117 | * varobj.h (varobj_get_formatted_value): Declare. | |
118 | * varobj.c (my_value_of_variable): Added format parameter. | |
119 | (cplus_value_of_variable): Likewise. | |
120 | (java_value_of_variable): Likewise. | |
121 | (c_value_of_variable): Likewise. Evaluate expression based | |
122 | on format parameter. | |
123 | (struct language_specific): Add format parameter to function member | |
124 | *value_of_variable. | |
125 | (varobj_get_formatted_value): New. | |
126 | (varobj_get_value): Added format parameter to method call. | |
127 | ||
56953f80 JB |
128 | 2008-04-08 Joel Brobecker <[email protected]> |
129 | ||
130 | * stabsread.c (cleanup_undefined_types_noname): Manually set the | |
131 | instance flags of the undefined type before calling replace_type. | |
132 | ||
e4e33b9e VP |
133 | 2008-04-08 Vladimir Prus <[email protected]> |
134 | ||
135 | * target.h (enum strata): Remove the download_stratum. | |
136 | ||
92b5c263 DE |
137 | 2008-04-07 Doug Evans <[email protected]> |
138 | ||
139 | * buildsym.h (last_source_file): Add dwarf info to comment. | |
140 | (last_source_start_addr): Ditto. | |
141 | ||
effa26a9 PA |
142 | 2008-04-07 Pedro Alves <[email protected]> |
143 | ||
144 | * alphanbsd-tdep.c: Include "target.h". | |
145 | * mn10300-tdep.c: Include "target.h". | |
146 | * Makefile.in (alphanbsd-tdep.o, mn10300-tdep.o): Update. | |
147 | ||
2b2d9e11 VP |
148 | 2008-04-06 Vladimir Prus <[email protected]> |
149 | ||
150 | Fix breakpoint condition that use member variables. | |
151 | * valops.c (check_field): Remove. | |
152 | (check_field_in): Rename to check_field. | |
153 | (value_of_this): Use la_name_of_this. | |
154 | * value.h (check_field): Adjust prototype. | |
155 | ||
156 | * language.h (la_value_of_this): Rename to la_name_of_this. | |
157 | * language.c (unknown_language_defn): Specify "this" for | |
158 | name_of_this. | |
159 | (auto_language_defn): Likewise. | |
160 | (local_language_defn): Likewise. | |
161 | * ada-lang.c (ada_language_defn): Adjust comment. | |
162 | * c-lang.c (c_language_defn): Adjust comment. | |
163 | (cplus_language_defn): Specify "this" for name_of_this. | |
164 | (asm_language_defn): Adjust comment. | |
165 | (minimal_language_defn): Adjust comment. | |
166 | * f-lang.c (f_language_defn): Specify NULL for name_of_this. | |
167 | * jv-lang.c (java_language_defn): Specify "this" for name_of_this. | |
168 | * m2-lang.c (m2_language_defn): Specify "this" for name_of_this. | |
169 | * objc-lang.c (objc_language_defn): Specify "self" for | |
170 | name_of_this. | |
171 | * p-lang.c (pascal_language_defn): Specify "this" for | |
172 | name_of_this. | |
173 | * scm-lang.c (scm_language_defn): Specify NULL for name_of_this. | |
174 | ||
175 | * symtab.c (lookup_symbol_aux): Lookup "this" in the | |
176 | proper scope, and check for field in type of "this", without | |
177 | trying to create a value. | |
178 | ||
a13e061a PA |
179 | 2008-04-04 Pedro Alves <[email protected]> |
180 | ||
181 | * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_ERROR. | |
182 | (mi_error_message): Delete declaration. | |
183 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Call error instead of | |
184 | returning MI_CMD_ERROR. | |
185 | * mi/mi-main.c (mi_error_message): Delete. | |
186 | (mi_cmd_exec_interrupt): | |
187 | (mi_cmd_thread_select, mi_cmd_thread_list_ids) | |
188 | (mi_cmd_thread_info): Call error instead of returning | |
189 | MI_CMD_ERROR. | |
190 | (mi_cmd_data_list_register_values): Call error instead of | |
191 | returning MI_CMD_ERROR. Adapt to new get_register interface. | |
192 | (get_register): Change return typo to void. Call error instead of | |
193 | returning MI_CMD_ERROR. | |
194 | (mi_cmd_data_write_register_values): Call error instead of | |
195 | returning MI_CMD_ERROR. | |
196 | (mi_cmd_list_features): Return MI_CMD_DONE. | |
197 | (captured_mi_execute_command): Remove MI_CMD_ERROR handling. | |
198 | (mi_execute_command): Always print exceptions with -error. | |
199 | ||
aad4b048 JB |
200 | 2008-04-04 Joel Brobecker <[email protected]> |
201 | ||
202 | * NEWS: Mention new commands set/show multiple-symbols. | |
203 | ||
717d2f5a JB |
204 | 2008-04-03 Joel Brobecker <[email protected]> |
205 | ||
206 | * symtab.c (multiple_symbols_ask, multiple_symbols_all) | |
207 | (multiple_symbols_cancel): New constants. | |
208 | (multiple_symbols_modes, multiple_symbols_mode): New static globals. | |
209 | (multiple_symbols_select_mode): New function. | |
210 | (_initialize_symtab): Add new set/show multiple-symbols commands. | |
211 | * symtab.h (multiple_symbols_ask, multiple_symbols_all) | |
212 | (multiple_symbols_cancel, multiple_symbols_select_mode): Declare. | |
213 | * ada-lang.c (user_select_syms): Add handling of new multiple-symbols | |
214 | setting. | |
215 | * linespec.c (decode_line_2): Likewise. | |
216 | ||
f73634e5 DE |
217 | 2008-04-03 Doug Evans <[email protected]> |
218 | ||
219 | * symtab.h (enum free_code): Delete free_contents, unused. | |
220 | * symmisc.c (free_symtab_block): Delete. | |
221 | (free_symtab, case free_code): Delete. | |
222 | ||
6af87b03 AR |
223 | 2008-04-01 Aleksandar Ristovski <[email protected]> |
224 | ||
225 | * valops.c (value_cast_structs): New function. Cast related | |
226 | STRUCT types up/down and return cast value. The body of this | |
227 | function comes mostly from value_cast_pointers. | |
228 | (value_cast_pointers): Code for actual cast STRUCT-STRUCT moved | |
229 | to value_cast_structs. Now value_cast_pointers needs only create | |
230 | appropriate reference after using value_cast_structs for actual | |
231 | casting. | |
232 | (value_cast): Handle references. | |
233 | ||
61ad90e1 MK |
234 | 2008-04-01 Marc Khouzam <[email protected]> |
235 | ||
236 | * MAINTAINERS: Added myself to section Write After Approval. | |
237 | ||
b7d038ae DJ |
238 | 2008-03-30 Daniel Jacobowitz <[email protected]> |
239 | ||
240 | * ia64-tdep.c (examine_prologue): Correct array access. | |
241 | ||
242 | 2008-03-28 Aleksandar Ristovski <[email protected]> | |
c836824f AR |
243 | |
244 | * cp-support.c (first_component_command): Return if no arguments. | |
245 | ||
df3ac606 CD |
246 | 2008-03-28 Carlos O'Donell <[email protected]> |
247 | ||
248 | * ser-mingw.c (ser_windows_open): Open requested name. | |
249 | ||
ca933485 AR |
250 | 2008-03-28 Aleksandar Ristovski <[email protected]> |
251 | ||
252 | * MAINTAINERS: Added myself. | |
253 | ||
5f667f2d PA |
254 | 2008-03-28 Pedro Alves <[email protected]> |
255 | ||
256 | * target.c (find_default_run_target): Allow a NULL `do_mesg' | |
257 | parameter. If it is NULL, don't call error. | |
258 | (find_default_can_async_p, find_default_is_async_p): Pass NULL as | |
259 | `do_mesg' parameter to find_default_run_target. If no target was | |
260 | found, return 0. | |
261 | ||
e741f4d4 DJ |
262 | 2008-03-28 Daniel Jacobowitz <[email protected]> |
263 | ||
264 | * mips-linux-tdep.c: Update N32/N64 signal frame comments. | |
265 | (N64_SIGCONTEXT_LO, N64_SIGCONTEXT_PC, N64_SIGCONTEXT_FPCSR): Update. | |
266 | (N64_SIGCONTEXT_FIR, N64_SIGCONTEXT_CAUSE, N64_SIGCONTEXT_BADVADDR): | |
267 | Delete. | |
268 | (mips_linux_n32n64_sigframe_init): Do not record cause or badvaddr. | |
269 | ||
f66d8205 | 270 | 2008-03-27 Joel Brobecker <[email protected]> |
271 | ||
272 | GDB 6.8 released. | |
273 | ||
221c031f UW |
274 | 2008-03-27 Ulrich Weigand <[email protected]> |
275 | ||
276 | * features/Makefile (%.dat): Set xmltarget to the base filename | |
277 | of the XML source, without subdirectory. | |
278 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
279 | * regformats/rs6000/powerpc-64.dat: Regenerate. | |
280 | * regformats/rs6000/powerpc-e500.dat: Regenerate. | |
281 | ||
40c58d95 MD |
282 | 2008-03-27 Markus Deuling <[email protected]> |
283 | ||
284 | * xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by | |
285 | objfile arch. | |
286 | ||
bb1ec7d2 NR |
287 | 2008-03-27 Nick Roberts <[email protected]> |
288 | ||
289 | * mi/mi-main.c (enum captured_mi_execute_command_actions): | |
290 | Spell suppress in EXECUTE_COMMAND_SUPPRESS_PROMPT correctly. | |
291 | ||
5e2b427d UW |
292 | 2008-03-26 Ulrich Weigand <[email protected]> |
293 | ||
294 | * objfiles.h (struct objfile): New GDBARCH member. | |
295 | (get_objfile_arch): Add prototype. | |
296 | * objfiles.c: Include "arch-utils.h". | |
297 | (allocate_objfile): Look up gdbarch associated with bfd. | |
298 | (get_objfile_arch): New function. | |
299 | * Makefile (objfiles.o): Update dependencies. | |
300 | ||
301 | * dwarf2-frame.c (decode_frame_entry_1): Replace current_gdbarch | |
302 | by objfile arch. | |
303 | * dwarf2loc.c (dwarf_expr_read_reg): Replace current_gdbarch | |
304 | by frame arch. | |
305 | (locexpr_describe_location): Replace current_gdbarch by | |
306 | objfile arch. | |
307 | * dwarf2read.c (die_type): Replace current_gdbarch by objfile arch. | |
308 | (dwarf2_add_field): Likewise. | |
309 | (read_tag_pointer_type): Likewise. | |
310 | (read_base_type): Likewise. | |
311 | (new_symbol): Likewise. | |
312 | ||
313 | * coffread.c (decode_type): Add OBJFILE argument. Update callers. | |
314 | (decode_base_type, decode_function_type): Likewise. | |
315 | (coff_read_struct_type, coff_read_enum_type): Likewise. | |
316 | (coff_symtab_read): Replace current_gdbarch by objfile arch. | |
317 | (decode_base_type): Likewise. | |
318 | (coff_read_enum_type): Likewise. | |
319 | (coff_read_struct_type): Replace current_objfile by OBJFILE argument. | |
320 | (coff_read_enum_type): Likewise. | |
321 | ||
322 | * dbxread.c (read_dbx_symtab): Replace current_gdbarch by objfile arch. | |
323 | (end_psymtab): Likewise. | |
324 | (process_one_symbol): Likewise. | |
325 | ||
326 | * mdebugread.c (parse_symbol): Replace current_gdbarch by objfile arch. | |
327 | (parse_procedure): Likewise. | |
328 | (parse_partial_symbols): Likewise. | |
329 | ||
330 | * somread.c (som_symtab_read): Replace current_gdbarch by objfile arch. | |
331 | ||
332 | * stabsread.c (define_symbol): Replace current_gdbarch by objfile arch. | |
333 | Replace static pcc_promotion_type and pcc_unsigned_promotion_type by | |
334 | built-in types. | |
335 | (read_range_type): Replace current_gdbarch by objfile arch. Replace | |
336 | static range_index_type by built-in type. | |
337 | (read_one_struct_field): Replace current_gdbarch by objfile arch. | |
338 | (read_enum_type): Likewise. | |
339 | ||
340 | * xcoffread.c (read_xcoff_symtab): Replace current_gdbarch by | |
341 | objfile arch. | |
342 | ||
5a413362 VP |
343 | 2008-03-26 Vladimir Prus <[email protected]> |
344 | ||
345 | * varobj.h (varobj_floating_p): Declare. | |
346 | * varobj.c (varobj_floating_p): New. | |
347 | * mi/mi-cmd-var.c (mi_cmd_var_update): When passed | |
348 | '@' as the name, update all floating varobjs. | |
349 | ||
a5defcdc VP |
350 | 2008-03-26 Vladimir Prus <[email protected]> |
351 | ||
352 | * varobj.c (struct varobj_root): Rename use_selected_frame to | |
353 | floating, and clarify the meaning. | |
354 | (varobj_create, varobj_update, new_root_variable): Adjust. | |
355 | (value_of_root): Don't use type_changed as in variable, | |
356 | adjust comment. | |
357 | (c_value_of_root): Adjust. | |
5a413362 | 358 | |
403fe197 PA |
359 | 2008-03-25 Pedro Alves <[email protected]> |
360 | ||
361 | * linux-nat.c (linux_nat_attach): Add the pid we attached to, to | |
362 | gdb's thread list. | |
363 | (linux_nat_wait): Add main lwp to gdb's thread list. | |
364 | * linux-thread-db.c (find_new_threads_callback): Also attach to | |
365 | already listed threads which thread_db didn't know about yet. | |
366 | ||
710151dd PA |
367 | 2008-03-25 Pedro Alves <[email protected]> |
368 | ||
369 | * linux-nat.c (drain_queued_events): Fix comment typo. | |
370 | (linux_nat_attach): In async mode, don't rely on storing a pending | |
371 | status. Instead place the wait status on the pipe. | |
372 | (linux_nat_resume): Remove unreacheable shortcut code in async | |
373 | mode. | |
374 | (stop_wait_callback): In async mode, don't store pending status. | |
375 | Instead, cancel breakpoints or resend the signal appropriatelly. | |
376 | (cancel_breakpoint): New, refactored from | |
377 | cancel_breakpoints_callback. | |
378 | (cancel_breakpoints_callback): Call cancel_breakpoint. | |
379 | (pipe_to_local_event_queue): Remove special token processing. | |
380 | (linux_nat_wait): Issue an internal error if a pending status is | |
381 | found in async mode. | |
382 | ||
807bddf3 DJ |
383 | 2008-03-24 Daniel Jacobowitz <[email protected]> |
384 | ||
385 | * inflow.c (gdb_has_a_terminal): Guard access to our_process_group. | |
386 | ||
c5b48eac VP |
387 | 2008-03-24 Nick Roberts <[email protected]> |
388 | Vladimir Prus <[email protected]> | |
389 | ||
390 | * varobj.c (struct varobj_root): New component thread_id. | |
391 | (varobj_get_thread_id, check_scope): New functions. | |
392 | (c_value_of_root): Use check_scope. Switch to the | |
393 | proper thread if necessary. | |
394 | ||
395 | * varobj.h (varobj_get_thread_id): New extern. | |
396 | ||
397 | * mi/mi-cmd-var.c (print_varobj): Add thread-id field. | |
398 | ||
12f4afab DJ |
399 | 2008-03-23 Daniel Jacobowitz <[email protected]> |
400 | ||
401 | PR gdb/544 | |
402 | * top.c: Revert 2008-03-21 changes. | |
403 | ||
6208b47d VP |
404 | 2008-03-23 Vladimir Prus <[email protected]> |
405 | ||
406 | * thread.c (make_cleanup_restore_current_thread): Make it | |
407 | globally visible. | |
408 | * gdbthread.h (make_cleanup_restore_current_thread): Declare. | |
409 | * varobj.c (varobj_update): Don't save/restore frame. | |
410 | (c_value_of_root): Save/restore thread and frame here, | |
411 | using make_cleanup_restore_current_thread. | |
412 | * Makefile.in: Update dependecies. | |
413 | ||
44a67aa7 VP |
414 | 2008-03-23 Vladimir Prus <[email protected]> |
415 | ||
416 | * varobj.c (struct varobj_root): Clarify | |
417 | comment on the frame field. | |
418 | (varobj_create): Don't set frame if we have no | |
419 | block. | |
420 | ||
b562a0cb DJ |
421 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
422 | ||
423 | PR gdb/544 | |
424 | Suggested by Jan Kratochvil: | |
425 | * top.c (gdb_rl_operate_and_get_next_completion): Call | |
426 | rl_redisplay_function. | |
427 | (gdb_rl_redisplay): New. | |
428 | (init_main): Set rl_redisplay_function. | |
429 | ||
ed1bd5f5 JB |
430 | 2008-03-21 Thomas Mittelstaedt <[email protected]> (tiny change) |
431 | ||
432 | * aix-thread.c (pdc_read_regs): Fix compiler warning. | |
433 | (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread) | |
434 | (store_regs_kernel_thread): Likewise. | |
435 | ||
b84876c2 PA |
436 | 2008-03-21 Pedro Alves <[email protected]> |
437 | ||
438 | Linux native async support. | |
439 | ||
440 | * target.h (struct target_ops): Delete to_async_mask_value and add | |
441 | to_async_mask. | |
442 | (target_is_async_p, target_async): Formatting. | |
443 | (target_async_mask_value): Delete. | |
444 | (target_async_mask): Delete function declaration, and add new | |
445 | target macro with the same name. | |
446 | ||
447 | * target.c (update_current_target): Replace to_async_mask_value by | |
448 | to_async_mask. Default to_async_mask to return_one. | |
449 | (target_async_mask): Delete. | |
450 | (find_default_can_async_p, find_default_is_async_p): New. | |
451 | (init_dummy_target): register find_default_can_async_p and | |
452 | find_default_is_async_p on the dummy target. | |
453 | ||
454 | * linux-nat.c: Include inf-loop.h, event-loop.h and event-top.h. | |
455 | (debug_linux_nat_async): New global. | |
456 | (show_debug_linux_nat_async): New function. | |
457 | (linux_nat_async_enabled, linux_nat_async_mask_value) | |
458 | (linux_nat_event_pipe, linux_nat_num_queued_events) | |
459 | (linux_nat_async_events_enabled): New globals. | |
460 | (struct waitpid_result): New struct. | |
461 | (waitpid_queue): New global. | |
462 | (queued_waitpid, push_waitpid, drain_queued_events): New. | |
463 | (my_waitpid): Call queued_waitpid. | |
464 | (linux_child_follow_fork): Disable async events during the call. | |
465 | (blocked_mask): Delete. | |
466 | (sync_sigchld_action, async_sigchld_action): New globals. | |
467 | (lin_lwp_attach_lwp): In sync mode, don't reblock SIGCHLD. In | |
468 | async mode, block events during the call. | |
469 | (linux_nat_create_inferior): New. | |
470 | (linux_nat_attach): In sync mode, restore the mask states. In | |
471 | async mode, wake the event loop immediatelly. | |
472 | (detach_callback): Drain all queued events of the lwp we're | |
473 | detaching from. | |
474 | (linux_nat_detach): Block async mode, and drain events of the main | |
475 | process. | |
476 | (linux_nat_resume): If in async mode, mask async events during the | |
477 | call. If short circuiting, force event loop to wake up. If | |
478 | resuming, set target_executing, and register target events in the | |
479 | event loop. | |
480 | (pipe_to_local_event_queue, local_event_queue_to_pipe): New. | |
481 | (linux_nat_wait): In async mode, block events during the call. | |
482 | Only enable/disable passing SIGINT to the inferior in sync mode. | |
483 | Get events from local waitpid queue. If no interesting events was | |
484 | found, return to events loop. Reregister target events in the | |
485 | event loop on exit. In sync mode, no need to reblock SIGCHLD. | |
486 | (linux_nat_kill): Disable events on entry. | |
487 | (linux_nat_mourn_inferior): In sync mode, don't restore the masks | |
488 | here. Detach async mode from the event loop if there are no more | |
489 | forks available, otherwise leave it on. | |
490 | (sigchld_handler): Assure this is called only in sync mode. | |
491 | (linux_async_permitted, linux_async_permitted_1): New globals. | |
492 | (set_maintenance_linux_async_permitted) | |
493 | (show_maintenance_linux_async_permitted): New functions. | |
494 | (linux_nat_is_async_p, linux_nat_can_async_p) | |
495 | (linux_nat_async_mask): New. | |
496 | (linux_nat_event_pipe_pop, linux_nat_event_pipe_push): New. | |
497 | (get_pending_events, async_sigchld_handler): New. | |
498 | (linux_nat_async_events): New. | |
499 | (async_terminal_is_ours): New global. | |
500 | (linux_nat_terminal_inferior, linux_nat_terminal_ours): New. | |
501 | (async_client_callback, async_client_context): New. | |
502 | (linux_nat_async_file_handler, linux_nat_async) | |
503 | (linux_nat_disable_async, linux_nat_enable_async): New. | |
504 | (linux_nat_add_target): Register linux_nat_create_inferior, | |
505 | linux_nat_can_async_p, linux_nat_is_async_p, linux_nat_async, | |
506 | linux_nat_async_mask, linux_nat_terminal_inferior and | |
507 | linux_nat_terminal_ours. | |
508 | (_initialize_linux_nat): Remove local action variable, and update | |
509 | code that used it to use sync_sigchld_action. Add new | |
510 | "lin-lwp-async" debug set/show command. Put the "lin-lwp" debug | |
511 | set/show command in the maintenance class. Add new "linux-async" | |
512 | maintenance set/show command. Block SIGCHLD by default. Setup | |
513 | async_sichld_action, and sync_sigchld_action. Install the default | |
514 | async mode. | |
515 | (lin_thread_get_thread_signals): Use a local sigset_t for blocking | |
516 | the cancel signals. | |
517 | ||
518 | * linux-thread-db.c (re_check_for_thread_db): New. | |
519 | (clear_lwpid_callback): Handle TARGET_WAITKIND_IGNORE. | |
520 | (thread_db_can_async_p, thread_db_is_async_p, thread_db_async) | |
521 | (thread_db_async_mask): New. | |
522 | (init_thread_db_ops): Register thread_db_can_async_p, | |
523 | thread_db_is_async_p, thread_db_async and thread_db_async_mask. | |
524 | ||
525 | * remote.c (remote_async_mask_value): New. | |
526 | (remote_return_zero): New. | |
527 | (init_remote_ops): Register remote_return_zero as callbacks of | |
528 | to_can_async_p and to_is_async_p. | |
529 | (remote_can_async_p, remote_is_async_p, remote_async): Update to | |
530 | use remote_async_mask_value. | |
531 | (remote_async_mask): New. | |
532 | (init_remote_async_ops): Remove to_async_mask_value setting and | |
533 | register remote_async_mask as to_async_mask callback in | |
534 | remote_async_ops. | |
535 | ||
536 | * Makefile.in (linux-nat.o): Update. | |
537 | ||
17faa917 DJ |
538 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
539 | ||
540 | * gdbthread.h (add_thread_with_info): New. | |
541 | * linux-thread-db.c: Add some documentation. | |
542 | (GET_LWP, GET_PID, GET_THREAD, is_lwp, is_thread, BUILD_LWP): Delete. | |
543 | (struct private_thread_info): Remove th_valid and ti_valid. | |
544 | Replace ti with tid. | |
545 | (thread_get_info_callback): Do not add TID to the new ptid. Do | |
546 | not cache th or ti. | |
547 | (thread_db_map_id2thr, lwp_from_thread): Delete functions. | |
548 | (thread_from_lwp): Assert that the LWP is set. Do not add TID to the | |
549 | new PTID. | |
550 | (attach_thread): Handle an already-existing thread. Use | |
551 | add_thread_with_info. Cache the th and tid. | |
552 | (detach_thread): Verify that private was set. Remove verbose | |
553 | argument and printing. Update caller. | |
554 | (thread_db_detach): Do not adjust inferior_ptid. | |
555 | (clear_lwpid_callback, thread_db_resume, thread_db_kill): Delete. | |
556 | (check_event, find_new_threads_callback): Do not add TID to the new PTID. | |
557 | (thread_db_wait): Do not use lwp_from_thread. | |
558 | (thread_db_pid_to_str): Use the cached TID. | |
559 | (thread_db_extra_thread_info): Check that private is set. | |
560 | (same_ptid_callback): Delete. | |
561 | (thread_db_get_thread_local_address): Do not use it or check | |
562 | is_thread. Check that private is set. Assume that the thread | |
563 | handle is already cached. | |
564 | (init_thread_db_ops): Remove to_resume and to_kill. | |
565 | * thread.c (add_thread_with_info): New. | |
566 | (add_thread): Use it. | |
567 | * linux-nat.c (find_thread_from_lwp): Delete. | |
568 | (exit_lwp): Do not use it. Check print_thread_events. Print before | |
569 | deleting the thread. | |
570 | (GET_PID, GET_LWP, BUILD_LWP, is_lwp): Move to... | |
571 | * linux-nat.h (GET_PID, GET_LWP, BUILD_LWP, is_lwp): ...here. | |
572 | * inf-ttrace.c (inf_ttrace_wait): Use print_thread_events and | |
573 | printf_unfiltered for thread exits. | |
574 | * procfs.c (procfs_wait): Likewise. | |
575 | ||
6214f497 DJ |
576 | 2008-03-21 Chris Demetriou <[email protected]> |
577 | ||
578 | * symtab.c (rbreak_command): Quote symbol name before passing | |
579 | it to break_command. | |
580 | ||
63092375 DJ |
581 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
582 | ||
583 | * eval.c (evaluate_subexp_for_address): Clarify error message. | |
584 | Use value_must_coerce_to_target. | |
585 | * infcall.c (value_arg_coerce): Call value_coerce_to_target. | |
586 | * valops.c (value_assign): Call value_coerce_to_target when | |
587 | assigning to anything but internalvars. Leave GDB-side arrays | |
588 | as arrays when assigning to internalvars. | |
589 | (value_must_coerce_to_target, value_coerce_to_target): New. | |
590 | (value_coerce_array, value_addr): Call value_coerce_to_target. | |
591 | (value_array): Create the array in GDB's memory instead of | |
592 | the inferior's. | |
593 | * value.h (value_must_coerce_to_target, value_coerce_to_target): | |
594 | Declare. | |
595 | ||
b21991b0 DJ |
596 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
597 | ||
598 | * top.c (quit_confirm): Warn that we will kill the program. | |
599 | ||
49a834f9 PA |
600 | 2008-03-19 Pedro Alves <[email protected]> |
601 | ||
602 | * inflow.c (terminal_ours_1): Guard access to | |
603 | inferior_process_group with #ifdef PROCESS_GROUP_TYPE. | |
604 | ||
ae0d2f24 UW |
605 | 2008-03-18 Ulrich Weigand <[email protected]> |
606 | Jim Blandy <[email protected]> | |
607 | Daniel Jacobowitz <[email protected]> | |
608 | ||
609 | * dwarf2expr.h (struct dwarf_expr_context): Add ADDR_SIZE member. | |
610 | (dwarf2_read_address): Update prototype. | |
611 | ||
612 | * dwarf2expr.c (unsigned_address_type): Add ADDR_SIZE parameter. | |
613 | (signed_address_type): Likewise. | |
614 | (dwarf2_read_address): Replace BYTES_READ parameter with ADDR_SIZE. | |
615 | (execute_stack_op): Update calls to unsigned_address_type, | |
616 | signed_address_type and dwarf2_read_address. Fix implementation | |
617 | of DW_OP_deref_size. | |
618 | ||
619 | * dwarf2loc.h (dwarf2_per_cu_objfile): Add prototype. | |
620 | (dwarf2_per_cu_addr_size): Likewise. | |
621 | (struct dwarf2_locexpr_baton): Replace OBJFILE with PER_CU. | |
622 | (struct dwarf2_loclist_baton): Likewise. | |
623 | ||
624 | * dwarf2loc.c (find_location_expression): Update calls to | |
625 | dwarf2_read_address. Use dwarf2_per_cu_objfile and | |
626 | dwarf2_per_cu_addr_size to retrieve PER_CU parameters. | |
627 | (locexpr_describe_location): Likewise. | |
628 | (dwarf2_evaluate_loc_desc): Replace OBJFILE with PER_CU parameter. | |
629 | Set ctx->addr_size to dwarf2_per_cu_addr_size (per_cu). | |
630 | (dwarf2_loc_desc_needs_frame): Add PER_CU parameter. Set ctx->addr_size | |
631 | to dwarf2_per_cu_addr_size (per_cu). | |
632 | (locexpr_read_variable): Update dwarf2_evaluate_loc_desc call. | |
633 | (loclist_read_variable): Likewise. | |
634 | (locexpr_read_needs_frame): Update dwarf2_loc_desc_needs_frame call. | |
635 | ||
636 | * dwarf2read.c (dwarf2_symbol_mark_computed): Set baton->per_cu | |
637 | instead of baton->objfile. | |
638 | (dwarf2_per_cu_obfile): New function. | |
639 | (dwarf2_per_cu_addr_size): Likewise. | |
640 | ||
641 | * dwarf2-frame.c (struct comp_unit): Move higher. | |
642 | (struct dwarf2_cie): Add UNIT and ADDR_SIZE members. | |
643 | (execute_stack_op): Add ADDR_SIZE parameter; set ctx->addr_size. | |
644 | (execute_cfa_program): Add FDE parameter. Replace EH_FRAME_P | |
645 | parameter by using fde->eh_frame_p. Use read_encoded_value | |
646 | to implement DW_CFA_set_loc. | |
647 | (struct dwarf2_frame_cache): Add ADDR_SIZE member. | |
648 | (dwarf2_frame_cache): Set cache->addr_size. Update calls to | |
649 | execute_stack_op and execute_cfa_program. | |
650 | (dwarf2_frame_prev_register): Update calls to execute_stack_op. | |
651 | (size_of_encoded_value): Remove. | |
652 | (read_encoded_value): Add PTR_LEN and FUNC_BASE parameters. | |
653 | Remove call to size_of_encoded_value. Implement DW_EH_PE_funcrel. | |
654 | (add_cie): Set cie->unit backlink. | |
655 | (decode_frame_entry_1): Set cie->addr_size. Update calls to | |
656 | read_encoded_value. | |
657 | (dwarf2_build_frame_info): Allocate UNIT on objfile obstack. | |
658 | ||
1c8201d1 MD |
659 | 2008-03-17 Markus Deuling <[email protected]> |
660 | ||
661 | * i386-tdep.c (i386_print_insn): Remove unnecessary call to | |
662 | gdbarch_bfd_arch_info. | |
663 | ||
46bba1ef JB |
664 | 2008-03-17 Joel Brobecker <[email protected]> |
665 | ||
666 | * aix-thread.c (pdc_read_regs): Minor reformatting. | |
667 | ||
0bcd3e20 VP |
668 | 2008-03-17 Vladimir Prus <[email protected]> |
669 | ||
670 | * thread.c (print_thread_info): Don't insist | |
671 | on having current thread if there are no | |
672 | threads at all. | |
673 | ||
9356cf8d PA |
674 | 2008-03-17 Pedro Alves <[email protected]> |
675 | ||
676 | * infcmd.c (attach_command_post_wait) | |
677 | (attach_command_continuation): New. | |
678 | (attach_command): Support background async execution, and async | |
679 | execution in synchronous mode. | |
680 | ||
5c3ce3f7 DJ |
681 | 2008-03-17 Daniel Jacobowitz <[email protected]> |
682 | ||
683 | * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR. | |
684 | * symmisc.c (dump_symtab_1): Likewise. | |
685 | * wrapper.c (gdb_value_struct_elt): Likewise. | |
686 | ||
fa2c6a57 PA |
687 | 2008-03-17 Pedro Alves <[email protected]> |
688 | ||
689 | * linux-nat.c (linux_nat_filter_event): Fix comment typo. | |
690 | ||
02f3fc28 PA |
691 | 2008-03-17 Pedro Alves <[email protected]> |
692 | ||
693 | * linux-nat.c (linux_nat_filter_event): New, refactored from | |
694 | linux_nat_wait. | |
695 | (linux_nat_wait): Call linux_nat_filter_event. | |
696 | ||
2f77b315 UW |
697 | 2008-03-17 Ulrich Weigand <[email protected]> |
698 | ||
699 | * top.c (execute_command): Fix uninitialized variable error. | |
700 | ||
f01be29b NH |
701 | 2008-03-16 Nick Hudson <[email protected]> |
702 | ||
703 | * Makefile.in (amd64nbsd-nat.o): New dependency. | |
704 | * amd64nbsd-nat.c: Include "nbsd-nat.h". | |
705 | (_initialize_amd64nbsd_nat): Update target vector to use | |
706 | nbsd_pid_to_exec_file. | |
707 | * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o. | |
708 | ||
6cf32704 VP |
709 | 2008-03-15 Vladimir Prus <[email protected]> |
710 | ||
711 | Remove ignoring leading exec events code. | |
712 | * fork-child.c (startup_inferior): Do not set | |
713 | inferior_ignoring_leading_exec_events. | |
714 | * inf-child.c (inf_child_reported_exec_events_per_exec_call): Remove. | |
715 | (inf_child_target): Do not set to_reported_exec_events_per_exec_call. | |
716 | * infrun.c (inferior_ignoring_leading_exec_events): Remove. | |
717 | (handle_inferior_event): Remove code for ignoring leading exec | |
718 | events. | |
719 | * target.c (update_current_target): Do not inherit, or default, | |
720 | to_reported_exec_events_per_exec_call. | |
721 | (debug_to_reported_exec_events_per_exec_call): Remove. | |
722 | (setup_target_debug): Do not set to_reported_exec_events_per_exec_call. | |
723 | * target.h (target_reported_exec_events_per_exec_call): Remove. | |
724 | (struct target): Remove the to_reported_exec_events_per_exec_call | |
725 | field. | |
726 | ||
8e8901c5 VP |
727 | 2008-03-15 Vladimir Prus <[email protected]> |
728 | ||
729 | Implement -thread-info. | |
730 | * gdbthread.h (print_thread_info): Declare. | |
731 | ||
732 | * thread.c (print_thread_info): New, extracted | |
733 | from info_threads_command and adjusted to | |
734 | work for CLI and MI. | |
735 | (info_threads_command): Use print_thread_info. | |
736 | * Makefile.in: Update dependencies. | |
737 | ||
738 | * mi/mi-cmds.c (mi_cmds): Specify a handler | |
739 | for -thread-info. | |
740 | * mi/mi-cmds.h (mi_cmd_thread_info): Declare. | |
741 | * mi/mi-main.c (mi_cmd_thread_info): New. | |
742 | (mi_cmd_list_features): Include 'thread-info'. | |
743 | ||
7d1e6fb8 KB |
744 | 2008-03-14 Kevin Buettner <[email protected]> |
745 | ||
746 | * mips-tdep.c (mips32_scan_prologue): Use the ABI register size | |
747 | to decide whether to match instruction patterns using "sw" and "sd". | |
748 | ||
89113898 PA |
749 | 2008-03-14 Pedro Alves <[email protected]> |
750 | ||
751 | * infcmd.c (jump_command): Postpone disabling stdin until after | |
752 | the possible query. | |
753 | ||
64a0ac84 PA |
754 | 2008-03-14 Pedro Alves <[email protected]> |
755 | ||
756 | * inflow.c (gdb_getpgrp): New. | |
757 | (gdb_has_a_terminal): Use get_getpgrp. | |
758 | (terminal_ours_1): If attach_flag is set, don't refetch | |
759 | inferior_process_group. | |
760 | ||
1fddbabb PA |
761 | 2008-03-14 Pedro Alves <[email protected]> |
762 | ||
763 | * features/library-list.dtd: Allow "section" elements as children | |
764 | of "library". Add "section" element and describe its attributes. | |
765 | ||
766 | * solib-target.c (struct lm_info): Add section_bases member. | |
767 | (library_list_start_segment): Error out if seen a section element. | |
768 | (library_list_start_section): New. | |
769 | (library_list_end_library): New. | |
770 | (solib_target_free_library_list): Free section_bases. | |
771 | (section_attributes): New. | |
772 | (library_children): Make "segment" optional. Add "section" child. | |
773 | (library_list_children): Register library_list_end_library. | |
774 | (solib_target_relocate_section_addresses): Handle section bases. | |
775 | ||
776 | * NEWS: Mention new qXfer:libraries:read section offsets support. | |
777 | ||
712af3be VP |
778 | 2008-03-14 Vladimir Prus <[email protected]> |
779 | ||
780 | * defs.h (do_exec_error_cleanups, discard_exec_error_cleanups) | |
781 | (make_exec_error_cleanup): Remove declarations. | |
782 | * utils.c (exec_error_cleanup_chain): Remove. | |
783 | (do_exec_error_cleanups, discard_exec_error_cleanups) | |
784 | (make_exec_error_cleanup): Remove. | |
785 | * event-loop.c (start_event_loop): Adjust call to | |
786 | async_enable_stdin. | |
787 | * event-top.c (async_enable_stdin): Remove the paramater dummy. | |
788 | (async_disable_stdin): Don't register async_enable_stdin via | |
789 | cleanup. | |
790 | * inf-loop.c (inferior_event_handler): Don't | |
791 | call do_exec_error_cleanups. Call async_enable_stdin instead. | |
792 | * event-loop.c (start_event_loop): Adjust call to | |
793 | async_enable_stdin. | |
794 | * tui/tui-interp.c (tui_command_loop): Adjust call to | |
795 | async_enable_stdin. | |
796 | ||
32c1e744 VP |
797 | 2008-03-14 Vladimir Prus <[email protected]> |
798 | ||
799 | Async mode fixes. | |
800 | * Makefile.in (infcmd.o, inf-loop.o): Update dependencies. | |
801 | * breakpoint.c (bpstat_do_actions): In async mode, | |
802 | don't jump to top expecting stop_bpstat to be already | |
803 | updated. | |
804 | * event-loop.c (start_event_loop): Call async_enable_stdin | |
805 | on exception. | |
806 | * event-top.c (async_enable_stdin): Do nothing if sync_execution | |
807 | is not set. | |
808 | (command_handler): Do not setup continuation here. | |
809 | (command_line_handler_continuation): Move to... | |
810 | * top.c (command_line_handler_continuation): ... here. | |
811 | (execute_command): In async mode, register continuation. | |
812 | Don't check frame's language in running in async mode. | |
813 | * exceptions.c (throw_exception): Don't do exec_error_cleanups. | |
814 | * inf-loop.c (complete_execution): Inline into... | |
815 | (inferior_event_handler): ... here. Clear target_executing before | |
816 | doing any cleanups. Don't try to show prompt if the target was | |
817 | resumed. | |
818 | * infcmd.c (signal_command): Add support for async mode. | |
819 | (finish_command): Only add continuation if the target was | |
820 | successfully resumed. | |
821 | * remote.c (init_async_opts): Register to_get_thread_local_address | |
822 | handler. | |
823 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Don't mess | |
824 | with sync_execution. | |
825 | * tui/tui-interp.c (tui_command_loop): Call async_enable_stdin | |
826 | on exception. | |
827 | ||
c04ea773 DJ |
828 | 2008-03-14 Daniel Jacobowitz <[email protected]> |
829 | ||
830 | * corefile.c (reopen_exec_file): Use exec_bfd_mtime. | |
831 | * exec.c (exec_bfd_mtime): Define. | |
832 | (exec_close): Clear it. | |
833 | (exec_file_attach): Set it. | |
834 | * gdbcore.h (exec_bfd_mtime): Declare. | |
835 | * source.c (find_source_lines): Do not use bfd_get_mtime. | |
836 | ||
952dc227 VP |
837 | 2008-03-14 Vladimir Prus <[email protected]> |
838 | ||
839 | * top.c (simplified_command_loop): Remove. | |
840 | ||
4cf46804 VP |
841 | 2008-03-14 Vladimir Prus <[email protected]> |
842 | ||
843 | Remove unused remote.c hooks. | |
844 | * remote.c (deprecated_target_resume_hook) | |
845 | (deprecated_target_wait_loop_hook): Remove. | |
846 | (remote_resume): Do not call deprecated_target_resume_hook. | |
847 | (remote_wait): Do not call deprecated_target_wait_loop_hook. | |
848 | (remote_async_wait): Likewise. | |
849 | ||
683f2885 VP |
850 | 2008-03-14 Vladimir Prus <[email protected]> |
851 | ||
852 | Implement MI notification for new threads. | |
853 | * doc/observer.texi (new_thread): Document. | |
854 | * observer.sh: Forward declare struct thread_info. | |
855 | * thread.c (add_thread): Notify observer. | |
856 | ||
857 | * interps.h (interp_init_ftype): New parameter | |
858 | top_level. | |
859 | (interp_set): Likewise. | |
860 | (top_level_interpreter_data): Declare. | |
861 | * interps.c (interp_set): New parameter top_level. | |
862 | Pass it to interpreter's init function. Remember | |
863 | top level interpreter. | |
864 | (interpreter_exec_cmd): Adjust. | |
865 | (top_level_interpreter_data): New. | |
866 | * main.c (captured_main): Pass 1 for top_level | |
867 | parameter of interp_set. | |
868 | * cli/cli-interp.c (cli_interpreter_init): New | |
869 | parameter top_level. | |
870 | * tui/tui-interp.c (tui_init): New parameter top_level. | |
871 | ||
872 | * mi/mi-interp.c (mi_new_thread): New. | |
873 | (mi_interpreter_init): If top level, register | |
874 | observer for new threads. | |
875 | ||
876 | * Makefile.in (mi-interp.o, thread.o): Update dependencies. | |
877 | ||
ff9b3928 PA |
878 | 2008-03-14 Pedro Alves <[email protected]> |
879 | ||
880 | * top.c (execute_command): Disable break and stop | |
881 | commands in async mode. | |
882 | ||
b18392ef PA |
883 | 2008-03-14 Pedro Alves <[email protected]> |
884 | ||
885 | revert: | |
886 | 2008-03-14 Pedro Alves <[email protected]> | |
887 | * inf-loop.c (inferior_event_handler): Don't include remote.h. | |
888 | Call target_stop in the INF_QUIT_REQ case. | |
889 | * Makefile.in (inf-loop.o): Update. | |
890 | ||
0aca9f07 PA |
891 | 2008-03-14 Pedro Alves <[email protected]> |
892 | ||
893 | * inf-loop.c (inferior_event_handler): Don't include remote.h. | |
894 | Call target_stop in the INF_QUIT_REQ case. | |
895 | * Makefile.in (inf-loop.o): Update. | |
896 | ||
0b4e556c PA |
897 | 2008-03-14 Pedro Alves <[email protected]> |
898 | ||
899 | * top.c (execute_command): Enable break, info and interrupt | |
900 | commands in async mode. | |
901 | ||
8defab1a DJ |
902 | 2008-03-13 Vladimir Prus <[email protected]> |
903 | Daniel Jacobowitz <[email protected]> | |
904 | ||
905 | * breakpoint.h (breakpoint_restore_shadows): New | |
906 | declaration. | |
907 | * breakpoint.c (breakpoint_restore_shadows): New. | |
908 | (read_memory_nobpt): Delete. | |
909 | * gdbcore.h (read_memory_nobpt): Delete declaration. | |
910 | * target.c (memory_xfer_partial): Call | |
911 | breakpoint_restore_shadows. | |
912 | (restore_show_memory_breakpoints) | |
913 | (make_show_memory_beakpoints_cleanup): New. | |
914 | (show_memory_breakpoints): New. | |
915 | * target.h (make_show_memory_beakpoints_cleanup): Declare. | |
916 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): | |
917 | Make sure we see memory breakpoints when checking if | |
918 | breakpoint is still there. | |
919 | * alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c, | |
920 | hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c, | |
921 | m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c, | |
922 | sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt. | |
923 | ||
fd532e2e PA |
924 | 2008-03-12 Pedro Alves <[email protected]> |
925 | ||
926 | * thread.c (add_thread): Use printf_unfiltered to print. | |
927 | ||
f749779f | 928 | 2008-03-12 Joel Brobecker <[email protected]> |
965b60ee JB |
929 | |
930 | * sol-thread.c: Replace use of TM_I386SOL2_H by an expression | |
931 | that is true only on x86-solaris and x86_64-solaris. | |
932 | * procfs.c: Likewise. Move procfs_find_LDT_entry up together | |
933 | with proc_get_LDT_entry. | |
934 | ||
935 | 2008-03-12 Thiago Jung Bauermann <[email protected]> | |
83116857 TJB |
936 | |
937 | * configure.ac (AC_CHECK_FUNCS): Add check for setsid. | |
938 | * config.in, configure: Regenerate. | |
939 | * fork-child.c (fork_inferior): Call create_tty_session. | |
940 | * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY. | |
941 | (create_tty_session): New function. | |
942 | * terminal.h: Declare create_tty_session. | |
943 | ||
4fbb74a6 AM |
944 | 2008-03-12 Alan Modra <[email protected]> |
945 | ||
946 | PR 5900 | |
947 | * elfread.c (elf_symtab_read): Make shndx an unsigned int. | |
948 | * mipsread.c: Include elf/internal.h. | |
949 | (read_alphacoff_dynamic_symtab): Map external reserved sym_shndx | |
950 | to internal range. | |
951 | ||
20a6ec49 MD |
952 | 2008-03-11 Markus Deuling <[email protected]> |
953 | ||
954 | * win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch | |
955 | to get at the current architecture and at the target specific vector. | |
956 | Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and | |
957 | remove define of I387_ST0_REGNUM. | |
958 | ||
959 | * amd64-tdep.c (I387_ST0_REGNUM): Remove define. | |
960 | ||
961 | (amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to | |
962 | get at the current architecture | |
963 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as | |
964 | parameter. | |
965 | ||
966 | * i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM, | |
967 | I387_NUM_XMM_REGS and I387_MM0_REGNUM. | |
968 | ||
969 | (I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM, | |
970 | I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM, | |
971 | (I387_FSTAT_REGNUM): Add target specific vector as parameter. | |
972 | ||
973 | (i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get | |
974 | at the target specific vector. | |
975 | ||
976 | (i386_get_longjmp_target): Use get_frame_arch to get at the current | |
977 | architecture. Use gdbarch_tdep to get at the target specific vector. | |
978 | ||
979 | (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and | |
980 | update caller. Use gdbarch_tdep to get at the target specific vector. | |
981 | ||
982 | (i386_register_to_value: Use get_frame_arch to get at the current | |
983 | architecture. | |
984 | ||
985 | * i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as | |
986 | parameter. | |
987 | ||
988 | * i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, | |
989 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM | |
990 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR, | |
991 | FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter. | |
992 | ||
993 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and | |
994 | undef's. | |
995 | ||
996 | (i387_convert_register_p, i387_register_to_value, | |
997 | i387_value_to_register): Update call for i386_fp_regnum_p. | |
998 | ||
999 | * i387-tdep.h: Remove comment. | |
1000 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define. | |
1001 | (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, | |
1002 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM, | |
1003 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM, | |
1004 | I387_MXCSR_REGNUM): Add target specific vector as parameter. | |
1005 | ||
ccd213ac DJ |
1006 | 2008-03-10 Daniel Jacobowitz <[email protected]> |
1007 | ||
1008 | * Makefile.in (fork-child.o): Update. | |
1009 | * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper | |
1010 | argument. Gather all gdbserver features together. | |
1011 | * fork-child.c (exec_wrapper): New variable. | |
1012 | (fork_inferior): Use it. | |
1013 | (startup_inferior): Skip an extra trap if using "set exec-wrapper". | |
1014 | (unset_exec_wrapper_command, _initialize_fork_child): New. | |
1015 | ||
1016 | 2008-03-10 Hidetaka Takano <[email protected]> | |
80618b99 MS |
1017 | |
1018 | * source.c (directory_command): Modify the determination of | |
1019 | condition of terminal "from_tty". | |
1020 | ||
22566fbd DJ |
1021 | 2008-03-10 Matt Rice <[email protected]> |
1022 | ||
1023 | * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC. | |
1024 | ||
9971ac47 UW |
1025 | 2008-03-10 Hidetaka Takano <[email protected]> |
1026 | ||
1027 | * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end | |
1028 | of the data passing to strtoulst function. | |
1029 | (info_spu_signal_command): Likewise. | |
1030 | ||
835670cf VP |
1031 | 2008-03-08 Vladimir Prus <[email protected]> |
1032 | ||
1033 | * mi/mi-interp.c (mi_command_loop): Remove | |
1034 | commented-out code. | |
1035 | ||
be86555c JB |
1036 | 2008-03-07 Joel Brobecker <[email protected]> |
1037 | ||
1038 | * remote.c (extended_remote_attach_1): Make local variable pid an int | |
1039 | instead of a pid_t. | |
1040 | ||
4d7b2d5b JB |
1041 | 2008-03-07 Joel Brobecker <[email protected]> |
1042 | ||
1043 | * solib-svr4.c (svr4_same_1): New function, originally extracted | |
1044 | from svr4_same and expanded to handle the sparc64 case. | |
1045 | (svr4_same): Move up and reimplement using svr4_same_1. | |
1046 | (enable_break): Use svr4_same_1 to do shared library name comparisons. | |
1047 | ||
61fed90e RR |
1048 | 2008-03-07 Ramana Radhakrishnan <[email protected]> |
1049 | ||
1050 | * MAINTAINERS: Move self to Paper trail. | |
1051 | ||
b803fb0f DJ |
1052 | 2008-03-05 Daniel Jacobowitz <[email protected]> |
1053 | ||
1054 | * Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update. | |
1055 | * event-loop.c (call_async_signal_handler): New. | |
1056 | * event-loop.h (call_async_signal_handler) | |
1057 | (gdb_call_async_signal_handler): Declare. | |
1058 | (mark_async_signal_handler): Add comments. | |
1059 | * event-top.c (handle_sigint): Use gdb_call_async_signal_handler. | |
1060 | * mingw-hdep.c (sigint_event, sigint_handler): New. | |
1061 | (gdb_select): Use them. Wait for the readline signal handler | |
1062 | to finish. | |
1063 | (gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions. | |
1064 | * posix-hdep.c (gdb_call_async_signal_handler): New function. | |
1065 | * remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt): | |
1066 | New. | |
1067 | (remote_fileio_ctrl_c_signal_handler): Use | |
1068 | gdb_call_async_signal_handler. | |
1069 | (initialize_remote_fileio): Initialize sigint_fileio_token. | |
1070 | * remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do | |
1071 | not initialize tokens here. | |
1072 | (handle_remote_sigint_twice): Likewise. Reinstall | |
1073 | handle_remote_sigint. | |
1074 | (async_remote_interrupt_twice): Just call interrupt_query. | |
1075 | (cleanup_sigint_signal_handler): Do not delete tokens. | |
1076 | (remote_interrupt, remote_interrupt_twice): Use | |
1077 | gdb_call_async_signal_handler. | |
1078 | (interrupt_query): Reinstall the default signal handler. | |
1079 | (_initialize_remote): Initialize tokens here. | |
1080 | ||
8f4d54ed JB |
1081 | 2008-03-04 Joel Brobecker <[email protected]> |
1082 | ||
1083 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml, | |
1084 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: | |
1085 | Change the type of the lr register to code_ptr. | |
1086 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
1087 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
1088 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
1089 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
1090 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
1091 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
1092 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate. | |
1093 | ||
95ece428 JW |
1094 | 2008-03-03 James E. Wilson <[email protected]> |
1095 | ||
1096 | * MAINTAINERS: Update my email address. | |
1097 | ||
686a5eed KS |
1098 | 2008-03-03 Keith Seitz <[email protected]> |
1099 | ||
1100 | From Dave Murphy <[email protected]>: | |
1101 | * configure.ac: Set tcl configdir to win under mingw. | |
1102 | * configure: Regenerate. | |
1103 | ||
fa4727a6 DJ |
1104 | 2008-03-03 Daniel Jacobowitz <[email protected]> |
1105 | ||
1106 | * breakpoint.c (fetch_watchpoint_value): New function. | |
1107 | (update_watchpoint): Set and clear val_valid. Use | |
1108 | fetch_watchpoint_value. Handle unreadable values on the | |
1109 | value chain. Correct check for user-requested array watchpoints. | |
1110 | (breakpoint_init_inferior): Clear val_valid. | |
1111 | (watchpoint_value_print): New function. | |
1112 | (print_it_typical): Use it. Do not free or clear old_val. Print | |
1113 | watchpoints even if old_val == NULL. | |
1114 | (watchpoint_check): Use fetch_watchpoint_value. Check for values | |
1115 | becoming readable or unreadable. | |
1116 | (watch_command_1): Use fetch_watchpoint_value. Set val_valid. | |
1117 | (do_enable_watchpoint): Likewise. | |
1118 | * breakpoint.h (struct breakpoint): Update comment for val. Add | |
1119 | val_valid. | |
1120 | * NEWS: Mention watchpoints on inaccessible memory. | |
1121 | ||
c03374d5 DJ |
1122 | 2007-02-29 Daniel Jacobowitz <[email protected]> |
1123 | ||
1124 | * Makefile.in (i386-nat.o): Update. | |
1125 | * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call | |
1126 | i386_use_watchpoints. | |
1127 | * i386-linux-nat.c (_initialize_i386_linux_nat): Call | |
1128 | i386_use_watchpoints. | |
1129 | * i386-nat.c (i386_stopped_data_address): Take two arguments. | |
1130 | (i386_stopped_by_watchpoint): Update call. | |
1131 | (i386_can_use_hw_breakpoint, i386_use_watchpoints): New. | |
1132 | * config/i386/nm-i386.h: Conditionalize definitions on | |
1133 | ! I386_WATCHPOINTS_IN_TARGET_VECTOR. | |
1134 | (i386_use_watchpoints): Declare. | |
1135 | (i386_stopped_data_address): Update. | |
1136 | * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. | |
1137 | * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. | |
1138 | ||
c24d7425 | 1139 | 2008-02-29 Joel Brobecker <[email protected]> |
1140 | ||
1141 | GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC) | |
1142 | * version.in: Bump version to 6.8.50.20080229-cvs. | |
1143 | ||
a7dfd010 MD |
1144 | 2008-02-28 Markus Deuling <[email protected]> |
1145 | ||
1146 | * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING | |
1147 | properly. | |
1148 | ||
258c00cc TT |
1149 | 2008-02-28 Tom Tromey <[email protected]> |
1150 | ||
1151 | * infcmd.c (notice_args_read): Print result of get_inferior_args. | |
1152 | ||
8edfe269 DJ |
1153 | 2008-02-28 Daniel Jacobowitz <[email protected]> |
1154 | ||
1155 | * infcmd.c (kill_if_already_running): Make static. Use | |
1156 | target_require_runnable. | |
1157 | * target.c (target_require_runnable): New. | |
1158 | * target.h (target_require_runnable): Declare. | |
1159 | ||
0d6ba1b1 DJ |
1160 | 2008-02-28 Daniel Jacobowitz <[email protected]> |
1161 | ||
1162 | * frame.c (reinit_frame_cache): Only annotate if frames were | |
1163 | previously valid. | |
1164 | ||
6fe305f7 UW |
1165 | 2008-02-28 Ulrich Weigand <[email protected]> |
1166 | ||
1167 | * regformats/reg-ppc.dat: Rename "ps" to "msr". | |
1168 | * regformats/reg-ppc64.dat: Likewise. | |
1169 | ||
9b4b61c8 UW |
1170 | 2008-02-28 Ulrich Weigand <[email protected]> |
1171 | ||
1172 | * features/Makefile (%.dat): Emit xmltarget statement. | |
1173 | ||
1174 | * regformats/regdat.sh: Support xmltarget and xmlarch statments. | |
1175 | Generate code to set gdbserver_xmltarget in init_registers_${name}. | |
1176 | ||
1177 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
1178 | * regformats/mips64-linux.dat: Regenerate. | |
1179 | * regformats/mips-linux.dat: Regenerate. | |
1180 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
1181 | * regformats/rs6000/powerpc-64.dat: Regenerate. | |
1182 | * regformats/rs6000/powerpc-e500.dat: Regenerate. | |
1183 | ||
1184 | * regformats/reg-arm.dat: Add xmlarch statement. | |
1185 | * regformats/reg-i386.dat: Likewise. | |
1186 | * regformats/reg-i386-linux.dat: Likewise. | |
1187 | * regformats/reg-x86-64-linux.dat: Likewise. | |
1188 | * regformats/reg-spu.dat: Likewise. | |
1189 | ||
20b4711e DJ |
1190 | 2008-02-27 Daniel Jacobowitz <[email protected]> |
1191 | ||
1192 | * remote.c (remote_wait, remote_async_wait): Stop if we receive | |
1193 | an error. | |
1194 | ||
1843f87b DJ |
1195 | 2008-02-27 Daniel Jacobowitz <[email protected]> |
1196 | ||
1197 | * utils.c (debug_timestamp): New. | |
1198 | (vfprintf_unfiltered): Print timestamps if requested. | |
1199 | (show_debug_timestamp): New. | |
1200 | (initialize_utils): Register "set debug timestamp". | |
1201 | * NEWS: Mention "set debug timestamp". Add GDB 6.8 section. | |
1202 | ||
6a048695 JB |
1203 | 2008-02-27 Joel Brobecker <[email protected]> |
1204 | ||
1205 | * breakpoint.c (skip_prologue_sal): New function. | |
1206 | (resolve_sal_pc): Adjust SAL past prologue if the SAL was | |
1207 | computed from a line number. | |
1208 | ||
0b998f49 JB |
1209 | 2008-02-27 Joel Brobecker <[email protected]> |
1210 | ||
1211 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml | |
1212 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: | |
1213 | Set PC register type to "code_ptr". | |
1214 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
1215 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
1216 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
1217 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
1218 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
1219 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
1220 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: | |
1221 | Regenerate. | |
1222 | ||
d05b4ac3 UW |
1223 | 2008-02-27 Ulrich Weigand <[email protected]> |
1224 | ||
1225 | * regformats/regdat.sh: Rename init_registers function in | |
1226 | generated file to init_registers_${name}. | |
1227 | ||
1228 | * regformats/reg-crisv32.dat: Set "name" to crisv32. | |
1229 | * regformats/reg-ppc64.dat: Set "name" to ppc64. | |
1230 | * regformats/reg-s390x.dat: Set "name" to s390x. | |
1231 | ||
a5d9d57d DJ |
1232 | 2008-02-26 Greg Law <[email protected]> |
1233 | ||
1234 | * regcache.c (registers_changed): Call reinit_frame_cache. | |
1235 | ||
e25c958c DJ |
1236 | 2008-02-26 Daniel Jacobowitz <[email protected]> |
1237 | ||
1238 | * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o. | |
1239 | * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver | |
1240 | and svr4_fetch_objfile_link_map. | |
1241 | * Makefile.in (sh-linux-tdep.o): Update. | |
1242 | ||
5daa78cc TJB |
1243 | 2008-02-26 Thiago Jung Bauermann <[email protected]> |
1244 | ||
1245 | * amd64-tdep.c (amd64_classify): Add support for decimal float | |
1246 | types. | |
1247 | * i386-tdep.c (i386_return_value): Make 128-bit decimal float | |
1248 | use the struct return convention. | |
1249 | ||
54e52265 VP |
1250 | 2008-02-26 Nick Roberts <[email protected]> |
1251 | ||
1252 | * breakpoint.c (print_one_breakpoint_location): Revert Enb field | |
1253 | to old format. Discard breakpoint address if shared library is | |
1254 | unloaded. | |
1255 | (breakpoint_1): Adjust formatting of table header accordingly. | |
1256 | ||
d8f2712d VP |
1257 | 2008-02-25 Vladimir Prus <[email protected]> |
1258 | ||
1259 | * remote.c (remote_get_threadlist): If the response | |
1260 | is empty, don't try to parse it. | |
1261 | ||
05ce04a4 VP |
1262 | 2008-02-23 Vladimir Prus <[email protected]> |
1263 | ||
1264 | Unbreak 'target async'. | |
1265 | * serial.c (serial_async): Set the | |
1266 | handler function before enabling async | |
1267 | mode. | |
1268 | ||
b36ec657 DJ |
1269 | 2008-02-22 Daniel Jacobowitz <[email protected]> |
1270 | ||
1271 | * solib-svr4.c (enable_break): Convert r_brk to a code address. | |
1272 | ||
df7df359 PA |
1273 | 2008-02-21 Pedro Alves <[email protected]> |
1274 | ||
1275 | * remote.c (extended_remote_attach_1): Set attach_flag. | |
1276 | (extended_remote_create_inferior_1): Clear attach_flag. | |
1277 | ||
7cd25cfc DJ |
1278 | 2008-02-20 Daniel Jacobowitz <[email protected]> |
1279 | ||
1280 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set | |
1281 | r_brk_offset. | |
1282 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
1283 | * solib-svr4.c (solib_svr4_r_brk): New. | |
1284 | (open_symbol_file_object, svr4_current_sos): Always check the | |
1285 | debug base. | |
1286 | (svr4_fetch_objfile_link_map): Do not set debug_base. | |
1287 | (enable_break): Use r_brk if it is set. | |
1288 | (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. | |
1289 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
1290 | * solib-svr4.h (struct link_map_offsets): Add r_brk_offset. | |
1291 | ||
07ea644b MD |
1292 | 2008-02-20 Markus Deuling <[email protected]> |
1293 | Mark Kettenis <[email protected]> | |
1294 | ||
1295 | * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by | |
1296 | trad_frame_saved_reg. | |
1297 | (trad-frame.h): New include. | |
1298 | ||
1299 | (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs | |
1300 | instead of frame_obstack_zalloc. | |
1301 | (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. | |
1302 | ||
1303 | * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h. | |
1304 | ||
40887e1a MD |
1305 | 2008-02-20 Markus Deuling <[email protected]> |
1306 | ||
1307 | * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess | |
1308 | from disassemble_info instead of gdbarch_byte_order. | |
1309 | ||
1310 | * mips-tdep.c (gdb_print_insn_mips): Likewise. | |
1311 | * arm-tdep.c (gdb_print_insn_arm): Likewise. | |
1312 | ||
ae4b2284 MD |
1313 | 2008-02-20 Markus Deuling <[email protected]> |
1314 | ||
1315 | * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add | |
1316 | gdbarch as parameter. | |
1317 | ||
1318 | * gdbarch.{c,h}: Regenerate. | |
1319 | ||
1320 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
1321 | parameter. | |
1322 | * mem-break.c (default_memory_insert_breakpoint) | |
1323 | (default_memory_remove_breakpoint): Likewise. | |
1324 | * target.h (default_memory_remove_breakpoint) | |
1325 | (default_memory_insert_breakpoint): Likewise. | |
1326 | ||
1327 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
1328 | parameter. Replace current_gdbarch by gdbarch. | |
1329 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
1330 | (m32r_memory_remove_breakpoint): Likewise. | |
1331 | ||
d9bf65d5 DJ |
1332 | 2008-02-19 Daniel Jacobowitz <[email protected]> |
1333 | ||
1334 | * MAINTAINERS: Add Vladimir Prus as MI maintainer. | |
1335 | ||
b93b6ca7 JB |
1336 | 2008-02-19 Joel Brobecker <[email protected]> |
1337 | ||
1338 | * NEWS: Add entry describing Add support improvements. | |
1339 | ||
4ed226fe MD |
1340 | 2008-02-18 Markus Deuling <[email protected]> |
1341 | ||
1342 | * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by | |
1343 | M68K_FP0_REGNUM. | |
1344 | ||
caaa79ad MD |
1345 | 2008-02-18 Markus Deuling <[email protected]> |
1346 | ||
1347 | * sentinel-frame.c (sentinel_frame_prev_register): Do not call | |
1348 | register_offset_hack anymore. | |
1349 | ||
1350 | * regcache.{c,h} (register_offset_hack): Remove. | |
1351 | ||
e38c262f MD |
1352 | 2008-02-18 Markus Deuling <[email protected]> |
1353 | ||
1354 | * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter. | |
1355 | ||
1356 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace | |
1357 | current_gdbarch by gdbarch. | |
1358 | (hppa64_hpux_find_global_pointer): Likewise. | |
1359 | * hppa-tdep.c (hppa_find_global_pointer): Likewise. | |
1360 | (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for | |
1361 | find_global_pointer. | |
1362 | ||
1363 | * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as | |
1364 | parameter. | |
1365 | * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. | |
1366 | ||
1367 | * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead | |
1368 | of gdbarch_num_regs. | |
1369 | ||
1370 | * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and | |
1371 | replace current_gdbarch by gdbarch. | |
1372 | (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr. | |
1373 | ||
206988c4 MD |
1374 | 2008-02-18 Markus Deuling <[email protected]> |
1375 | ||
1376 | * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter | |
1377 | and replace current_gdbarch by gdbarch. | |
1378 | ||
1379 | (store_register): Update call for exec_one_dummy_insn. | |
1380 | (fetch_register, store_register): Update call of regmap. | |
1381 | ||
1382 | * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as | |
1383 | parameter and replace current_gdbarch by gdbarch. | |
1384 | ||
1385 | (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
1386 | the current architecture. Update call for getregs_supplies and | |
1387 | getfpregs_supplies. | |
1388 | (ppcnbsd_fetch_inferior_registers): Likewise. | |
1389 | ||
1390 | * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and | |
1391 | replace current_gdbarch by gdbarch. | |
1392 | (ppcobsd_fetch_registers, ppcobsd_store_registers): Use | |
1393 | get_regcache_arch to get at the current architecture. Update call for | |
1394 | getfpregs_supplies. | |
1395 | ||
f642be6b MD |
1396 | 2008-02-18 Markus Deuling <[email protected]> |
1397 | ||
1398 | * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch | |
1399 | variables. | |
1400 | ||
b1f2bf01 MD |
1401 | 2008-02-15 Markus Deuling <[email protected]> |
1402 | ||
1403 | * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. | |
1404 | ||
ee163bf5 VP |
1405 | 2008-02-14 Vladimir Prus <[email protected]> |
1406 | ||
1407 | * NEWS: Mention pending breakpints in MI. | |
1408 | ||
f6fbcbf9 MD |
1409 | 2008-02-14 Markus Deuling <[email protected]> |
1410 | ||
1411 | * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o. | |
1412 | ||
36af4ef6 MD |
1413 | 2008-02-13 Markus Deuling <[email protected]> |
1414 | ||
1415 | Add script to build and test GDB using enable-targets=all. | |
1416 | ||
1417 | * gdb_buildall.sh: New file. | |
1418 | ||
94a0e877 MG |
1419 | 2008-02-11 Maxim Grigoriev <[email protected]> |
1420 | ||
1421 | * NEWS (New native configurations): Xtensa GNU/Linux. | |
1422 | (New targets): Xtensa GNU/Linux. | |
1423 | * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and | |
1424 | xtensa-linux-tdep.o | |
1425 | (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c | |
1426 | (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. | |
1427 | * configure.tgt (xtensa*-*-linux*): New entry. | |
1428 | * xtensa-config.c (xtensa_tdep): New variable. | |
1429 | (xtensa_config_byte_order, xtensa_config_tdep): Removed. | |
1430 | (rmap): Change format based on new macro XTREG. | |
1431 | (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. | |
1432 | * xtensa-linux-nat.c: New. | |
1433 | * xtensa-linux-tdep.c: New. | |
1434 | * xtensa-xtregs.c: New. | |
1435 | * xtensa-tdep.h (xtensa_elf_gregset_t): Update. | |
1436 | (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) | |
1437 | (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. | |
1438 | (xtensa_register_t): New field coprocessor. | |
1439 | (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. | |
1440 | * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. | |
1441 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): | |
1442 | Update to handle privileged registers. | |
1443 | (xtensa_supply_gregset) Remove exccause and excvaddr registers. | |
1444 | (xtensa_push_dummy_call): Set windowstart register correctly. | |
1445 | (call0_analyze_prologue): Initialize xtensa_default_isa. | |
1446 | (xtensa_derive_tdep): New. | |
1447 | (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and | |
1448 | xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. | |
1449 | Call xtensa_derive_tdep(). | |
1450 | * config/xtensa/linux.mh: New. | |
1451 | * regformats/reg-xtensa.dat: New. | |
1452 | ||
b7ee1b0a | 1453 | 2008-02-09 Aleksandar Ristovski <[email protected]> (tiny change) |
f90c07ac EZ |
1454 | |
1455 | * corelow.c (core_open): Use IS_ABSOLUTE_PATH. | |
1456 | (filenames.h): New include. | |
1457 | * Makefile.in (corelow.o): Add dependency for filenames.h. | |
1458 | ||
8da2a1df DJ |
1459 | 2008-02-08 Doug Evans <[email protected]> |
1460 | ||
1461 | * source.c (find_and_open_source): Always rewrite absolute filenames. | |
1462 | ||
776592bf DE |
1463 | 2008-02-07 Doug Evans <[email protected]> |
1464 | ||
1465 | * breakpoint.c: #include "hashtab.h". | |
1466 | (ambiguous_names_p): New fn. | |
1467 | (update_breakpoint_locations): When restoring bp enable status, don't | |
1468 | compare function names if any functions have same name. | |
1469 | * Makefile.in (breakpoint.o): Add hashtab.h dependency. | |
1470 | ||
d6565258 JB |
1471 | 2008-02-07 Joel Brobecker <[email protected]> |
1472 | ||
1473 | * ada-lang.c (symbol_completion_add): Make SV parameter a VEC** | |
1474 | instead of just a VEC*. Update use of SV. | |
1475 | (ada_make_symbol_completion_list): Update symbol_completion_add calls. | |
1476 | ||
6d53d0af JB |
1477 | 2007-02-07 Joel Brobecker <[email protected]> |
1478 | ||
1479 | * NEWS: Put all new commands since gdb-6.7 together. | |
1480 | ||
2ba95b9b JB |
1481 | 2007-02-07 Joel Brobecker <[email protected]> |
1482 | ||
1483 | * ada-lang.c: #include "vec.h". | |
1484 | (struct string_vector, new_string_vector, string_vector_append): | |
1485 | Delete. | |
1486 | (char_ptr): New typedef. | |
1487 | (DEF_VEC_P (char_ptr)): New VEC type. | |
1488 | (symbol_completion_add): Update profile to take the new VEC type | |
1489 | instead of the old string_vector structure. Update code accordingly. | |
1490 | (ada_make_symbol_completion_list): Use the new VEC type instead of | |
1491 | the old string_vector structure, and update the code accordingly. | |
1492 | * Makefile.in (ada-lang.o): Add dependency on vec.h. | |
1493 | ||
4ae0885a PM |
1494 | 2008-02-06 Pierre Muller <[email protected]> |
1495 | ||
1496 | * p-exp.y: Set current_type in missing places. | |
1497 | (leftdiv_is_integer): New static variable. | |
1498 | Typecast right operand of BINOP_DIV to long_double if both operands | |
1499 | are integers. | |
1500 | ||
06b1d59c MR |
1501 | 2008-02-06 Maciej W. Rozycki <[email protected]> |
1502 | ||
1503 | * remote-mips.c (set_breakpoint): Rename to... | |
1504 | (mips_set_breakpoint): ... this. | |
1505 | (clear_breakpoint): Rename to... | |
1506 | (mips_clear_breakpoint): ... this. | |
1507 | (common_breakpoint): Rename to... | |
1508 | (mips_common_breakpoint): ... this. | |
1509 | (check_lsi_error): Rename to... | |
1510 | (mips_check_lsi_error): ... this. | |
1511 | ||
41d27058 JB |
1512 | 2007-02-05 Joel Brobecker <[email protected]> |
1513 | ||
1514 | * language.h (struct language_defn): Add new field | |
1515 | la_make_symbol_completion_list. | |
1516 | * symtab.c (default_make_symbol_completion_list): Renames | |
1517 | make_symbol_completion_list. | |
1518 | (make_symbol_completion_list): New function. | |
1519 | * symtab.h (default_make_symbol_completion_list): Add declaration. | |
1520 | * langauge.c (unknown_language): Set la_make_symbol_completion_list. | |
1521 | (auto_language, local_language): Likewise. | |
1522 | * objc-lang.c (objc_language_defn): Likewise. | |
1523 | * scm-lang.c (scm_language_defn): Likewise. | |
1524 | * m2-lang.c (m2_language_defn): Likewise. | |
1525 | * f-lang.c (f_language_defn): Likewise. | |
1526 | * jv-lang.c (java_language_defn): Likewise. | |
1527 | * p-lang.c (pascal_language_defn): Likewise. | |
1528 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn) | |
1529 | (minimal_language_defn): Likewise. | |
1530 | * ada-lang.c (struct string_vector): New structure. | |
1531 | (new_string_vector, string_vector_append, ada_unqualified_name) | |
1532 | (add_angle_brackets, symbol_completion_match, symbol_completion_add) | |
1533 | (ada_make_symbol_completion_list): New functions. | |
1534 | (ada_language_defn): Set la_make_symbol_completion_list. | |
1535 | * ada-lang.h (ada_make_symbol_completion_list): Remove declaration, | |
1536 | this function is static. | |
1537 | ||
ee3a2f01 KB |
1538 | 2008-02-05 Kevin Buettner <[email protected]> |
1539 | ||
1540 | * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer | |
1541 | to account for call site optimizations. | |
1542 | ||
d844e34b JB |
1543 | 2008-02-05 Andrzej Zaborowski <[email protected]> |
1544 | ||
1545 | * tracepoint.c (read_actions): Handle end-of-text indicator | |
1546 | in action list properly. (Committed by Jim Blandy) | |
1547 | ||
02e4669d JB |
1548 | 2008-02-05 Jim Blandy <[email protected]> |
1549 | ||
1550 | * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a | |
1551 | pseudoregister, not an internal error. | |
85ecb32b | 1552 | Reported by: Andrzej Zaborowski |
02e4669d | 1553 | |
c39c8256 VP |
1554 | 2008-02-04 Vladimir Prus <[email protected]> |
1555 | ||
1556 | * varobj.c (c_value_of_variable): Use xstrdup. | |
1557 | ||
ae7d22a6 VP |
1558 | 2008-02-04 Vladimir Prus <[email protected]> |
1559 | ||
1560 | Update stored rendition of varobj value when format changes. | |
1561 | * varobj.c (varobj_set_display_format): Recomputed | |
1562 | print_value. | |
1563 | (c_value_of_variable): Return print_value. | |
1564 | ||
81fe8080 DE |
1565 | 2008-02-03 Doug Evans <[email protected]> |
1566 | ||
301f0ecf DE |
1567 | * eval.c (evaluate_subexp_standard): Fix type of result of mixed |
1568 | integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. | |
1569 | * valops.c (value_one): New function. | |
1570 | * value.h (value_one): Declare. | |
1571 | ||
1572 | Fix argument promotion for binary arithmetic ops for C. | |
1573 | * valarith.c (unop_result_type): New fn. | |
1574 | (binop_result_type): New fn. | |
1575 | (value_binop): Move result type computation to binop_result_type. | |
1576 | (value_pos, value_neg, value_complement): Move result type | |
1577 | computation to unop_result_type. | |
1578 | ||
81fe8080 DE |
1579 | PR 2384 |
1580 | * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
1581 | Return basetype, fieldno if found. All callers updated. | |
1582 | Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different | |
1583 | objfile. | |
1584 | * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
1585 | * symfile.h (fill_in_vptr_fieldno): Delete. | |
1586 | ||
41808ebe DE |
1587 | 2008-02-02 Doug Evans <[email protected]> |
1588 | ||
f8597ac3 DE |
1589 | * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero. |
1590 | ||
41808ebe DE |
1591 | * typeprint.c (*): Whitespace cleanup. |
1592 | ||
f964a756 MK |
1593 | 2008-02-02 Mark Kettenis <[email protected]> |
1594 | Luis Machado <[email protected]> | |
1595 | Thiago Jung Bauermann <[email protected]> | |
1596 | ||
1597 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that | |
1598 | don't fit into registerson the stack the way GCC does. | |
1599 | ||
b06ead72 JB |
1600 | 2008-02-01 Joel Brobecker <[email protected]> |
1601 | ||
1602 | * symtab.c (symbol_set_names): Do not add an entry in the demangling | |
1603 | hash table for Ada symbols. Just store the linkage name as is, | |
1604 | and leave the demangled_name as NULL. | |
1605 | ||
2cfa0c8d JB |
1606 | 2007-02-01 Joel Brobecker <[email protected]> |
1607 | ||
1608 | * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms | |
1609 | in the global scope. | |
1610 | (new_symbol): Likewise. | |
1611 | ||
98deb0da VP |
1612 | 2008-02-01 Vladimir Prus <[email protected]> |
1613 | ||
1614 | * breakpoint.c (break_command_1): Return void. | |
1615 | (break_command_really): Return void. Rethrow | |
1616 | exceptions instead of returning. | |
1617 | (gdb_breakpoint): Remove the error_message parameter. | |
1618 | Return void. Rename to set_breakpoint. | |
1619 | * gdb.h (gdb_breakpoint): Rename and move to... | |
1620 | * breakpoint.h (set_breakpoint): ...here. | |
1621 | * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore | |
1622 | event hooks even if exception is thrown. Adjust to | |
1623 | gdb_breakpoint interface changes. | |
1624 | ||
1625 | ||
ce0451ad TJB |
1626 | 2008-02-01 Thiago Jung Bauermann <[email protected]> |
1627 | ||
1628 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit | |
1629 | float in both first and second word in the doubleword, to support | |
1630 | old and new ABIs. | |
1631 | ||
723a2275 VP |
1632 | 2008-02-01 Vladimir Prus <[email protected]> |
1633 | ||
1634 | Properly rethrow exception. This fixes errors | |
1635 | about non-existent functions for -break-insert. | |
1636 | * breakpoint.c (break_command_really): Use throw_exception | |
1637 | for rethrowing. If rethrowing, don't print the exception. | |
1638 | ||
d64a946d TJB |
1639 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
1640 | ||
1641 | * NEWS: Mention Decimal Floating Point support. | |
1642 | ||
02b156f5 JB |
1643 | 2008-01-31 Joel Brobecker <[email protected]> |
1644 | ||
1645 | * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned | |
1646 | value type to builtin_type_void_func_ptr. | |
1647 | ||
a16b8bcd UW |
1648 | 2008-01-31 Andreas Krebbel <[email protected]> |
1649 | ||
1650 | * s390-tdep.c (is_float_singleton, is_float_like, | |
1651 | alignment_of, s390_return_value): Make checks for | |
1652 | TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. | |
1653 | ||
f949c649 TJB |
1654 | 2008-01-31 Luis Machado <[email protected]> |
1655 | Thiago Jung Bauermann <[email protected]> | |
1656 | ||
1657 | * infcmd.c (default_print_registers_info): Also print hex | |
1658 | raw contents for TYPE_CODE_DECFLOAT registers. | |
1659 | * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. | |
1660 | * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. | |
1661 | (rs6000_register_name): Add support for DFP pseudo-registers. | |
1662 | (rs6000_pseudo_register_type): Likewise. | |
1663 | rs6000_pseudo_register_reggroup_p): Likewise. | |
1664 | (ppc_pseudo_register_read): New function. | |
1665 | (ppc_pseudo_register_write): Likewise. | |
1666 | (rs6000_pseudo_register_read): Likewise. | |
1667 | (rs6000_pseudo_register_write): Likewise. | |
1668 | (e500_pseudo_register_read): Move checks to | |
1669 | rs6000_pseudo_register_read. | |
1670 | (e500_pseudo_register_write): Move checks to | |
1671 | rs6000_pseudo_register_write. | |
1672 | (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install | |
1673 | rs6000_pseudo_register_read and rs6000_pseudo_register_write | |
1674 | in gdbarch if SPE or DFP is available. Adjust gdbarch's | |
1675 | num_pseudo_regs to account for DFP pseudo regs. | |
1676 | ||
5a9e69ba TJB |
1677 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
1678 | ||
1679 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. | |
1680 | * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. | |
1681 | (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, | |
1682 | rs6000_pseudo_register_reggroup_p, e500_move_ev_register, | |
1683 | e500_pseudo_register_read, e500_pseudo_register_write): Use | |
1684 | IS_SPE_PSEUDOREG macro. | |
1685 | (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. | |
1686 | (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. | |
1687 | Remove initialization of tdep->ppc_ev31_regnum. | |
1688 | ||
4e885b20 JB |
1689 | 2008-01-08 Paul Hilfinger <[email protected]> |
1690 | ||
1691 | * printcmd.c (print_formatted): Handle references as for unformatted | |
1692 | prints. | |
1693 | ||
80f064a2 JB |
1694 | 2008-01-30 Joel Brobecker <[email protected]> |
1695 | ||
1696 | * eval.c (evaluate_subexp_standard): Add handling of user | |
1697 | registers when in EVAL_AVOID_SIDE_EFFECTS mode. | |
1698 | ||
9b3442ee PM |
1699 | 2008-01-30 Pierre Muller <[email protected]> |
1700 | ||
1701 | * eval.c (evaluate_subexp_standard): Support | |
1702 | BINOP_INTDIV opcode. | |
1703 | ||
d118ef87 PH |
1704 | 2008-01-30 Paul N. Hilfinger <[email protected]> |
1705 | ||
1706 | * valarith.c (value_binop): Add floating-point BINOP_MIN and | |
1707 | BINOP_MAX cases. | |
1708 | For BINOP_EXP, use length and signedness of left operand only for | |
1709 | result, as for shifts. | |
1710 | For integral operands to BINOP_EXP, use new integer_pow and | |
1711 | uinteger_pow functions so as to get full range of results. | |
1712 | (integer_pow): New function. | |
1713 | (uinteger_pow): New function. | |
1714 | ||
d56d46f5 VP |
1715 | 2008-01-30 Vladimir Prus <[email protected]> |
1716 | ||
1717 | Use vector for varobj_list_children interface. | |
1718 | * gdb/varobj.c (varobj_list_children): Return vector | |
1719 | of varobjs. | |
1720 | * gdb/varobj.h (varobj_list_children): Adjust | |
1721 | prototype. | |
1722 | (varobj_p): Declare. Declare vector thereof. | |
1723 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust | |
1724 | for varobj_list_children change. | |
1725 | * Makefile.in (varobj_h): Update dependencies. | |
1726 | ||
1300a2f4 TJB |
1727 | 2008-01-30 Thiago Jung Bauermann <[email protected]> |
1728 | ||
1729 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for | |
1730 | TYPE_CODE_DECFLOAT arguments. | |
1731 | (ppc64_sysv_abi_push_dummy_call) Likewise. | |
1732 | (get_decimal_float_return_value): New function. | |
1733 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return | |
1734 | values by calling get_decimal_float_return_value. | |
1735 | (ppc64_sysv_abi_return_value): Likewise. | |
1736 | ||
95ef687d NR |
1737 | 2008-01-30 Nick Roberts <[email protected]> |
1738 | ||
1739 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field | |
1740 | for preprocessor macro information. Formatting changes. | |
1741 | ||
2d717e4f DJ |
1742 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
1743 | ||
1744 | * remote.c (struct remote_state): Add cached_wait_status. | |
1745 | (remote_exec_file): New variable. | |
1746 | (PACKET_vAttach, PACKET_vRun): New constants. | |
1747 | (extended_remote_restart): Do not query for status. | |
1748 | (struct start_remote_args): New. | |
1749 | (remote_start_remote): Take it as a second argument. Check | |
1750 | whether the target is running. Issue an error for non-running | |
1751 | non-extended targets. Cache the wait status. Set inferior_ptid | |
1752 | here. | |
1753 | (remote_open_1): Prompt to disconnect non-running targets. Make | |
1754 | sure the target is marked running. Do not set inferior_ptid here. | |
1755 | Update call to remote_start_remote. Do not call remote_check_symbols | |
1756 | if the target is not running. | |
1757 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED | |
1758 | argument. Handle a non-running target. | |
1759 | (remote_detach): Use it. | |
1760 | (extended_remote_detach): New. | |
1761 | (remote_disconnect): Fix typo. Use remoute_mourn_1. | |
1762 | (extended_remote_attach_1, extended_remote_attach) | |
1763 | (extended_async_remote_attach): New. | |
1764 | (remote_vcont_resume): Remove unused variable. | |
1765 | (remote_wait, remote_async_wait): Use any cached wait status. | |
1766 | (putpkt_binary, getpkt): Clear any cached wait status. | |
1767 | (extended_remoute_mourn_1): New. | |
1768 | (extended_remote_mourn): Use it. | |
1769 | (extended_async_remote_mourn, extended_remote_run): New. | |
1770 | (extended_remote_create_inferior_1): New. | |
1771 | (extended_remote_create_inferior): Use it. | |
1772 | (extended_remote_async_create_inferior): Likewise. | |
1773 | (remote_xfer_partial): Skip for non-executing targets. | |
1774 | (init_extended_remote_ops): Set to_detach and to_attach. | |
1775 | (init_extended_async_remote_ops): Likewise. Use | |
1776 | extended_async_remote_mourn. | |
1777 | (_initialize_remote): Register vAttach, vRun, and | |
1778 | set remote exec-file. | |
1779 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. | |
1780 | ||
e85a822c DJ |
1781 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
1782 | ||
1783 | * Makefile.in (symfile.o): Update. | |
1784 | * NEWS: Mention exec tracing support. | |
1785 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for | |
1786 | exec events. | |
1787 | * infcmd.c (kill_if_already_running, detach_command) | |
1788 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. | |
1789 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. | |
1790 | (follow_exec): Do not check may_follow_exec. Do not mourn and push | |
1791 | targets. Apply the sysroot path to the loaded executable. Use | |
1792 | no_shared_libraries. | |
1793 | * linux-nat.c (linux_child_follow_fork): Print fork following | |
1794 | messages if verbose. | |
1795 | (kill_wait_callback): Kill again before waiting a second time. | |
1796 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with | |
1797 | no_shared_libraries. | |
1798 | ||
9db13498 JB |
1799 | 2008-01-29 Joel Brobecker <[email protected]> |
1800 | ||
1801 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. | |
1802 | ||
b4d5ed91 JB |
1803 | 2008-01-29 Joel Brobecker <[email protected]> |
1804 | ||
1805 | * nto-tdep.h: Remove #include "defs.h". | |
1806 | * nto-tdep.c: Add #include "defs.h". | |
1807 | * Makefile.in (nto_tdep_h): Update dependencies. | |
1808 | (nto-tdep.o): Likewise. | |
1809 | ||
107313f7 | 1810 | 2008-01-29 Joel Brobecker <[email protected]> |
ae123ec6 JB |
1811 | |
1812 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter | |
1813 | and use it. | |
1814 | (proceed, start_remote): Update call to wait_for_inferior. | |
1815 | * inferior.h (wait_for_inferior): Update declaration. | |
1816 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, | |
1817 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. | |
1818 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as | |
1819 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. | |
1820 | ||
3f4178d6 DJ |
1821 | 2008-01-29 Aleksandar Ristovski <[email protected]> |
1822 | ||
1823 | * varobj (adjust_value_for_child_access): Added checking for | |
1824 | returned value from gdb_value_ind. | |
1825 | (c_describe_child): Likewise. | |
1826 | (cplus_describe_child): Fixed a typo. | |
1827 | ||
5eeba8d4 JB |
1828 | 2008-01-29 Jim Blandy <[email protected]> |
1829 | ||
1830 | * MAINTAINERS: Update my info. | |
1831 | ||
a5606eee VP |
1832 | 2008-01-29 Vladimir Prus <[email protected]> |
1833 | ||
1834 | Use multiple locations for hardware watchpoints. | |
1835 | This eliminates the need to traverse value chain, doing | |
1836 | various checks, in three different places. | |
1837 | ||
1838 | * breakpoint.h (struct bp_location): New fields | |
1839 | lengths and watchpoint_type. | |
1840 | (struct breakpoint): Remove the val_chain field. | |
1841 | * breakpoint.c (is_hardware_watchpoint): New. | |
1842 | (free_valchain): Remove. | |
1843 | (update_watchpoint): New. | |
1844 | (insert_bp_location): For hardware watchpoint, just | |
1845 | directly insert it. | |
1846 | (insert_breakpoints): Call update_watchpoint_locations | |
1847 | on all watchpoints. If we have failed to insert | |
1848 | any location of a hardware watchpoint, remove all inserted | |
1849 | locations. | |
1850 | (remove_breakpoint): For hardware watchpoints, directly | |
1851 | remove location. | |
1852 | (watchpoints_triggered): Iterate over locations. | |
1853 | (bpstat_stop_status): Use only first location of | |
1854 | a resource watchpoint. | |
1855 | (delete_breakpoint): Don't call free_valchain. | |
1856 | (print_one_breakpoint): Don't print all | |
1857 | locations for watchpoints. | |
1858 | (breakpoint_re_set_one): Use update_watchpoint for | |
1859 | watchpoints. | |
1860 | ||
0b3de036 VP |
1861 | 2008-01-29 Vladimir Prus <[email protected]> |
1862 | ||
1863 | Don't reset watchpoint block on solib load. | |
1864 | ||
1865 | * breakpoint.c (insert_bp_location): For watchpoints, | |
1866 | recompute condition. | |
1867 | (breakpoint_re_set_one): Instead of recomputing value | |
1868 | and condition for watchpoints, just reset value and | |
1869 | let insert_breakpoints/insert_bp_location recompute it. | |
1870 | Don't do anything about disabled watchpoint. | |
1871 | ||
c3940723 PM |
1872 | 2008-01-29 Pierre Muller <[email protected]> |
1873 | ||
1874 | * valarith.c (value_binop): Handle unsigned integer | |
1875 | division by zero. | |
1876 | ||
83845630 KB |
1877 | 2008-01-28 Kevin Buettner <[email protected]> |
1878 | ||
1879 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an | |
1880 | instruction pattern that appears frequently in position | |
1881 | independent code. Fix bug in code which looks for "fmov" and | |
1882 | backtracks if no "fmov" is found. | |
1883 | ||
9ce5d3bb DE |
1884 | 2008-01-28 Doug Evans <[email protected]> |
1885 | ||
1886 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
131fe1bb DE |
1887 | Reformat comments to 80 columns. |
1888 | Move local var def closer to only use. | |
9ce5d3bb | 1889 | |
c78d192c DJ |
1890 | 2008-01-28 Daniel Jacobowitz <[email protected]> |
1891 | ||
1892 | * fork-child.c (SHELL_FILE): Remove #ifndef. | |
1893 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. | |
1894 | ||
e11481da PM |
1895 | 2008-01-25 Pierre Muller <[email protected]> |
1896 | ||
1897 | * i386-tdep.c (i386_skip_noop): New function. | |
1898 | (i386_analyze_prologue): Call i386_skip_noop function. | |
1899 | ||
244e85c8 MS |
1900 | 2008-01-24 Michael Snyder <[email protected]> |
1901 | ||
1902 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. | |
1903 | * win32-nat.c (win32_xfer_partial): Ditto. | |
1904 | * target.c (default_xfer_partial): Minor whitespace adjustment. | |
1905 | ||
dd6be234 PA |
1906 | 2008-01-24 Pedro Alves <[email protected]> |
1907 | ||
1908 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't | |
1909 | strip bit 1 even if pc doesn't point to thumb code. | |
1910 | ||
9fa2223d DJ |
1911 | 2008-01-23 Daniel Jacobowitz <[email protected]> |
1912 | ||
1913 | * remote.c (remote_wait): Handle SIGINT between packets. | |
1914 | (remote_async_wait): Likewise. | |
1915 | ||
93815fbf VP |
1916 | 2008-01-23 Vladimir Prus <[email protected]> |
1917 | Chris Demetriou <[email protected]> | |
1918 | ||
1919 | * thread.c (add_thread_silent): Renamed | |
1920 | from add_thread. | |
1921 | (print_thread_events): New variable definition. | |
1922 | (show_print_thread_events): New function. | |
1923 | (_initialize_thread): Add "set print thread-events" and | |
1924 | "show print thread-events" commands. | |
1925 | (add_thread): Announce new thread. | |
1926 | * gdbthread.h (add_thread_silent): Declare. | |
1927 | (print_thread_events): New variable declaration. | |
1928 | * inf-ttrace.c (inf_ttrace_wait): Don't | |
1929 | inform about new thread, as add_thread is always | |
1930 | called too, and will take care of that. | |
1931 | * infrun.c (handle_inferior_event): Likewise. | |
1932 | * procfs.c (procfs_wait): Likewise. | |
1933 | * remote.c (remote_currthread): Likewise. | |
1934 | * sol-thread.c (sol_thread_wait): Likewise. | |
1935 | * win32-nat.c (get_win32_debug_event): Likewise. | |
1936 | * linux-thread-db.c (attach_thread): Likewise. | |
1937 | Remove the verbose parameter. | |
1938 | (check_event): Make detach_thread be verbose | |
1939 | only if print_thread_events is set. | |
1940 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform | |
1941 | about new thread. This is called only from | |
1942 | linux-thread-db.c:attach_thread, which will take care. | |
1943 | Remove the verbose parameter. | |
1944 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. | |
1945 | ||
b4d7c9a6 NR |
1946 | 2008-01-23 Nick Roberts <[email protected]> |
1947 | ||
1948 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. | |
1949 | ||
60c46647 VP |
1950 | 2008-01-22 Vladimir Prus <[email protected]> |
1951 | ||
1952 | * breakpoint.c (break_command_really): New parameter | |
1953 | ignore_count. | |
1954 | (break_command_1): Pass 0 as | |
1955 | ignore_count to break_command_really. | |
1956 | (gdb_breakpoint): Pass ignore_count to | |
1957 | break_command_really. | |
1958 | ||
e84605cd KB |
1959 | 2008-01-21 Kevin Buettner <[email protected]> |
1960 | ||
1961 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find | |
1962 | sigcontext struct via pointer. | |
1963 | (struct sigframe comment): Update to show new field `psc'. | |
1964 | ||
9d9cd7ac VP |
1965 | 2008-01-21 Vladimir Prus <[email protected]> |
1966 | ||
1967 | * infrun.c (handle_inferior_event): If | |
1968 | we failed to remove breakpoints, error, | |
1969 | don't try to increment PC by hand. | |
1970 | ||
af5ca30d NH |
1971 | 2008-01-18 Nick Hudson <[email protected]> |
1972 | ||
1973 | Add NetBSD/hppa target and host support. | |
1974 | ||
1975 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... | |
1976 | (hppabsd_gregset): Move to ... | |
1977 | (hppabsd_regset_from_core_section): Rename | |
1978 | hppaobsd_regset_from_core_section and move to ... | |
1979 | (hppabsd_find_global_pointer): Update comment. | |
1980 | (hppabsd_init_abi): Make global. Do not register | |
1981 | hppabsd_regset_from_core_section. | |
1982 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and | |
1983 | move to ... | |
1984 | (_initialize_hppabsd_tdep): Move to ... | |
1985 | * hppaobsd-tdep.c: ... here. New file. | |
1986 | * hppnbsd-tdep.c: New file. | |
1987 | * hppnbsd-nat.c: New file. | |
1988 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. | |
1989 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
1990 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. | |
1991 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. | |
1992 | * configure.host (hppa*-*-netbsd*): New entry. | |
1993 | * configure.tgt (hppa*-*-netbsd*): New entry. | |
1994 | (hppa*-*-openbsd*): Update. | |
1995 | * NEWS (New native configuration): Mention NetBSD/hppa. | |
1996 | (New targets): Mention NetBSD/hppa. | |
1997 | ||
32c9a795 MD |
1998 | 2008-01-18 Markus Deuling <[email protected]> |
1999 | ||
2000 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
2001 | gdbarch structure. | |
2002 | * gdbarch.{c,h}: Regenerate. | |
2003 | ||
2004 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
2005 | gdbarch_bits_big_endian (comment). | |
2006 | (unpack_field_as_long, modify_field): Likewise. | |
2007 | * value.h: Likewise (comment). | |
2008 | * valops.c (value_slice): Likewise. | |
2009 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
2010 | * gdbtypes.h (field): Likewise (comment). | |
2011 | * eval.c (evaluate_subexp_standard): Likewise. | |
2012 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
2013 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
2014 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
2015 | ||
2016 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
2017 | ||
1e5e79d0 MD |
2018 | 2008-01-18 Markus Deuling <[email protected]> |
2019 | ||
2020 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
2021 | function calls. | |
2022 | * m2-exp.y (yylex): Likewise. | |
2023 | * objc-exp.y (yylex): Likewise. | |
2024 | ||
2025 | * defs.h (DEPRECATED_STREQN): Remove. | |
2026 | ||
fabda5a7 L |
2027 | 2008-01-17 H.J. Lu <[email protected]> |
2028 | ||
2029 | * MAINTAINERS: Update my email address. | |
2030 | ||
92726479 JB |
2031 | 2008-01-17 Jim Blandy <[email protected]> |
2032 | ||
2033 | * README: Mention gdbserver/README. | |
2034 | ||
ef80d18e PM |
2035 | 2008-01-17 Pierre Muller <[email protected]> |
2036 | ||
2037 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
2038 | for unsigned and signed integers. | |
2039 | ||
1de90795 UW |
2040 | 2008-01-17 Ulrich Weigand <[email protected]> |
2041 | ||
2042 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
2043 | type to 128-bit IEEE quad. | |
2044 | ||
c70bd6f3 JB |
2045 | 2008-01-17 Joel Brobecker <[email protected]> |
2046 | ||
2047 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
2048 | ||
ba759613 MK |
2049 | 2008-01-16 Mark Kettenis <[email protected]> |
2050 | ||
77d49ac6 MK |
2051 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
2052 | ||
ba759613 MK |
2053 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
2054 | * value.c: All callers changed. | |
2055 | ||
7ecb6532 MD |
2056 | 2008-01-16 Markus Deuling <[email protected]> |
2057 | ||
2058 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
2059 | DEPRECATED_STREQ by its expression. | |
2060 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
2061 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
2062 | (scan_xcoff_symtab): Likewise. | |
2063 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
2064 | * f-lang.c (find_common_for_function): Likewise. | |
2065 | * objc-exp.y (parse_number): Likewise. | |
2066 | ||
2067 | * defs.h (DEPRECATED_STREQ): Remove. | |
2068 | ||
d15cf01c MD |
2069 | 2008-01-16 Markus Deuling <[email protected]> |
2070 | ||
2071 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
2072 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
2073 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
2074 | call. | |
2075 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
2076 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
2077 | architecture. | |
2078 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
2079 | ||
f8028488 MD |
2080 | 2008-01-16 Markus Deuling <[email protected]> |
2081 | ||
2082 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
2083 | parameter. | |
2084 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
2085 | ||
2086 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
2087 | current_gdbarch by gdbarch. Update caller. | |
2088 | ||
2089 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
2090 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
2091 | the current architecture. Update calls of | |
2092 | amd64_native_gregset_supplies_p. | |
2093 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
2094 | (amd64bsd_store_inferior_registers): Likewise. | |
2095 | ||
e101270f MD |
2096 | 2008-01-16 Markus Deuling <[email protected]> |
2097 | ||
2098 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
2099 | Replace current_gdbarch by gdbarch. Update caller. | |
2100 | ||
063e58ba MD |
2101 | 2008-01-16 Markus Deuling <[email protected]> |
2102 | ||
2103 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
2104 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
2105 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
2106 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
2107 | (stabsect_build_psymtabs): Fix indentation. | |
2108 | ||
662fb31b MS |
2109 | 2008-01-15 Michael Snyder <[email protected]> |
2110 | ||
2111 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
2112 | ||
c1766e7d PM |
2113 | 2008-01-14 Pierre Muller <[email protected]> |
2114 | ||
2115 | * win32-nat.c (win32_create_inferior): Restore code calling | |
2116 | CloseHandle on ProcessInformation structure. | |
2117 | ||
5ed10e6e NH |
2118 | 2008-01-13 Nick Hudson <[email protected]> |
2119 | ||
2120 | * configure.ac: Check for void * as 3 argument of ptrace. | |
2121 | * configure: regenerate. | |
2122 | ||
be8626e0 MD |
2123 | 2008-01-11 Markus Deuling <[email protected]> |
2124 | ||
2125 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
2126 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
2127 | current_gdbarch by gdbarch. | |
2128 | ||
2129 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
2130 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
2131 | call. | |
2132 | ||
2133 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
2134 | get_frame_arch to get at the current architecture by frame_info. Update | |
2135 | alpha_sigtramp_register_address call. | |
2136 | ||
2137 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
2138 | current_gdbarch by gdbarch. Update caller. | |
2139 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
2140 | for comparison. Update caller. | |
2141 | (arm_extract_return_value, arm_store_return_value): Use | |
2142 | get_regcache_arch to get at the current architecture. | |
2143 | ||
2144 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
2145 | current_gdbarch by gdbarch. Update caller. | |
2146 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
2147 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
2148 | ||
2149 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
2150 | gdbarch as parameter. Update caller. | |
2151 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
2152 | current_gdbarch by gdbarch. Update caller. | |
2153 | ||
2154 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
2155 | update caller. Replace current_gdbarch by gdbarch. | |
2156 | ||
2157 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
2158 | the current architecture. Replace current_gdbarch by gdbarch. | |
2159 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
2160 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
2161 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
2162 | it. Update caller. | |
2163 | (M6811_TDEP): Remove. | |
2164 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
2165 | architecture. | |
2166 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
2167 | current_gdbarch by gdbarch. Update caller. | |
2168 | ||
2169 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
2170 | update caller. | |
2171 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
2172 | by gdbarch. | |
2173 | ||
2174 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
2175 | caller. Relace current_gdbarch by gdbarch. | |
2176 | (altivec_register_p, spe_register_p): Likewise. | |
2177 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
2178 | parameter. | |
2179 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
2180 | altivec_register_p and spe_register_p. | |
2181 | ||
2182 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
2183 | caller. Replace current_gdbarch by gdbarch. | |
2184 | (score_analyze_prologue): use get_frame_arch to get at the current | |
2185 | architecture. | |
2186 | ||
2187 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
2188 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
2189 | current_gdbarch by gdbarch. Update caller. | |
2190 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
2191 | architecture. | |
2192 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
2193 | sparc_analyze_prologue. | |
2194 | ||
2195 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
2196 | parameter. | |
2197 | ||
ed49a04f MD |
2198 | 2008-01-11 Markus Deuling <[email protected]> |
2199 | ||
2200 | * exec.c: #include "arch-utils.h" | |
2201 | (print_section_info): Use gdbarch_from_bfd to get at the | |
2202 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
2203 | deprecated_print_address_numeric by paddress. | |
2204 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
2205 | ||
2206 | * valprint.c (val_print_string): Replace | |
2207 | deprecated_print_address_numeric. | |
2208 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
2209 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
2210 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
2211 | (maintenance_check_symtabs): Likewise. | |
2212 | * symfile.c (list_overlays_command): Likewise. | |
2213 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
2214 | * printcmd.c (print_address, print_address_demangle) | |
2215 | (address_info): Likewise. | |
2216 | * corefile.c (memory_error): Likewise. | |
2217 | * infcmd.c (jump_command): Likewise. | |
2218 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
2219 | (mention, delete_breakpoint): Likewise. | |
2220 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
2221 | * dwarf2read.c (dump_die): Likewise. | |
2222 | * ada-valprint.c (ada_val_print_1): Likewise. | |
2223 | * f-valprint.c (f_val_print): Likewise. | |
2224 | * linux-fork.c (info_forks_command): Likewise. | |
2225 | * m32r-com.c (m32r_load_section, m32r_load) | |
2226 | (m32r_upload_command): Likewise. | |
2227 | ||
2228 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
2229 | ||
6093d2eb MD |
2230 | 2008-01-11 Markus Deuling <[email protected]> |
2231 | ||
2232 | * gdbarch.sh (skip_prologue): Add gdbarch | |
2233 | as parameter. | |
2234 | * gdbarch.{c,h}: Regenerate. | |
2235 | ||
2236 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
2237 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
2238 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
2239 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
2240 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
2241 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
2242 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
2243 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
2244 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
2245 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
2246 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
2247 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
2248 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
2249 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
2250 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
2251 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
2252 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
2253 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
2254 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
2255 | * score-tdep.c (score_skip_prologue): Likewise. | |
2256 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
2257 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
2258 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
2259 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
2260 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
2261 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
2262 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
2263 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
2264 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
2265 | ||
2266 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
2267 | current_gdbarch by gdbarch. | |
2268 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
2269 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
2270 | ||
72f5cf0e DE |
2271 | 2008-01-10 Doug Evans <[email protected]> |
2272 | ||
2273 | * defs.h (struct continuation_arg): Fix typo in comment. | |
2274 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
2275 | ||
689e4e2d TJB |
2276 | 2008-01-09 Thiago Jung Bauermann <[email protected]> |
2277 | ||
2278 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
2279 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
2280 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
2281 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
2282 | * c-exp.y (parse_number): Likewise. | |
2283 | * jv-exp.y (parse_number): Likewise. | |
2284 | * objc-exp.y (parse_number): Likewise. | |
2285 | * p-exp.y (parse_number): Likewise. | |
2286 | ||
ab0d6e0d JB |
2287 | 2008-01-09 Joel Brobecker <[email protected]> |
2288 | ||
2289 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
2290 | (check_typedef): Likewise. | |
2291 | ||
0aea4bf3 LM |
2292 | 2008-01-09 Luis Machado <[email protected]> |
2293 | ||
2294 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
2295 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
2296 | modifiers. | |
2297 | ||
137033e9 JB |
2298 | 2008-01-08 Joel Brobecker <[email protected]> |
2299 | ||
2300 | * dwarf2read.c (read_enumeration_type): Add comment. | |
2301 | ||
dda297ec TJB |
2302 | 2008-01-08 Thiago Jung Bauermann <[email protected]> |
2303 | ||
2304 | * config.in: Regenerate. | |
2305 | ||
a93c0eb6 JB |
2306 | 2008-01-08 Joel Brobecker <[email protected]> |
2307 | ||
2308 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
2309 | Make non-static. | |
2310 | (ada_convert_actuals): Delete. | |
2311 | * ada-lang.h (ada_convert_actual): Add declaration. | |
2312 | (ada_convert_actuals): Remove declaration. | |
2313 | * infcall.c: #include "ada-lang.h". | |
2314 | (value_arg_coerce): Add new parameter sp. Update function | |
2315 | documetnation. Add handling of Ada function call parameters. | |
2316 | * Makefile.in (infcall.o): Update dependencies. | |
2317 | ||
a84a8a0d JB |
2318 | 2008-01-08 Paul Hilfinger <[email protected]> |
2319 | ||
2320 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
2321 | (convert_actual): Add handling for arguments passed by reference. | |
2322 | ||
d7f98cce DE |
2323 | 2008-01-08 Doug Evans <[email protected]> |
2324 | ||
2325 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
2326 | ||
4ef30785 TJB |
2327 | 2008-01-07 Thiago Jung Bauermann <[email protected]> |
2328 | ||
2329 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
2330 | (valarith.o): Depend on dfp.h. | |
2331 | (valops.o): Likewise. | |
2332 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
2333 | (set_decnumber_context): New function. | |
2334 | (decimal_check_errors): Likewise. | |
2335 | (decimal_from_number): Likewise. | |
2336 | (decimal_to_number): Likewise. | |
2337 | (decimal_from_string): Use set_decnumber_context and | |
2338 | decimal_check_errors. | |
2339 | (decimal_from_integral): New function. | |
2340 | (decimal_from_floating): Likewise. | |
2341 | (decimal_to_double): Likewise. | |
2342 | (promote_decimal): Likewise. | |
2343 | (decimal_binop): Likewise. | |
2344 | (decimal_is_zero): Likewise. | |
2345 | (decimal_compare): Likewise. | |
2346 | (decimal_convert): Likewise. | |
2347 | * dfp.h (decimal_from_integral): New prototype. | |
2348 | (decimal_from_floating): Likewise. | |
2349 | (decimal_to_double): Likewise. | |
2350 | (decimal_binop): Likewise. | |
2351 | (decimal_is_zero): Likewise. | |
2352 | (decimal_compare): Likewise. | |
2353 | (decimal_convert): Likewise. | |
2354 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
2355 | call to value_from_decfloat. | |
2356 | * valarith.c: Include dfp.h. | |
2357 | (value_args_as_decimal): New function. | |
2358 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
2359 | (value_logical_not): Likewise. | |
2360 | (value_equal): Likewise. | |
2361 | (value_less): Likewise. | |
2362 | (value_pos): Likewise. | |
2363 | (value_neg): Formatting fix. | |
2364 | * valops.c: Include dfp.h. | |
2365 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
2366 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
2367 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
2368 | (value_from_decfloat): Remove expect_type argument. | |
2369 | * value.h (value_from_decfloat): Update prototype. | |
2370 | ||
a7c02bc8 VP |
2371 | 2008-01-07 Vladimir Prus <[email protected]> |
2372 | ||
2373 | Ignore change in name of dynamic linker during | |
2374 | execution on Solaris. This also unbreaks pending breakpoints. | |
2375 | ||
2376 | * solist.h (struct target_so_ops): New field same. | |
2377 | * solib-svr4.c (svr4_same): New. | |
2378 | (_initialize_svr4_solib): Register svr4_same. | |
2379 | * solib.c (update_solib_list): Use ops->same, if available. | |
2380 | ||
610dd7f9 CF |
2381 | 2008-01-06 Christopher Faylor <[email protected]> |
2382 | ||
2383 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
2384 | when using MS-DOS paths. | |
2385 | ||
7a404eba PA |
2386 | 2008-01-05 Pedro Alves <[email protected]> |
2387 | ||
2388 | * NEWS: Mention --pid and --core command line behaviour changes. | |
2389 | ||
a4d9b460 PA |
2390 | 2008-01-05 Pedro Alves <[email protected]> |
2391 | ||
2392 | * main.c (captured_main): Remove 'count' varible and the | |
2393 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
2394 | --pid options were issued simultaneously. If an explicit pid | |
2395 | option was passed, don't fallback to core file. Detect extra | |
2396 | arguments better in the presence of explicit pid or core | |
2397 | arguments. | |
2398 | ||
0c281816 JB |
2399 | 2008-01-05 Joel Brobecker <[email protected]> |
2400 | ||
2401 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
2402 | the value of the discriminant when the variant record is packed. | |
2403 | ||
babe1480 JB |
2404 | 2008-01-04 Joel Brobecker <[email protected]> |
2405 | ||
2406 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
2407 | that are used to differentiate homonyms. | |
2408 | ||
727e3d2e JB |
2409 | 2008-01-04 Jerome Guitton <[email protected]> |
2410 | ||
2411 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
2412 | when the type is an anonymous pointer type. | |
2413 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
2414 | * ada-typeprint.c (print_array_type): Add support for pointer | |
2415 | to packed arrays. | |
2416 | ||
bb28a9dc JB |
2417 | 2008-01-04 Paul N. Hilfinger <[email protected]> |
2418 | ||
2419 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
2420 | ||
6799def4 JB |
2421 | 2008-01-04 Joel Brobecker <[email protected]> |
2422 | ||
2423 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
2424 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
2425 | ||
d3353bbd JB |
2426 | 2008-01-04 Joel Brobecker <[email protected]> |
2427 | ||
2428 | * ada-exp.y (chop_separator): New function. | |
2429 | (write_selectors): Rewrite to re-use chop_separator. | |
2430 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
2431 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
2432 | expressions. | |
2433 | ||
82cf6c60 TJB |
2434 | 2008-01-03 Thiago Jung Bauermann <[email protected]> |
2435 | ||
2436 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
2437 | of SYMBOL_VALUE when working with function symbols. | |
2438 | ||
b3dbf008 JB |
2439 | 2008-01-03 Joel Brobecker <[email protected]> |
2440 | ||
2441 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
2442 | expressions. These expressions do not need to be rewriten. | |
2443 | ||
02eb380e JB |
2444 | 2008-01-03 Joel Brobecker <[email protected]> |
2445 | ||
2446 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
2447 | the given die is a declaration. | |
2448 | ||
abb68b3e JB |
2449 | 2008-01-03 Joel Brobecker <[email protected]> |
2450 | ||
2451 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
2452 | Handle properly the case when the index type is an enumerated type. | |
2453 | Do not return the subtype of the bounds type, just return the | |
2454 | bounds type directly - this is not needed and is more consistent | |
2455 | with what we do for arrays when no XA parallel type exists. | |
2456 | ||
f192137b JB |
2457 | 2008-01-03 Joel Brobecker <[email protected]> |
2458 | ||
2459 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
2460 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
2461 | also need to be unwrapped. Take this into account. | |
2462 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
2463 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
2464 | * ada-typeprint.c (ada_print_type): Get the typename from | |
2465 | the original type, not the base type. | |
2466 | ||
1ed6ede0 JB |
2467 | 2008-01-03 Jerome Guitton <[email protected]> |
2468 | ||
2469 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
2470 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
2471 | Update calls to ada_to_fixed_type. | |
2472 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
2473 | for the tag. | |
2474 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
2475 | tag if null. When looking for a tag, use a fixed record type. | |
2476 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
2477 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
2478 | calls to ada_to_fixed_type. | |
2479 | ||
542a88d0 LM |
2480 | 2008-01-03 Luis Machado <[email protected]> |
2481 | ||
2482 | * doublest.c (convert_floatformat_to_doublest): Call | |
2483 | floatformat_to_doublest instead of floatformat_to_double and use | |
2484 | DOUBLEST variables. | |
2485 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
2486 | instead of floatformat_from_double and use DOUBLEST variables. | |
2487 | ||
dc2bbab2 NH |
2488 | 2008-01-03 Nick Hudson <[email protected]> |
2489 | ||
2490 | * MAINTAINERS (Write After Approval): Add self. | |
2491 | ||
8b60591b JB |
2492 | 2008-01-03 Joel Brobecker <[email protected]> |
2493 | ||
2494 | * symfile.c (set_initial_language): Make non-static. | |
2495 | * symfile.h (set_initial_language): Add declaration. | |
2496 | * language.c: #include "symfile.h". | |
2497 | (set_language): Call set_initial_language if the frame language | |
2498 | could not be determined. | |
2499 | ||
ceef53c1 JB |
2500 | 2008-01-03 Paul N. Hilfinger <[email protected]> |
2501 | ||
2502 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
2503 | locate_var_value only if it will be needed. | |
2504 | ||
ef29ce1a JK |
2505 | 2008-01-02 Jan Kratochvil <[email protected]> |
2506 | ||
2507 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
2508 | ||
0a07e705 JB |
2509 | 2008-01-02 Joel Brobecker <[email protected]> |
2510 | ||
2511 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
2512 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
2513 | This is needed to make sure that any other treatment applied | |
2514 | to the resulting value does not fail for spurious reason, | |
2515 | such as trying to take the address of this value. | |
2516 | ||
f58b38bf JB |
2517 | 2008-01-02 Joel Brobecker <[email protected]> |
2518 | ||
2519 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
2520 | comparing arrays. | |
2521 | ||
9b254dd1 DJ |
2522 | 2008-01-01 Daniel Jacobowitz <[email protected]> |
2523 | ||
2524 | Updated copyright notices for most files. | |
2525 | ||
33605d39 CF |
2526 | 2008-01-01 Christopher Faylor <[email protected]> |
2527 | ||
2528 | * win32-nat.c (psapi_module_handle): Remove static. | |
2529 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
2530 | return first module found if base_address is zero. Don't initialize | |
2531 | psapi function pointers here. Convert to cygwin paths when | |
2532 | appropriate. | |
2533 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
2534 | executable name. Use get_module_name when that fails or when | |
2535 | !__CYGWIN__. | |
2536 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
2537 | needed or issue a warning if it is not found. Move psapi_module_handle | |
2538 | here. | |
2539 | ||
29480c32 JB |
2540 | 2008-01-01 Joel Brobecker <[email protected]> |
2541 | ||
2542 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
2543 | (ada_remove_po_subprogram_suffix): New function. | |
2544 | (ada_decode): Improve. Move the description of the algorithm | |
2545 | directly inside the code, instead of in the function global | |
2546 | description. | |
2547 | ||
969a1360 JB |
2548 | 2008-01-01 Joel Brobecker <[email protected]> |
2549 | ||
2550 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
2551 | and always print the dereferenced value. | |
2552 | ||
b7789565 JB |
2553 | 2008-01-01 Joel Brobecker <[email protected]> |
2554 | ||
2555 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
2556 | of the case where the first argument is a reference. | |
2557 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
2558 | ||
73fb9985 JB |
2559 | 2008-01-01 Joel Brobecker <[email protected]> |
2560 | ||
2561 | Implement support for Ada interface types. | |
2562 | ||
2563 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
2564 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
2565 | of a tagged type. | |
2566 | ||
636265b6 JB |
2567 | 2008-01-01 Joel Brobecker <[email protected]> |
2568 | ||
2569 | * top.c (print_gdb_version): Update copyright year. | |
2570 | ||
9d200a2e | 2571 | 2008-01-01 Joel Brobecker <[email protected]> |
b7589f7d | 2572 | |
9d200a2e JB |
2573 | * ChangeLog-2007: New ChangeLog rotation. |
2574 | * ChangeLog: Reset for 2008. | |
2575 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
2576 | ChangeLog-2007. | |
b7589f7d | 2577 | |
9d200a2e | 2578 | For older changes see ChangeLog-2007. |
c906108c SS |
2579 | \f |
2580 | Local Variables: | |
2581 | mode: change-log | |
2582 | left-margin: 8 | |
2583 | fill-column: 74 | |
2584 | version-control: never | |
57da7796 | 2585 | coding: utf-8 |
c906108c | 2586 | End: |