Commit | Line | Data |
---|---|---|
eb73e134 DJ |
1 | 2010-02-25 Daniel Jacobowitz <dan@codesourcery.com> |
2 | ||
3 | * symfile.c (find_lowest_section): Include SEC_ALLOC sections. | |
4 | ||
46ef47e5 PA |
5 | 2010-02-24 Pedro Alves <pedro@codesourcery.com> |
6 | ||
7 | * mi/mi-main.c (mi_cmd_execute): Fix typo. | |
8 | ||
f3e9a817 PM |
9 | 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> |
10 | Tom Tromey <tromey@redhat.com> | |
11 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
12 | ||
13 | * python/python.c (_initialize_python): Call | |
14 | gdbpy_initialize_symtabs, gdbpy_initialize_symbols and | |
15 | gdbpy_initialize_blocks. | |
16 | * python/python-internal.h: Declare struct symbol, block and | |
17 | symtab_and_line. Declare block_object_type and | |
18 | symbol_object_type | |
19 | (gdbpy_lookup_symbol gdbpy_block_for_pc) | |
20 | (symtab_and_line_to_sal_object, symtab_to_symtab_object) | |
21 | (symbol_to_symbol_object, block_to_block_object) | |
22 | (gdbpy_initialize_symtabs,gdbpy_initialize_symbols) | |
23 | (gdbpy_initialize_blocks ): Declare. | |
24 | * python/py-frame.c (frapy_block, frapy_function, frapy_find_sal) | |
25 | (frapy_select): Add methods. | |
26 | (frapy_read_var): Add symbol branch. | |
27 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab, | |
28 | py-block. | |
29 | (SUBDIR_PYTHON_SRCS): Likewise. | |
30 | (py-symbol.o): New rule. | |
31 | (py-symtab.o): Likewise. | |
32 | (py-block.o): Likewise. | |
33 | * python/py-symbol.c: New file. | |
34 | * python/py-symtab.c: Likewise. | |
35 | * python/py-block.c: Likewise. | |
36 | ||
24291992 PA |
37 | 2010-02-24 Pedro Alves <pedro@codesourcery.com> |
38 | ||
39 | PR gdb/11321 | |
40 | ||
41 | * inferior.h (prepare_for_detach): Declare. | |
42 | (struct inferior) <detaching>: New field. | |
43 | * infrun.c (prepare_for_detach): New. | |
44 | (handle_inferior_event) <random signal>: Don't stop if detaching. | |
45 | * target.c (target_detach): Call prepare_for_detach. | |
46 | ||
fc1cf338 PA |
47 | 2010-02-24 Pedro Alves <pedro@codesourcery.com> |
48 | ||
49 | Per-process displaced stepping queue. | |
50 | ||
51 | * infrun.c (displaced_step_ptid, displaced_step_request_queue) | |
52 | (displaced_step_gdbarch, displaced_step_closure, | |
53 | (displaced_step_original, displaced_step_copy): Move globals to | |
54 | this... | |
55 | (struct displaced_step_inferior_state): ... new structure. | |
56 | (displaced_step_inferior_states): New global. | |
57 | (get_displaced_stepping_state, add_displaced_stepping_state) | |
58 | (remove_displaced_stepping_state, infrun_inferior_exit): New | |
59 | functions. | |
60 | (displaced_step_clear): Add displaced_step_inferior_state | |
61 | parameter, and adjust to handle it. | |
62 | (displaced_step_clear_cleanup): Parameter is now a | |
63 | displaced_step_inferior_state. Adjust. | |
64 | (displaced_step_prepare): Adjust. | |
65 | (displaced_step_fixup, displaced_step_fixup) | |
66 | (infrun_thread_ptid_changed, resume): Adjust. | |
67 | (init_wait_for_inferior): Don't call displaced_step_clear. | |
68 | (infrun_thread_stop_requested): Rewrite. | |
69 | (_initialize_infrun): Install infrun_inferior_exit as | |
70 | inferior_exit observer. | |
71 | ||
0723dbf5 PA |
72 | 2010-02-24 Pedro Alves <pedro@codesourcery.com> |
73 | ||
74 | * inferior.h (ptid_match): Declare. | |
75 | * infrun.c (ptid_match): New. | |
76 | * remote.c (queued_stop_reply): Rewrite and use ptid_match. | |
77 | (handle_notification): Add debug output. | |
78 | * linux-nat.c (ptid_match): Delete. | |
79 | ||
09de9781 DM |
80 | 2010-02-24 David S. Miller <davem@davemloft.net> |
81 | ||
82 | * gdb_ptrace.h (PT_SYSCALL): If PTRACE_SYSCALL is available, use it. | |
83 | * syscalls/sparc-linux.xml: New. | |
84 | * syscalls/sparc64-linux.xml: New. | |
85 | * Makefile.in (XML_SYSCALL_FILES): Add new syscall XML files. | |
86 | * sparc-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC32): Define. | |
87 | (sparc32_linux_get_syscall_number): New function. | |
88 | (sparc32_linux_init_abi): Set syscall XML file name and hook up | |
89 | syscall number fetcher. | |
90 | * sparc64-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC64): Define. | |
91 | (sparc64_linux_get_syscall_number): New function. | |
92 | (sparc64_linux_init_abi): Set syscall XML file name and hook up | |
93 | syscall number fetcher. | |
94 | ||
a79b8f6e VP |
95 | 2010-02-24 Vladimir Prus <vladimir@codesourcery.com> |
96 | ||
97 | Multiexec MI | |
98 | ||
99 | * breakpoint.c (clear_syscall_counts): Take struct inferior*. | |
100 | * inferior.c (add_inferior_silent): Notify inferior_added | |
101 | observer. | |
102 | (delete_inferior_1): Notify inferior_removed observer. | |
103 | (exit_inferior_1): Pass inferior, not pid, to observer. | |
104 | (inferior_appeared): Likewise. | |
105 | (add_inferior_with_spaces): New. | |
106 | (add_inferior_command): Use the above. | |
107 | * inferior.h (delete_inferior_1, add_inferior_with_spaces): | |
108 | Declare. | |
109 | ||
110 | * inflow.c (inflow_inferior_exit): Likewise. | |
111 | * jit.c (jit_inferior_exit_hook): Likewise. | |
112 | ||
113 | * mi/mi-cmds.c (mi_cmds): Register add-inferior and | |
114 | remove-inferior. | |
115 | * mi/mi-cmds.h (mi_cmd_add_inferior, mi_cmd_remove_inferior): New. | |
116 | * mi/mi-interp.c (mi_inferior_added, mi_inferior_removed): New. | |
117 | (report_initial_inferior): New. | |
118 | (mi_inferior_removed): Register the above. Make sure | |
119 | inferior_added observer is called on the first inferior. | |
120 | (mi_new_thread, mi_thread_exit): Thread group is now identified by | |
121 | inferior number, not pid. | |
122 | (mi_solib_loaded, mi_solib_unloaded): Report which inferiors are | |
123 | affected. | |
124 | * mi/mi-main.c (current_context): New. | |
125 | (proceed_thread_callback): Use typed closure. | |
126 | Proceed everything if pid is 0. Most implementation split into | |
127 | (proceed_thread): ... this. | |
128 | (run_one_inferior): New. | |
129 | (mi_cmd_exec_continue, mi_cmd_exec_interrupt, mi_cmd_exec_run): | |
130 | Adjust for multiexec behaviour. | |
131 | (mi_cmd_add_inferior, mi_cmd_remove_inferior): New. | |
132 | (mi_cmd_execute): Handle the 'thread-group' option here. | |
133 | Do some extra checks. | |
134 | * mi-parse.c (mi_parse): Handle the --all and --thread-group | |
135 | options. | |
136 | * mi-parse.h (struct mi_parse): New fields all and thread_group. | |
137 | ||
115d30f9 VP |
138 | 2010-02-24 Vladimir Prus <vladimir@codesourcery.com> |
139 | ||
140 | Make -exec-run a proper MI commands. | |
141 | ||
142 | * mi/mi-cmds.h (mi_cmd_exec_run): Declare. | |
143 | * mi/mi-cmds.c (mi_cmds): Adjust. | |
144 | * mi/mi-main.c (mi_cmd_exec_run): New. | |
145 | ||
06cd862c PA |
146 | 2010-02-24 Pedro Alves <pedro@codesourcery.com> |
147 | Stan Shebs <stan@codesourcery.com> | |
148 | ||
149 | * tracepoint.h (set_traceframe_number) | |
150 | (cleanup_restore_current_traceframe): Declare. | |
151 | * tracepoint.c (set_traceframe_number): New. | |
152 | (struct current_traceframe_cleanup): New. | |
153 | (do_restore_current_traceframe_cleanup) | |
154 | (restore_current_traceframe_cleanup_dtor) | |
155 | (make_cleanup_restore_current_traceframe): New. | |
156 | * infrun.c: Include tracepoint.h. | |
157 | (fetch_inferior_event): Switch out and in of tfind mode. | |
158 | ||
ab92d69b PA |
159 | 2010-02-24 Pedro Alves <pedro@codesourcery.com> |
160 | ||
161 | * breakpoint.c (breakpoint_init_inferior): Also delete | |
162 | bp_shlib_event breakpoints. | |
163 | * solib-frv.c (enable_break): Remove call to | |
164 | remove_solib_event_breakpoints. | |
165 | * solib-svr4.c (enable_break): Ditto. | |
166 | * solib-darwin.c (darwin_solib_create_inferior_hook): Ditto. | |
167 | * solib-pa64.c (pa64_solib_create_inferior_hook): Ditto. | |
168 | * solib-som.c (som_solib_create_inferior_hook): Ditto. | |
169 | * solib-spu.c (spu_enable_break): Ditto. | |
170 | ||
e707a91d PA |
171 | 2010-02-23 Harald Koenig <H.Koenig@science-computing.de> |
172 | ||
173 | * c-exp.y (token_and_value): s/union YYSTYPE/YYSTYPE. | |
174 | ||
cfce2ea2 PA |
175 | 2010-02-23 Harald Koenig <H.Koenig@science-computing.de> |
176 | ||
177 | * varobj.c (varobj_update): Avoid non-constants in initializers. | |
178 | ||
05566b3b TT |
179 | 2010-02-23 Tom Tromey <tromey@redhat.com> |
180 | ||
181 | * dwarf2loc.c (read_pieced_value) <DWARF_VALUE_STACK>: Correctly | |
182 | handle big-endian values. | |
183 | (dwarf2_evaluate_loc_desc) <DWARF_VALUE_STACK>: Likewise. | |
184 | ||
85d721b8 PA |
185 | 2010-02-22 Pedro Alves <pedro@codesourcery.com> |
186 | ||
187 | PR9605 | |
188 | ||
189 | gdb/ | |
190 | * breakpoint.c (insert_bp_location): If inserting the read | |
191 | watchpoint failed, fallback to an access watchpoint. | |
192 | (bpstat_check_watchpoint): Stop for read watchpoint triggers even | |
193 | if the value changed, if not watching the same memory for writes. | |
194 | (watchpoint_locations_match): Add comment. | |
195 | (update_global_location_list): Copy the location's watchpoint type. | |
196 | * i386-nat.c (i386_length_and_rw_bits): It's an internal error to | |
197 | handle read watchpoints here. | |
198 | (i386_insert_watchpoint): Read watchpoints aren't supported. | |
199 | * remote.c (remote_insert_watchpoint): Return 1 for unsupported | |
200 | packets. | |
201 | * target.h (target_insert_watchpoint): Update description. | |
202 | ||
48ea67a7 TT |
203 | 2010-02-19 Tom Tromey <tromey@redhat.com> |
204 | ||
205 | * p-typeprint.c (pascal_type_print_varspec_prefix): Update. | |
206 | * m2-typeprint.c (m2_print_type): Update. | |
207 | * gdbtypes.c (recursive_dump_type): Update. | |
208 | (copy_type_recursive): Update. | |
209 | * c-typeprint.c (c_type_print_varspec_prefix): Update. | |
210 | (c_type_print_base): Update. | |
211 | * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG): | |
212 | Remove. | |
213 | (struct cplus_struct_type) <ntemplate_args>: Remove. | |
214 | <struct template_arg>: Remove. | |
215 | <is_dynamic>: Move earlier. | |
216 | (TYPE_TEMPLATE_ARGS): Remove. | |
217 | (TYPE_NTEMPLATE_ARGS): Remove. | |
218 | (TYPE_TEMPLATE_ARG): Remove. | |
219 | ||
48e32051 TT |
220 | 2010-02-19 Tom Tromey <tromey@redhat.com> |
221 | ||
222 | PR c++/8693, PR c++/9496: | |
223 | * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION. | |
224 | * c-exp.y (lex_one_token): Rename from yylex. Don't call | |
225 | write_dollar_variable. Don't try to classify NAME tokens. | |
226 | (token_and_value): New type. | |
227 | (token_fifo, popping, name_obstack): New globals. | |
228 | (classify_name): New function. | |
229 | (classify_inner_name): Likewise. | |
230 | (yylex): Likewise. | |
231 | (VARIABLE): Now has type sval. | |
232 | (exp : VARIABLE): Call write_dollar_variable. | |
233 | (qualified_name): Use TYPENAME, not typebase. Add production for | |
234 | multiple "::" instances. | |
235 | (variable): Use name_not_typename. | |
236 | (qualified_type): Remove. | |
237 | (typebase): Update. | |
238 | ||
672d9c23 JK |
239 | 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
240 | ||
241 | * symfile.c (addr_info_make_relative): Extend comment. Move SECT to | |
242 | a more inner block. Initialize ADDR by LOWER_OFFSET only if it was | |
243 | found by bfd_get_section_by_name. | |
244 | * symfile.h (struct section_addr_info) <sectindex>: New comment. | |
245 | ||
bfbf3774 JB |
246 | 2010-02-19 Joel Brobecker <brobecker@adacore.com> |
247 | ||
248 | * NEWS: Add new "[...] since 7.1" section. Rename the "[...] since | |
249 | 7.0 section" into "Changes in 7.1". | |
250 | ||
6756b09b | 251 | 2010-02-19 Joel Brobecker <brobecker@adacore.com> |
252 | ||
253 | GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC) | |
254 | * version.in: Bump version to 7.1.50.20100219-cvs. | |
255 | ||
202b96c1 PA |
256 | 2010-02-18 Harald Koenig <H.Koenig@science-computing.de> |
257 | ||
258 | * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'. | |
259 | * symfile.c (symfile_map_offsets_to_segments): Fix assertion. | |
260 | ||
de2e5182 TT |
261 | 2010-02-17 Tom Tromey <tromey@redhat.com> |
262 | ||
263 | * NEWS: Add Python API Improvements section. | |
264 | ||
7280022e DJ |
265 | 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com> |
266 | ||
267 | * NEWS: Correct typo. | |
268 | ||
6f451e5e TT |
269 | 2010-02-17 Tom Tromey <tromey@redhat.com> |
270 | ||
271 | * objfiles.c (gdb_bfd_ref): Handle abfd==NULL. | |
272 | ||
012836ea JK |
273 | 2010-02-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
274 | ||
275 | * symfile.c (build_section_addr_info_from_objfile): Include sections | |
276 | only if they are SEC_ALLOC or SEC_LOAD. | |
277 | ||
d182d057 L |
278 | 2010-02-17 H.J. Lu <hongjiu.lu@intel.com> |
279 | ||
280 | PR shlibs/11293 | |
281 | * solib-svr4.c (enable_break): Check size of CORE_ADDR instead | |
282 | of ULONGEST for address size. | |
283 | ||
4eef138c TT |
284 | 2010-02-17 Tom Tromey <tromey@redhat.com> |
285 | ||
286 | * NEWS: Add C++ improvements section. | |
287 | ||
548a926a UW |
288 | 2010-02-17 Ulrich Weigand <uweigand@de.ibm.com> |
289 | ||
290 | * python/python-internal.h [!WITH_THREAD] (PyGILState_Release, | |
291 | PyThreadState_Swap): Avoid "statement with no effect" warning. | |
292 | ||
ad3a0e5b JK |
293 | 2010-02-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
294 | ||
295 | * solib-svr4.c (enable_break <target_auxv_search>): New variable | |
296 | addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors. | |
297 | ||
243e2c5d TG |
298 | 2010-02-17 Tristan Gingold <gingold@adacore.com> |
299 | Petr Hluzín <petr.hluzin@gmail.com> | |
300 | ||
301 | * avr-tdep.c (avr_scan_prologue): Convert an if statement to a | |
302 | gdb_assert. Fix info->size for SIG prologue. | |
303 | ||
275f2e57 DJ |
304 | 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
305 | ||
306 | * infcmd.c (show_inferior_tty_command): Check for NULL. | |
307 | Correct output message. | |
308 | ||
791dfb64 DJ |
309 | 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
310 | ||
311 | * linespec.c (decode_line_1): Handle FILE:FUNCTION even if | |
312 | FUNCTION contains parentheses. Improve removal of a trailing | |
313 | single quote. | |
314 | ||
14d1346b DJ |
315 | 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
316 | ||
317 | * gcore.c (do_bfd_delete_cleanup): New function. | |
318 | (gcore_command): Use it. Discard the cleanup after success. | |
319 | (gcore_copy_callback): Delete dead code. | |
320 | ||
e76ab67f DJ |
321 | 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
322 | ||
323 | * symfile.c (addr_info_make_relative): Always use | |
324 | find_lowest_section. | |
325 | ||
71dee663 SW |
326 | 2010-02-16 Sami Wagiaalla <swagiaal@redhat.com> |
327 | ||
328 | * NEWS: Added entry for namespace fixes. | |
329 | ||
a9854bd5 TT |
330 | 2010-02-15 Tom Tromey <tromey@redhat.com> |
331 | ||
332 | * dwarf2read.c (guess_structure_name): Allocate name on the | |
333 | objfile obstack. | |
334 | ||
fd9e29b5 TT |
335 | 2010-02-15 Tom Tromey <tromey@redhat.com> |
336 | ||
337 | * c-typeprint.c (c_type_print_base): Reverse order of test. | |
338 | ||
4e1fc9c9 JK |
339 | 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
340 | ||
341 | * solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally | |
342 | initialize it from ELF BFD. Extend the prelink condition by it. | |
343 | ||
74164c56 JK |
344 | 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
345 | ||
346 | * defs.h (parse_pid_to_attach): New. | |
347 | * utils.c (parse_pid_to_attach): New. | |
348 | * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid. | |
349 | * gnu-nat.c (gnu_attach): Likewise. | |
350 | * nto-procfs.c (procfs_attach): Likewise. | |
351 | * procfs.c (procfs_attach): Likewise. | |
352 | * windows-nat.c (windows_attach): Likewise. | |
353 | * inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy. | |
354 | * inf-ttrace.c (inf_ttrace_attach): Likewise. | |
355 | * remote.c (extended_remote_attach_1): Likewise. New comment on getpid | |
356 | check. | |
357 | ||
bf6adea8 MM |
358 | 2010-02-14 Masaki Muranaka <monaka@monami-software.com> |
359 | ||
360 | * MAINTAINERS: Add myself for write after approval privileges. | |
361 | ||
28f34a8f JK |
362 | 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
363 | ||
364 | * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner | |
365 | block. | |
366 | ||
701ed6dc JK |
367 | 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
368 | ||
369 | * solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment | |
370 | only if INFO_VERBOSE. | |
371 | ||
e5829bee MS |
372 | 2010-02-12 Tomas Holmberg <th@virtutech.com> |
373 | ||
374 | * mi/mi-main.c: Added the --reverse flag to the following MI | |
375 | commands: exec-continue, exec-finish, exec-next, exec-step, | |
376 | exec-next-instruction, exec-step-instruction. This is to | |
377 | support reverse execution over the MI interface to gdb. | |
378 | ||
081dfbf7 PA |
379 | 2010-02-12 Pedro Alves <pedro@codesourcery.com> |
380 | ||
381 | * tracepoint.c (_initialize_tracepoint): Specify that the address | |
382 | range of `tfind outsize' is exclusive, and that the address range | |
383 | of `tfind range' is inclusive, in the commands' help strings. | |
384 | ||
ecc13e53 JB |
385 | 2010-02-12 Joel Brobecker <brobecker@adacore.com> |
386 | ||
387 | Spurious "dll not found" error messages on x64-windows. | |
388 | * windows-nat.c: Add include of complaints.h. | |
389 | (handle_unload_dll): Change dll-not-found error into a complaint. | |
390 | ||
15c3d785 PA |
391 | 2010-02-12 Pedro Alves <pedro@codesourcery.com> |
392 | ||
393 | * breakpoint.c (allocate_bp_location): Use bp_loc_other for | |
394 | bp_tracepoint and bp_fast_tracepoint, not | |
395 | bp_loc_software_breakpoint. | |
396 | (update_global_location_list): Tracepoints are never duplicates of | |
397 | anything. | |
398 | ||
fd9b8c24 PA |
399 | 2010-02-12 Pedro Alves <pedro@codesourcery.com> |
400 | ||
401 | * breakpoint.c (break_command_really): Change return type to int. | |
402 | Return false if no breakpoint was created, true otherwise. | |
403 | (trace_command): Don't set the tracepoint count if no tracepoint | |
404 | was created. | |
405 | (ftrace_command): Ditto. | |
406 | (create_tracepoint_from_upload): Bail out if the tracepoint wasn't | |
407 | created in the breakpoints table. | |
408 | ||
5c0d192f JK |
409 | 2010-02-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
410 | Ulrich Weigand <uweigand@de.ibm.com> | |
411 | ||
412 | * solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition. | |
413 | ||
5d5b640e PA |
414 | 2010-02-11 Pedro Alves <pedro@codesourcery.com> |
415 | ||
416 | * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if | |
417 | the offset value isn't of integral type. | |
418 | ||
e5a0a904 JK |
419 | 2010-02-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
420 | ||
421 | * breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>: | |
422 | New. | |
423 | ||
be636754 PA |
424 | 2010-02-11 Pedro Alves <pedro@codesourcery.com> |
425 | ||
426 | * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on | |
427 | non-subscriptable types. | |
428 | * valarith.c (binop_types_user_defined_p): New, abstracted out | |
429 | from ... | |
430 | (binop_user_defined_p): ... this. | |
431 | * value.h (binop_types_user_defined_p): Declare. | |
432 | ||
10ef8d6a PA |
433 | 2010-02-11 Pedro Alves <pedro@codesourcery.com> |
434 | ||
435 | * tracepoint.c (tfile_open): Remove spurious discard_cleanups. | |
436 | Merge uploaded TSVs before merging uploaded tracepoints. | |
437 | ||
b1028c8e PA |
438 | 2010-02-11 Pedro Alves <pedro@codesourcery.com> |
439 | ||
440 | * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers. | |
441 | ||
7a93fb82 | 442 | 2010-02-11 Vladimir Prus <vladimir@codesourcery.com> |
84d90c10 | 443 | |
7a93fb82 VP |
444 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra |
445 | whitespace character after a dot in comment. | |
446 | (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables): | |
447 | Likewise. | |
448 | (list_args_or_locals): For the 'all' (that is | |
449 | -stack-list-variables) case, always output list of tuples. | |
450 | Output 'arg' field if variable is argument. | |
84d90c10 | 451 | |
92981e24 TT |
452 | 2010-02-10 Tom Tromey <tromey@redhat.com> |
453 | ||
454 | * parser-defs.h (parser_debug): Declare. | |
455 | * parse.c (_initialize_parse): Install "debug parser" set/show | |
456 | command. | |
457 | (parser_debug): New global. | |
458 | (show_parserdebug): New function. | |
459 | * c-exp.y (c_parse): Set yydebug. | |
460 | ||
9fd3625f L |
461 | 2010-02-10 H.J. Lu <hongjiu.lu@intel.com> |
462 | ||
463 | * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT, | |
464 | TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR. | |
465 | (tdesc_predefined_types): Add i387_ext, i386_eflags and | |
466 | i386_mxcsr. | |
467 | (tdesc_find_type): New. | |
468 | (tdesc_gdb_type): Use tdesc_find_type. Handle TDESC_TYPE_I387_EXT, | |
469 | TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR. | |
470 | ||
471 | * target-descriptions.h (tdesc_find_type): New. | |
472 | ||
2fe842e5 MS |
473 | 2010-02-10 Michael Snyder <msnyder@vmware.com> |
474 | ||
475 | * gdb-gdb.py: Comment fix. | |
476 | ||
f18b4cab TG |
477 | 2010-02-09 Tristan Gingold <gingold@adacore.com> |
478 | ||
479 | * machoread.c (macho_symfile_relocate): New function. | |
480 | (macho_sym_fns): Use macho_symfile_relocate instead of | |
481 | default_symfile_relocate. | |
482 | (macho_oso_data): New type. | |
483 | (current_oso): New variable. | |
484 | (macho_add_oso_symfile): Do not compute section_addr_info, but | |
485 | instead set vma of sections. | |
486 | Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd. | |
487 | Set and clear current_oso. | |
488 | ||
31dbc1c5 JB |
489 | 2010-02-09 Joel Brobecker <brobecker@adacore.com> |
490 | ||
491 | Wrong type description for tagged type parameter. | |
492 | * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is | |
493 | EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a | |
494 | reference to a tagged type. | |
495 | ||
399f313b TG |
496 | 2010-02-09 Tristan Gingold <gingold@adacore.com> |
497 | ||
498 | * objfiles.c (objfile_separate_debug_iterate): Do not iterate on | |
499 | brothers of the parent. | |
500 | ||
714f19d5 TT |
501 | 2010-02-08 Tom Tromey <tromey@redhat.com> |
502 | ||
503 | PR c++/8017: | |
504 | * value.h: Update. | |
505 | * valops.c (search_struct_field): Make 'name' const. | |
506 | (search_struct_method): Likewise. | |
507 | (find_method_list): Make 'method' const. | |
508 | (value_struct_elt): Make 'name' and 'err' const. | |
509 | (value_find_oload_method_list): Make 'method' const. | |
510 | (find_overload_match): Make 'name' const. | |
511 | * eval.c (evaluate_subexp_standard): New locals function, | |
512 | function_name. | |
513 | <OP_FUNCALL>: Handle OP_SCOPE specially. | |
514 | ||
de0a0249 UW |
515 | 2010-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
516 | ||
517 | * infrun.c (handle_inferior_event): Do not look up regcache | |
518 | for exited processes. | |
519 | ||
83b10087 CM |
520 | Mon Feb 8 13:17:10 2010 Chris Moller <moller@mollerware.com> |
521 | ||
522 | PR gdb/10728 | |
523 | * valarith.c (value_ptrdiff): Added a test for a zero type length, | |
524 | warn if found, and assume length = 1. | |
525 | ||
99903ae3 CM |
526 | 2010-02-08 Chris Moller <cmoller@redhat.com> |
527 | ||
528 | PR gdb/9067 | |
529 | * cp-valprint.c (cp_print_value_fields) Fix use of obstacks. | |
530 | cp_print_static_field) Fix use of obstacks. | |
531 | ||
e3e9f5a2 PA |
532 | 2010-02-08 Pedro Alves <pedro@codesourcery.com> |
533 | ||
534 | * linux-nat.c (linux_nat_resume): In non-stop, also only tag | |
535 | resumed LWPs as resumed. | |
536 | (linux_nat_wait_1): If there's no resumed LWP in the set of LWPs | |
537 | we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead | |
538 | of throwing an internal error. If an LWP of a process we're not | |
539 | waiting for reports a signal, don't force collecting a SIGSTOP, | |
540 | and if it was breakpoint hit in non-stop mode, cancel it. Don't | |
541 | go through all LWPs cancelling breakpoints in non-stop mode. | |
542 | (resume_stopped_resumed_lwps): New. | |
543 | (linux_nat_wait): Use it. | |
544 | ||
46763423 L |
545 | 2010-02-07 H.J. Lu <hongjiu.lu@intel.com> |
546 | ||
547 | * features/Makefile (WHICH): Add i386/i386, i386/i386-linux, | |
548 | i386/amd64 and i386/amd64-linux. | |
549 | (i386/i386-expedite): New. | |
550 | (i386/i386-linux-expedite): Likewise. | |
551 | (i386/amd64-expedite):Likewise. | |
552 | (i386/amd64-linux-expedite): Likewise. | |
553 | ($(outdir)/i386/i386-linux.dat): Likewise. | |
554 | ($(outdir)/i386/amd64.dat): Likewise. | |
555 | ($(outdir)/i386/amd64-linux.dat): Likewise. | |
556 | ||
557 | * features/i386/32bit-core.xml: New. | |
558 | * features/i386/32bit-linux.xml: Likewise. | |
559 | * features/i386/32bit-sse.xml: Likewise. | |
560 | * features/i386/64bit-core.xml: Likewise. | |
561 | * features/i386/64bit-linux.xml: Likewise. | |
562 | * features/i386/64bit-sse.xml: Likewise. | |
563 | * features/i386/i386-linux.xml: Likewise. | |
564 | * features/i386/i386.xml: Likewise. | |
565 | * features/i386/amd64-linux.xml: Likewise. | |
566 | * features/i386/amd64.xml: Likewise. | |
567 | * features/i386/i386-linux.c: Likewise. | |
568 | * features/i386/i386.c: Likewise. | |
569 | * features/i386/amd64-linux.c: Likewise. | |
570 | * features/i386/amd64.c: Likewise. | |
571 | ||
82856980 SW |
572 | 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com> |
573 | ||
574 | PR c++/7935: | |
575 | * cp-support.h: Added char* alias element to using_direct data | |
576 | struct. | |
577 | (cp_add_using): Added char* alias argument. | |
578 | (cp_add_using_directive): Ditto. | |
579 | * cp-namespace.c: Updated with the above changes. | |
580 | (cp_lookup_symbol_imports): Check for aliases. | |
581 | * dwarf2read.c (read_import_statement): Figure out local alias | |
582 | for the import and pass it on to cp_add_using. | |
583 | (read_namespace): Pass alias argument to cp_add_using. | |
584 | ||
d18b8b7a HZ |
585 | 2010-02-05 Hui Zhu <teawater@gmail.com> |
586 | ||
587 | * defs.h (gdb_bfd_errmsg): New extern. | |
588 | * exec.c (exec_file_attach): Change bfd_errmsg to | |
589 | gdb_bfd_errmsg. | |
590 | * utils.c (AMBIGUOUS_MESS1): New macro. | |
591 | (AMBIGUOUS_MESS2): New macro. | |
592 | (gdb_bfd_errmsg): New function. | |
593 | ||
48379de6 DE |
594 | 2010-02-04 Doug Evans <dje@google.com> |
595 | ||
596 | * solib-svr4.c (enable_break): Add comment. | |
597 | ||
4ee73e90 AG |
598 | 2010-02-04 Anthony Green <green@moxielogic.com> |
599 | ||
600 | * moxie-tdep.c (moxie_analyze_prologue): Fail protocol analysis | |
601 | gracefully. | |
602 | ||
1a334831 TT |
603 | 2010-02-04 Tom Tromey <tromey@redhat.com> |
604 | ||
605 | * valops.c (search_struct_field): Account for | |
606 | value_embedded_offset. Fix check for virtual base past the end of | |
607 | the object. Use value_copy when making a slice of the value. | |
608 | ||
1180b2c8 L |
609 | 2010-02-04 H.J. Lu <hongjiu.lu@intel.com> |
610 | ||
611 | PR tui/9622 | |
612 | * tui/tui-interp.c (tui_init): Call tui_initialize_readline | |
613 | only if gdb_stdout is a tty. | |
614 | ||
c3f08eb7 L |
615 | 2010-02-04 H.J. Lu <hongjiu.lu@intel.com> |
616 | ||
617 | * target-descriptions.c: Include "osabi.h". | |
618 | (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid | |
619 | OSABI. | |
620 | ||
2d33f7b8 TG |
621 | 2010-02-04 Tristan Gingold <gingold@adacore.com> |
622 | ||
623 | * machoread.c (macho_add_oso): Renamed to macho_register_oso. | |
624 | (macho_symtab_read): Adjust calls to macho_add_oso. | |
625 | (macho_oso_symfile): Renamed to macho_symfile_read_all_oso. | |
626 | (macho_symfile_read): Adjust call to macho_oso_symfile. | |
627 | (macho_new_init): Move this function after declarations. | |
628 | (macho_symfile_init): Ditto. | |
629 | * darwin-nat-info.c (darwin_lib_gdb_ports): Remove. | |
630 | * darwin-nat.c (darwin_lookup_task): Remove unused prototype. | |
631 | ||
11334b82 VP |
632 | 2010-02-04 Vladimir Prus <vladimir@codesourcery.com> |
633 | ||
634 | Include MI command in remotelog. | |
635 | ||
636 | * mi/mi-main.c (mi_execute_command): Call target_log_command. | |
637 | ||
ff97be06 L |
638 | 2010-02-03 H.J. Lu <hongjiu.lu@intel.com> |
639 | ||
640 | * remote.c (remote_state): Remove gdbarch. | |
641 | (init_remote_state): Don't set gdbarch. | |
642 | (remote_query_supported): Pass target_gdbarch instead of | |
643 | rs->gdbarch to gdbarch_qsupported. | |
644 | ||
75cebea9 L |
645 | 2010-02-03 H.J. Lu <hongjiu.lu@intel.com> |
646 | ||
647 | * gdbarch.sh: Add qsupported. | |
648 | ||
649 | * gdbarch.c: Regenerated. | |
650 | * gdbarch.h: Likewise. | |
651 | ||
652 | * remote.c (remote_state): Add gdbarch. | |
653 | (init_remote_state): Set gdbarch. | |
654 | (remote_query_supported): Support gdbarch_qsupported. | |
655 | ||
c1dec97b DJ |
656 | 2010-02-03 Daniel Jacobowitz <dan@codesourcery.com> |
657 | ||
658 | * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Also check for | |
659 | __FreeBSD_kernel_version. | |
660 | ||
ac8035ab TG |
661 | 2010-02-03 Tristan Gingold <gingold@adacore.com> |
662 | ||
663 | * symfile.h (struct sym_fns): Add sym_relocate field. | |
664 | (default_symfile_relocate): New prototype. | |
665 | (symfile_relocate_debug_section): First argument is now an objfile. | |
666 | * symfile.c (default_symfile_relocate): Rename from | |
667 | symfile_relocate_debug_section, first argument is now an objfile. | |
668 | (symfile_relocate_debug_section): New function. | |
669 | * coffread.c (coff_sym_fns): Set sym_relocate field. | |
670 | * somread.c (som_sym_fns): Ditto. | |
671 | * mipsread.c (ecoff_sym_fns): Ditto. | |
672 | * machoread.c (macho_sym_fns): Ditto. | |
673 | * elfread.c (elf_sym_fns): Ditto. | |
674 | * dwarf2read.c (dwarf2_read_section): Ditto. | |
675 | * xcoffread.c (xcoff_sym_fns): Ditto. | |
676 | * dbxread.c (aout_sym_fns): Ditto. | |
677 | (dbx_psymtab_to_symtab): Adjust call to symfile_relocate_debug_section. | |
678 | (elfstab_build_psymtabs): Ditto. | |
679 | ||
be52b756 L |
680 | 2010-02-03 H.J. Lu <hongjiu.lu@intel.com> |
681 | ||
682 | * defs.h (MAX_REGISTER_SIZE): Increase to 32. | |
683 | ||
9c3c02fd TT |
684 | 2010-02-02 Tom Tromey <tromey@redhat.com> |
685 | ||
686 | * valops.c (value_cast_structs): Try downcasting using the RTTI | |
687 | type. | |
688 | ||
f23f4c59 TT |
689 | 2010-02-02 Tom Tromey <tromey@redhat.com> |
690 | ||
691 | * gnu-v2-abi.c: Don't include gnu-v2-abi.h. | |
692 | (gnuv2_baseclass_offset): Now static. | |
693 | * Makefile.in (HFILES_NO_SRCDIR): Remove gnu-v2-abi.h. | |
694 | * gnu-v2-abi.h: Remove. | |
695 | ||
0cc2414c TT |
696 | 2010-02-02 Tom Tromey <tromey@redhat.com> |
697 | ||
698 | * m2-typeprint.c (m2_record_fields): Don't use | |
699 | TYPE_DECLARED_TYPE. | |
700 | * gdbtypes.h (TYPE_DECLARED_CLASS): New macro. | |
701 | (struct main_type) <flag_declared_class>: New field. | |
702 | (struct cplus_struct_type) <declared_type>: Remove. | |
703 | <ntemplate_args>: Move earlier. | |
704 | (DECLARED_TYPE_CLASS, DECLARED_TYPE_UNION, DECLARED_TYPE_STRUCT) | |
705 | (DECLARED_TYPE_TEMPLATE): Remove. | |
706 | (TYPE_DECLARED_TYPE): Remove. | |
707 | * gdbtypes.c (lookup_union): Don't use TYPE_DECLARED_TYPE. | |
708 | * dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS. | |
709 | * c-typeprint.c (c_type_print_base): Use TYPE_DECLARED_CLASS, not | |
710 | TYPE_DECLARED_TYPE. | |
711 | ||
edf3d5f3 TT |
712 | 2010-02-02 Tom Tromey <tromey@redhat.com> |
713 | ||
714 | PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890: | |
715 | * valops.c (search_struct_field): Compute nbases after calling | |
716 | CHECK_TYPEDEF. | |
717 | (check_field): Call CHECK_TYPEDEF. | |
718 | * cp-valprint.c (cp_print_value): Pass correct address to | |
719 | baseclass_offset. Fix check for virtual base past the end of the | |
720 | object. Don't offset address passed to cp_print_value_fields or | |
721 | apply_val_pretty_printer. | |
722 | (cp_print_value_fields): Fix call to val_print. | |
723 | (cp_print_value_fields_rtti): New function. | |
724 | * c-valprint.c (c_val_print): Use cp_print_value_fields_rtti. | |
725 | * p-valprint.c (pascal_object_print_value_fields): Fix call to | |
726 | val_print. | |
727 | * python/py-prettyprint.c (apply_val_pretty_printer): Add embedded | |
728 | offset to address. | |
729 | * language.h (struct language_defn) <la_val_print>: Document. | |
730 | * c-lang.h (cp_print_value_fields_rtti): Declare. | |
731 | ||
e4b7f41c JK |
732 | 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
733 | ||
734 | PR libc/11214: | |
735 | * linux-low.c (linux_tracefork_child) [!(__UCLIBC__ && HAS_NOMMU)]: New. | |
736 | (linux_test_for_tracefork): Move `stack' into [__UCLIBC__ && HAS_NOMMU]. | |
737 | (linux_test_for_tracefork) [!(__UCLIBC__ && HAS_NOMMU)]: New. | |
738 | ||
7618e12b DJ |
739 | 2010-02-01 Michael Matz <matz@suse.de> |
740 | Daniel Jacobowitz <dan@codesourcery.com> | |
741 | ||
e4b7f41c | 742 | * i386-tdep.c (i386_frame_cache): Assume valid anonymous |
7618e12b DJ |
743 | functions use a frame pointer. |
744 | ||
b381ea14 JK |
745 | 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
746 | ||
747 | * solib-svr4.c (scan_dyntag): New variable dyn_addr. Replace gdb_assert | |
748 | by a conditional setting DYN_ADDR. Use DYN_ADDR. | |
749 | * config/djgpp/fnchange.lst: Add translations for | |
750 | symbol-without-target_section.exp and symbol-without-target_section.c. | |
751 | ||
0e05dfcb DJ |
752 | 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
753 | ||
754 | * gdbarch.sh: Set LANG and LC_ALL to C, not c. | |
755 | (remote_breakpoint_for_pc): Correct invalid_p check. | |
756 | * gdbarch.c: Regenerated. | |
757 | ||
f9d67f43 DJ |
758 | 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
759 | ||
760 | * arm-tdep.c (arm_find_mapping_symbol): New function, from | |
761 | arm_pc_is_thumb. | |
762 | (arm_pc_is_thumb): Use arm_find_mapping_symbol. | |
763 | (extend_buffer_earlier): New function. | |
764 | (MAX_IT_BLOCK_PREFIX, IT_SCAN_THRESHOLD): New constants. | |
765 | (arm_adjust_breakpoint_address): New function. | |
766 | (arm_gdbarch_init): Register arm_adjust_breakpoint_address. | |
767 | ||
177321bd DJ |
768 | 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
769 | ||
770 | * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint) | |
771 | (arm_linux_thumb2_le_breakpoint): New constants. | |
772 | (arm_linux_init_abi): Set thumb2_breakpoint and | |
773 | thumb2_breakpoint_size. | |
774 | * arm-tdep.c (thumb_insn_size, thumb_advance_itstate): New functions. | |
775 | (thumb_get_next_pc): Add a comment. Rename IT to ITSTATE. | |
776 | Implement support for single stepping through IT blocks if | |
777 | a 32-bit Thumb breakpoint instruction is available. | |
778 | (arm_breakpoint_from_pc): If a 32-bit Thumb breakpoint instruction | |
779 | is available, use it when needed. | |
780 | (arm_remote_breakpoint_from_pc): New function. | |
781 | (arm_gdbarch_init): Register arm_remote_breakpoint_from_pc. | |
782 | * arm-tdep.h (struct gdbarch_tdep): Correct thumb_breakpoint | |
783 | comment. Add thumb2_breakpoint and thumb2_breakpoint_size. | |
784 | ||
a1dcb23a DJ |
785 | 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
786 | ||
787 | * arch-utils.c (default_remote_breakpoint_from_pc): New function. | |
788 | * arch-utils.h (default_remote_breakpoint_from_pc): Declare. | |
789 | * gdbarch.c, gdbarch.h: Regenerated. | |
790 | * gdbarch.sh (remote_breakpoint_from_pc): New architecture method. | |
791 | * remote.c (remote_insert_breakpoint, remote_insert_hw_breakpoint): Use | |
792 | gdbarch_remote_breakpoint_from_pc. | |
793 | ||
2b009048 DJ |
794 | 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
795 | ||
796 | * infrun.c (prepare_to_proceed): Handle other signals which might | |
797 | match a breakpoint. | |
798 | (handle_inferior_event): Move the check for unusual breakpoint | |
799 | signals earlier. | |
800 | ||
e4e2711a JB |
801 | 2010-01-29 Paul Hilfinger <hilfinger@adacore.com> |
802 | ||
803 | amd64 - function returning record with field straddling 2 registers. | |
804 | * amd64-tdep.c (amd_classify_aggregate): Handle the case of | |
805 | a record of length <= 16 in which a field straddles the two | |
806 | eightbytes. | |
807 | ||
cba6fab5 JB |
808 | 2010-01-29 Joel Brobecker <brobecker@adacore.com> |
809 | ||
810 | Implement return values on amd64-windows. | |
811 | * amd64-windows-tdep.c: #include gdbcore.h and regcache.h. | |
812 | (amd64_windows_return_value): New function. | |
813 | (amd64_windows_init_abi): Call set_gdbarch_return_value with | |
814 | amd64_windows_return_value. | |
815 | ||
3af6ddfe JB |
816 | 2010-01-29 Joel Brobecker <brobecker@adacore.com> |
817 | ||
818 | amd64-windows: 32 bytes allocated on stack by caller for integer | |
cba6fab5 | 819 | parameter registers. |
3af6ddfe JB |
820 | * i386-tdep.h (struct gdbarch_tdep): Add new field |
821 | integer_param_regs_saved_in_caller_frame. | |
822 | * amd64-windows-tdep.c (amd64_windows_init_abi): Set | |
823 | tdep->integer_param_regs_saved_in_caller_frame to 1. | |
824 | * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on | |
825 | stack if tdep->integer_param_regs_saved_in_caller_frame is set. | |
826 | ||
80d19a06 JB |
827 | 2010-01-29 Joel Brobecker <brobecker@adacore.com> |
828 | ||
829 | amd64-windows: memory args passed by pointer during function calls. | |
830 | * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer. | |
831 | * amd64-tdep.c (amd64_push_arguments): Add handling of architectures | |
832 | where tdep->memory_args_by_pointer is non-zero. | |
833 | * amd64-windows-tdep.c (amd64_windows_init_abi): Set | |
834 | tdep->memory_args_by_pointer to 1. | |
835 | ||
ba581dc1 JB |
836 | 2010-01-29 Joel Brobecker <brobecker@adacore.com> |
837 | ||
4966b6c2 | 838 | amd64-windows: Integer parameters in function calls. |
ba581dc1 JB |
839 | * i386-tdep.h (enum amd64_reg_class): New, moved here from |
840 | amd64-tdep.c. | |
841 | (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs, | |
842 | call_dummy_integer_regs, and classify. | |
843 | * amd64-tdep.h (amd64_classify): Add declaration. | |
844 | * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant. | |
845 | (amd64_reg_class): Delete, moved to i386-tdep.h. | |
846 | (amd64_classify): Make non-static. Move declaration to amd64-tdep.h. | |
847 | Replace call to amd64_classify by call to tdep->classify. | |
848 | (amd64_push_arguments): Get the list of registers to use for | |
849 | passing integer parameters from the gdbarch tdep structure, | |
850 | rather than using a hardcoded one. Replace calls to amd64_classify | |
851 | by calls to tdep->classify. | |
852 | (amd64_push_dummy_call): Get the register number used for | |
853 | the "hidden" argument from tdep->call_dummy_integer_regs. | |
854 | (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs | |
855 | and tdep->call_dummy_integer_regs. Set tdep->classify. | |
856 | * amd64-windows-tdep.c: Add include of gdbtypes.h. | |
857 | (amd64_windows_dummy_call_integer_regs): New static global. | |
858 | (amd64_windows_classify): New function. | |
859 | (amd64_windows_init_abi): Initialize tdep->call_dummy_num_integer_regs | |
860 | tdep->call_dummy_integer_regs and tdep->classify. | |
861 | ||
d37346f0 DJ |
862 | 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com> |
863 | ||
864 | * regcache.c (regcache_xmalloc): Add aspace argument. Use it | |
865 | for the new regcache. All callers updated. | |
866 | (regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here. | |
867 | (get_thread_arch_regcache): Do not set aspace here. | |
868 | * regcache.h (regcache_xmalloc): Update declaration. | |
869 | ||
870 | * frame.c, infcall.c, ppc-linux-tdep.c: Calls to | |
871 | regcache_xmalloc updated. | |
872 | ||
7434dadd JB |
873 | 2010-01-28 Joel Brobecker <brobecker@adacore.com> |
874 | ||
875 | Another -Wunused-function error in procfs.c (sparc-solaris) | |
876 | * procfs.c (insert_dbx_link_breakpoint): Delete declaration. Move up. | |
877 | Only define if SYS_syssgi is defined. | |
878 | (remove_dbx_link_breakpoint): Delete declaration. Move up. | |
879 | (dbx_link_addr, insert_dbx_link_bpt_in_file) | |
880 | (insert_dbx_link_bpt_in_region): Move up. Only define if SYS_syssgi | |
881 | is itself defined. | |
882 | ||
16d905e2 CF |
883 | 2010-01-27 Christopher Faylor <me+cygwin@cgf.cx> |
884 | ||
885 | * windows-nat.c (windows_initialization_done): New variable. | |
886 | (get_windows_debug_event): Issue error when process dies before | |
887 | completely initializing. | |
888 | (do_initial_windows_stuff): Set flag to indicate when we are done with | |
889 | the initial steps of attaching to the child. | |
890 | ||
cd55e50f JK |
891 | 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
892 | ||
893 | * symtab.h (struct symbol <symtab>): New comment on NULL values. | |
894 | ||
99cc78aa DE |
895 | 2010-01-27 Doug Evans <dje@google.com> |
896 | ||
4c7dcb84 DE |
897 | * solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity. |
898 | ||
99cc78aa DE |
899 | * breakpoint.c (bpstat_stop_status): Delete useless code. |
900 | ||
52334bf5 JK |
901 | 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
902 | ||
903 | * printcmd.c (display_uses_solib_p): Remove variable section. Access | |
904 | objfile via SYMBOL_SYMTAB. | |
905 | ||
708ead4e TT |
906 | 2010-01-26 Tom Tromey <tromey@redhat.com> |
907 | ||
908 | PR exp/7643: | |
909 | * eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call | |
910 | coerce_array on result. | |
911 | ||
b14e635e SW |
912 | 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> |
913 | ||
914 | * cp-namespace.c (cp_lookup_symbol_namespace): Added | |
915 | search_parent argument. | |
916 | (cp_add_using): Initialize 'searched' field. | |
917 | (reset_directive_searched): New function. | |
918 | * cp-support.h: Add 'searched' field to using_direct struct. | |
919 | (cp_lookup_symbol_imports): Ditto. | |
920 | * cp-namespace.c (cp_lookup_symbol_imports): Ditto. | |
921 | Perform recursive search. | |
922 | Implement non parent search. | |
923 | * valops.c (value_maybe_namespace_elt): Updated. | |
924 | ||
8540c487 SW |
925 | 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> |
926 | ||
927 | PR gdb/10929: | |
928 | * dwarf2read.c (read_lexical_block_scope): Create blocks for | |
929 | scopes which contain using directives even if they contain no | |
930 | declarations. | |
931 | * symtab.c (lookup_symbol_aux): Pass lowest level block to | |
932 | la_lookup_symbol_nonlocal. | |
933 | * cp-namespace.c (cp_lookup_symbol_nonlocal): call | |
934 | cp_lookup_symbol_namespace. | |
935 | (cp_lookup_symbol_namespace): Perform an import lookup at every | |
936 | block level. | |
937 | (cp_lookup_symbol_imports): New function. | |
938 | (cp_lookup_symbol_in_namespace): New function. | |
939 | ||
421d5d99 TT |
940 | 2010-01-25 Tom Tromey <tromey@redhat.com> |
941 | ||
942 | PR gdb/11049: | |
943 | * c-valprint.c (c_val_print): Fix test of extract_unsigned_integer | |
944 | result. | |
945 | ||
6bcc772d RO |
946 | 2010-01-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
947 | ||
948 | * configure.ac: Only use host_os part when disabling TUI on osf. | |
949 | Use test to check variables, prefix strings with x. | |
950 | * configure: Regenerate. | |
951 | ||
952 | * solib-osf.c (osf_current_sos): Initialize tail. | |
953 | ||
1c1238a5 TG |
954 | 2010-01-25 gingold <gingold@adacore.com> |
955 | ||
956 | * windows-nat.c (windows_continue): Use %x to print thread id. | |
957 | (get_windows_debug_event): Ditto. | |
958 | ||
0b92b5bb TT |
959 | 2010-01-22 Tom Tromey <tromey@redhat.com> |
960 | ||
961 | PR symtab/11199: | |
962 | * dwarf2read.c (quirk_gcc_member_function_pointer): Change return | |
963 | type and arguments. Use smash_to_methodptr_type. | |
964 | (read_structure_type): Call quirk_gcc_member_function_pointer | |
965 | later. | |
966 | * gdbtypes.h (smash_to_methodptr_type): Declare. | |
967 | * gdbtypes.c (smash_to_methodptr_type): New function. | |
968 | (lookup_methodptr_type): Use it. | |
969 | ||
0d5392b8 TT |
970 | 2010-01-21 Tom Tromey <tromey@redhat.com> |
971 | ||
972 | PR symtab/11198: | |
973 | * symtab.h (lookup_minimal_symbol_and_objfile): Declare. | |
974 | * minsyms.c (lookup_minimal_symbol_and_objfile): New function. | |
975 | * glibc-tdep.c (find_minsym_and_objfile): Remove. | |
976 | (glibc_skip_solib_resolver): Use | |
977 | lookup_minimal_symbol_and_objfile. | |
978 | ||
e6d088ec KT |
979 | 2010-01-21 Kai Tietz <kai.tietz@onevision.com> |
980 | ||
981 | * inflow.c (check_syscall): Guard by #if clause for GO32 and | |
982 | WIN32 targets. | |
983 | ||
b966cb8a TT |
984 | 2010-01-20 Tom Tromey <tromey@redhat.com> |
985 | ||
986 | PR backtrace/10770: | |
987 | * valarith.c (value_binop): Handle BINOP_GTR, BINOP_LEQ, and | |
988 | BINOP_GEQ. Handle BINOP_NOTEQUAL in the signed case. | |
989 | * dwarf2expr.c (new_dwarf_expr_context): Allocate | |
990 | dwarf_stack_values, not CORE_ADDRs. | |
991 | (execute_stack_op): Change DW_OP_div and comparison operators to | |
992 | use signed operands. | |
993 | ||
3f81c18a VP |
994 | 2010-01-20 Vladimir Prus <vladimir@codesourcery.com> |
995 | ||
996 | Per-inferior args and tty and environment. | |
997 | ||
998 | * infcmd.c (inferior_args): Rename to ... | |
999 | (inferior_args_scratch): ... this. | |
1000 | (inferior_io_terminal): Rename to ... | |
1001 | (inferior_io_terminal_scratch): ... this. | |
1002 | (inferior_argc, inferior_argv): Remove. | |
1003 | (set_inferior_io_terminal, get_inferior_io_terminal): Store | |
1004 | inside current_inferior(). | |
1005 | (set_inferior_tty_command, show_inferior_tty_command): New. | |
1006 | (get_inferior_args, set_inferior_args): Store inside | |
1007 | current_inferior(). | |
1008 | (notice_args_set): Likewise and rename to... | |
1009 | (set_args_command): ... this. | |
1010 | (set_inferior_args_vector): Likewise. | |
1011 | (notice_args_read): Rename to... | |
1012 | (show_args_command): ...new. | |
1013 | (tty_command): Remove. | |
1014 | (run_command_1): Don't free old args, as they are freed by | |
1015 | set_inferior_arg now. | |
1016 | (run_no_args_command): Likewise. | |
1017 | (inferior_environ): Remove. | |
1018 | (run_command_1): Use environment of the current inferior. | |
1019 | (environment_info, set_environment_command) | |
1020 | (unset_environment_command, path_info, path_command): Likewise. | |
1021 | (_initialize_infcmd): Adjust for function and variable renames. | |
1022 | Do not init inferior_environ. | |
1023 | * inferior.h (set_inferior_arg): Adjust prototype. | |
1024 | (struct inferior): New fields args, argc, argv, terminal, environment. | |
1025 | (inferior_environ): Remove declaration. | |
1026 | * inferior.c (free_inferior): Free new fields. | |
1027 | (add_inferior_silent): Initialize 'environment' field. | |
1028 | * main.c (captured_main): Set arguments only after the initial | |
1029 | inferior has been created. Set set_inferior_io_terminal, | |
1030 | not tty_command. | |
1031 | * mi/mi-main.c (mi_cmd_env_path): Use environment of the current | |
1032 | inferior. | |
1033 | (_initialize_mi_cmd_env): Adjust for disappearance of global | |
1034 | inferior_environ. | |
1035 | * solib.c (solib_find): Use environment of the current inferior. | |
1036 | ||
d8b65138 JK |
1037 | 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
1038 | ||
1039 | * varobj.c (varobj_add_child, install_dynamic_child): Wrap into #if | |
1040 | HAVE_PYTHON. | |
1041 | (instantiate_pretty_printer): Move HAVE_PYTHON outside of the function. | |
1042 | ||
692465f1 JB |
1043 | 2010-01-20 Joel Brobecker <brobecker@adacore.com> |
1044 | ||
1045 | Get rid of ada-lang.c:function_name_from_pc. | |
1046 | * ada-lang.c: Add "stack.h" #include. | |
1047 | (function_name_from_pc): Delete. | |
1048 | (is_known_support_routine): Replace call to function_name_from_pc | |
1049 | by call to find_frame_funname. | |
1050 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
1051 | ||
95519e0e TT |
1052 | 2010-01-19 Tom Tromey <tromey@redhat.com> |
1053 | ||
1054 | PR c++/11026: | |
1055 | * dwarf2read.c (read_partial_die): Allocate partial DIE's name on | |
1056 | objfile obstack. | |
1057 | ||
95c11dc7 TT |
1058 | 2010-01-19 Tom Tromey <tromey@redhat.com> |
1059 | ||
1060 | * top.c (stop_sig, float_handler, do_nothing): Remove. | |
1061 | ||
a0f49112 JK |
1062 | 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
1063 | ||
1064 | * breakpoint.c (watchpoint_check): Check the call | |
1065 | gdbarch_in_function_epilogue_p before calling frame_find_by_id. | |
1066 | Extend the comment. | |
1067 | * config/djgpp/fnchange.lst: Add translations for | |
1068 | watchpoint-cond-gone.exp, watchpoint-cond-gone.c and | |
1069 | watchpoint-cond-gone-stripped.c. | |
1070 | ||
ceeb3d5a TT |
1071 | 2010-01-19 Tom Tromey <tromey@redhat.com> |
1072 | ||
1073 | PR c++/8000: | |
1074 | * dwarf2read.c (partial_die_parent_scope): Put enumeration type | |
1075 | into parent scope, and enumerator into grandparent scope. | |
1076 | ||
2b71fc8e JB |
1077 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> |
1078 | ||
1079 | * NEWS: Add entry for "set/show ada trust-PAD-over-XVS" commands. | |
1080 | ||
03564ed9 JB |
1081 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> |
1082 | ||
1083 | * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of | |
1084 | i[34567]86-*-solaris2.1[0-9]*. | |
1085 | * configure.tgt: Likewise. | |
1086 | ||
fb2e7cb4 JB |
1087 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> |
1088 | ||
1089 | * NEWS: Document the source command enhancement allowing it | |
1090 | to load Python scripts. Document the "set/show script-extension" | |
1091 | commands. | |
1092 | ||
1cb5e2a4 JB |
1093 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> |
1094 | ||
1095 | Add -Wunused-function to compile flags. | |
1096 | * configure.ac: Add -Wunused-function to build_warnings. | |
1097 | * configure: Regenerate. | |
1098 | ||
0ec6cd0c JB |
1099 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> |
1100 | ||
1101 | "delete" ada-lex.c:input function, not used. | |
1102 | * ada-lex.l: #define YY_NO_INPUT. | |
1103 | ||
b74845da JB |
1104 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> |
1105 | ||
1106 | Delete free_named_symtabs and associated cleanup. | |
1107 | * symfile.h (free_named_symtabs): Delete declaration. | |
1108 | * symfile.c: Remove some commented out code (clear_symtab_users_once). | |
1109 | (cashier_psymtab): Comment function out. | |
1110 | Delete declaration. | |
1111 | (free_named_symtabs): Delete. | |
1112 | * coffread.c (coff_end_symtab): Remove call to free_named_symtabs. | |
1113 | * dbxread.c (end_psymtab): Likewise. | |
1114 | * dwarf2read.c (process_psymtab_comp_unit): Ditto. | |
1115 | * exec.c (exec_close_1): Ditto. | |
1116 | * xcoffread.c (xcoff_end_psymtab): Likewise. | |
1117 | ||
65c06092 JB |
1118 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> |
1119 | ||
1120 | * stack.c (print_block_frame_labels): Comment function out. | |
1121 | ||
d5cd6034 JB |
1122 | 2010-01-19 Joel Brobecker <brobecker@adacore.com> |
1123 | ||
1124 | Delete unused or undefined functions. | |
1125 | * breakpoint.c (ep_parse_optional_filename): Delete. | |
1126 | * dcache.c (dcache_write_line): Remove declaration. | |
1127 | * infrun.c (build_infrun): Remove declaration. | |
1128 | * tracepoint.c (tracepoint_save_command): Remove declaration. | |
1129 | * linux-nat.c (init_lwp_list): Delete. No longer used. | |
1130 | * event-loop.c (check_async_signal_handlers): Delete declaration. | |
1131 | * infrun.c (init_execution_control_state): Delete. | |
1132 | (proceed): Update comment to avoid mentioning | |
1133 | init_execution_control_state. | |
1134 | * target.c (kill_or_be_killed, nosupport_runtime): Delete. | |
1135 | * ada-lang.c (ada_to_static_fixed_value): Delete. | |
1136 | * scm-lang.c (evaluate_subexp_scm): Delete declaration. | |
1137 | * cp-namespace.c (cp_copy_usings): Delete. | |
1138 | * xml-syscall.c (xml_number_of_syscalls): Delete. | |
1139 | * progspace.c (find_program_space_by_num): Delete. | |
1140 | * inflow.c (handle_sigio): Delete declaration. | |
1141 | * hppa-tdep.c (hppa_alignof): Delete. | |
1142 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset) | |
1143 | (mipsnbsd_core_osabi_sniffer): Delete. | |
1144 | ||
4e8f195d TT |
1145 | 2010-01-18 Tom Tromey <tromey@redhat.com> |
1146 | ||
1147 | PR c++/9680: | |
1148 | * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST) | |
1149 | (CONST_CAST): New tokens. | |
1150 | (exp): Add new productions. | |
1151 | (ident_tokens): Add const_cast, dynamic_cast, static_cast, and | |
1152 | reinterpret_cast. | |
1153 | (is_cast_operator): New function. | |
1154 | (yylex): Handle cast operators specially. | |
1155 | * eval.c (evaluate_subexp_standard) <UNOP_DYNAMIC_CAST, | |
1156 | UNOP_REINTERPRET_CAST>: New cases. | |
1157 | * expprint.c (print_subexp_standard): Likewise. | |
1158 | (op_name_standard): Likewise. | |
1159 | (dump_subexp_body_standard): Likewise. | |
1160 | * parse.c (operator_length_standard): Likewise. | |
1161 | * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST, | |
1162 | UNOP_REINTERPRET_CAST. | |
1163 | * gdbtypes.c (class_types_same_p): New function. | |
1164 | (is_ancestor): Use it. | |
1165 | (is_public_ancestor): New function. | |
1166 | (is_unique_ancestor_worker): Likewise. | |
1167 | (is_unique_ancestor): Likewise. | |
1168 | * gdbtypes.h (class_types_same_p, is_public_ancestor) | |
1169 | (is_unique_ancestor): Declare. | |
1170 | * valops.c (value_reinterpret_cast): New function. | |
1171 | (dynamic_cast_check_1): Likewise. | |
1172 | (dynamic_cast_check_2): Likewise. | |
1173 | (value_dynamic_cast): Likewise. | |
1174 | * value.h (value_reinterpret_cast, value_dynamic_cast): Declare. | |
1175 | ||
d9c57d9f JB |
1176 | 2010-01-18 Joel Brobecker <brobecker@adacore.com> |
1177 | ||
1178 | Fix build failure when building without Python support. | |
1179 | * python/python.c: Always include exceptions.h, even when HAVE_PYTHON | |
1180 | is not defined. | |
1181 | ||
f80d3ff2 JB |
1182 | 2010-01-18 Joel Brobecker <brobecker@adacore.com> |
1183 | ||
1184 | Use XVS field type instead of doing a parallel lookup. | |
1185 | * ada-lang.c (ada_get_base_type): Follow the XVS field type | |
1186 | if it is a reference type instead of doing a type lookup using | |
1187 | the XVS field name. | |
1188 | ||
5bf03f13 JB |
1189 | 2010-01-18 Joel Brobecker <brobecker@adacore.com> |
1190 | ||
1191 | Trust PAD types instead of using PAD___XVS. | |
1192 | * ada-lang.c (trust_pad_over_xvs): New static variable. | |
1193 | (ada_is_aligner_type): If !trust_pad_over_xvs and there is a | |
1194 | parallel XVS type, follow the XVS type instead of the PAD type. | |
1195 | (unwrap_value): Make sure that there is no parallel XVE type | |
1196 | before returning the value as is. | |
1197 | (set_ada_list, show_ada_list): New static variables. | |
1198 | (set_ada_command, show_ada_command): New functions. | |
1199 | (_initialize_ada_language): Add new "set/show ada" prefix commands. | |
1200 | Add new "set/show ada trust-PAD-over-XVS" setting. | |
1201 | ||
973817a3 JB |
1202 | 2010-01-18 Tom Tromey <tromey@redhat.com> |
1203 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
1204 | ||
1205 | Allow "source" to load python scripts. | |
1206 | * exceptions.h (enum errors): Add UNSUPPORTED_ERROR. | |
1207 | * python/python.c (source_python_script): New function. | |
1208 | * python/python.h (source_python_script): Add declaration. | |
1209 | * cli/cli-cmds.c: #include exceptions.h and python/python.h. | |
1210 | (script_ext_off, script_ext_soft, script_ext_strict) | |
1211 | (script_ext_enums, script_ext_mode): New static constants. | |
1212 | (show_script_ext_mode, find_and_open_script): New functions. | |
1213 | (source_script): Enhance to handle Python scripts. | |
1214 | (init_cli_cmds): Add set/show script-extension commands. | |
1215 | ||
98e03262 SS |
1216 | 2010-01-16 Stan Shebs <stan@codesourcery.com> |
1217 | ||
1218 | * tracepoint.h (struct trace_status): Use unsigned long long | |
1219 | instead of size_t. | |
1220 | * tracepoint.c (trace_status_command): Fix printf directive. | |
1221 | (trace_save_command): Check fwrite returns, fix printf directive. | |
1222 | (trace_filename): New global. | |
1223 | (tfile_open): Set it, check read returns. | |
1224 | (tfile_close): Free trace_filename. | |
1225 | (tfile_get_traceframe_address): Check read returns. | |
1226 | (tfile_trace_find): Ditto. | |
1227 | (tfile_fetch_registers): Ditto. | |
1228 | (tfile_xfer_partial): Ditto. | |
1229 | (tfile_get_trace_state_variable_value): Ditto. | |
1230 | ||
00bf0b85 SS |
1231 | 2010-01-15 Stan Shebs <stan@codesourcery.com> |
1232 | ||
1233 | Add trace file support. | |
1234 | * tracepoint.h (enum trace_stop_reason): New enum. | |
1235 | (struct trace_status): New struct. | |
1236 | (parse_trace_status): Declare. | |
1237 | (struct uploaded_tp): Move here from remote.c, | |
1238 | add fields for actions. | |
1239 | (struct uploaded_tsv): New struct. | |
1240 | * tracepoint.c (tfile_ops): New target vector. | |
1241 | (trace_fd): New global. | |
1242 | (tfile_open): New function. | |
1243 | (tfile_close): New function. | |
1244 | (tfile_files_info): New function. | |
1245 | (tfile_get_trace_status): New function. | |
1246 | (tfile_get_traceframe_address): New function. | |
1247 | (tfile_trace_find): New function. | |
1248 | (tfile_fetch_registers): New function. | |
1249 | (tfile_xfer_partial): New function. | |
1250 | (tfile_get_trace_state_variable_value): New function. | |
1251 | (init_tfile_ops): New function. | |
1252 | (_initialize_tracepoint): Call it, add tfile target. | |
1253 | (trace_status): New global. | |
1254 | (current_trace_status): New function. | |
1255 | (trace_running_p): Remove, change all users to get from | |
1256 | current_trace_status()->running. | |
1257 | (get_trace_status): Remove. | |
1258 | (trace_status_command): Call target_get_trace_status directly, | |
1259 | report more detail including tracing stop reasons. | |
1260 | (trace_find_command): Always allow tfind on a file. | |
1261 | (trace_find_pc_command): Ditto. | |
1262 | (trace_find_tracepoint_command): Ditto. | |
1263 | (trace_find_line_command): Ditto. | |
1264 | (trace_find_range_command): Ditto. | |
1265 | (trace_find_outside_command): Ditto. | |
1266 | (trace_frames_offset, cur_offset): Declare as off_t. | |
1267 | (trace_regblock_size): Rename from reg_size, update users. | |
1268 | (parse_trace_status): New function. | |
1269 | (tfile_interp_line): New function. | |
1270 | (disconnect_or_stop_tracing): Ensure current trace | |
1271 | status before asking what to do. | |
1272 | (stop_reason_names): New global. | |
1273 | (trace_save_command): New command. | |
1274 | (get_uploaded_tp): Move here from remote.c. | |
1275 | (find_matching_tracepoint): Ditto. | |
1276 | (merge_uploaded_tracepoints): New function. | |
1277 | (parse_trace_status): Use stop_reason_names. | |
1278 | (_initialize_tracepoint): Define tsave command. | |
1279 | * target.h (target_ops): New fields to_save_trace_data, | |
1280 | to_upload_tracepoints, to_upload_trace_state_variables, | |
1281 | to_get_raw_trace_data, change to_get_trace_status | |
1282 | to take a pointer to a status struct. | |
1283 | (target_save_trace_data): New macro. | |
1284 | (target_upload_tracepoints): New macro. | |
1285 | (target_upload_trace_state_variables): New macro. | |
1286 | (target_get_raw_trace_data): New macro. | |
1287 | * target.c (update_current_target): Add new methods, change | |
1288 | signature of to_get_trace_status. | |
1289 | * remote.c (hex2bin): Make globally visible. | |
1290 | (bin2hex): Ditto. | |
1291 | (remote_download_trace_state_variable): Download name also. | |
1292 | (remote_get_trace_status): Update parameter, use | |
1293 | parse_trace_status. | |
1294 | (remote_save_trace_data): New function. | |
1295 | (remote_upload_tracepoints): New function. | |
1296 | (remote_upload_trace_state_variables): New function. | |
1297 | (remote_get_raw_trace_data): New function. | |
1298 | (remote_start_remote): Use them. | |
1299 | (_initialize_remote_ops): Add operations. | |
1300 | * ax-gdb.c: Include breakpoint.h. | |
1301 | * breakpoint.c (create_tracepoint_from_upload): Use | |
1302 | break_command_really, return tracepoint, warn about unimplemented | |
1303 | parts. | |
1304 | * NEWS: Mention trace file addition. | |
1305 | ||
d904de5b JK |
1306 | 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
1307 | ||
1308 | Fix compilation warning on gcc-3.4. | |
1309 | * exec.c (print_section_info): Move the `displacement' variable | |
1310 | initialization to its declaration. | |
1311 | ||
64aa9731 JK |
1312 | 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
1313 | ||
1314 | * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE | |
1315 | comparison. | |
1316 | ||
ca1f5def | 1317 | 2010-01-15 Eric Botcazou <botcazou@adacore.com> |
9f0dec2d JB |
1318 | |
1319 | "info tasks" broken by typedefs in ATCB type definitions. | |
1320 | * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to | |
1321 | ada_check_typedef before retrieving the length of the type for | |
1322 | regular fields. | |
1323 | ||
12ab9e09 JB |
1324 | 2010-01-15 Joel Brobecker <brobecker@adacore.com> |
1325 | ||
1326 | Do not use name-based lookup for unconstrained packed arrays. | |
1327 | * ada-lang.c (find_parallel_type_by_descriptive_type): | |
1328 | Limit the fallback to name-based lookups to the case where | |
1329 | the type is a constrained packed array. | |
1330 | ||
c389c3dc JB |
1331 | 2010-01-15 Joel Brobecker <brobecker@adacore.com> |
1332 | ||
1333 | Enhance gdb-gdb.py to handle main_type.type_specific. | |
1334 | * gdb-gdb.py: Print the type-specific part of struct main_type. | |
1335 | ||
7991dee7 JK |
1336 | 2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
1337 | ||
1338 | * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit. | |
1339 | * configure: Regenerate. | |
1340 | * config.in: Regenerate. | |
1341 | * utils.c: Include sys/resource.h. | |
1342 | (dump_core, can_dump_core): New. | |
1343 | (internal_vproblem): Update the comment. Check can_dump_core while | |
1344 | setting dump_core_p. Replace two abort calls by dump_core calls. | |
1345 | ||
93c26624 JK |
1346 | 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1347 | Eli Zaretskii <eliz@gnu.org> | |
1348 | ||
1349 | * NEWS: Document the PIE support. | |
1350 | ||
55235ad7 JK |
1351 | 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1352 | ||
1353 | * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h. | |
1354 | (check_is_pie_binary, _initialize_linux_tdep): Remove. | |
1355 | ||
41752192 JK |
1356 | 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1357 | ||
1358 | * solib-svr4.c (svr4_exec_displacement): New comment for entry_point. | |
1359 | Replace exec_entry_point call by bfd_get_start_address. | |
1360 | ||
9f2982ff JK |
1361 | 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1362 | ||
1363 | Support Valgrind attachments broken by the PIE support. | |
1364 | * auxv.c: Include gdbcore.h. | |
1365 | (procfs_xfer_auxv): Make static. Reduce its comment. Drop its | |
1366 | parameters ops, object and annex. Remove their assertions. | |
1367 | (ld_so_xfer_auxv, memory_xfer_auxv): New function. | |
1368 | * auxv.h (procfs_xfer_auxv): Remove comment. Rename to ... | |
1369 | (memory_xfer_auxv): ... here. | |
1370 | * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to | |
1371 | memory_xfer_auxv. | |
1372 | * procfs.c (procfs_xfer_partial): Likewise. | |
1373 | * solib-svr4.c (svr4_relocate_main_executable): New prototype. | |
1374 | (svr4_special_symbol_handling): Call svr4_relocate_main_executable. | |
1375 | (svr4_solib_create_inferior_hook): Conditionalize the | |
1376 | svr4_relocate_main_executable call. | |
1377 | ||
61f0d762 JK |
1378 | 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1379 | ||
1380 | * solib-svr4.c (scan_dyntag): Remove variable dyn_addr. New variable | |
1381 | target_section. Find SECT in current_target_sections, gdb_assert it. | |
1382 | (elf_lookup_lib_symbol): Pass the binary file if given symfile_objfile. | |
1383 | New variable abfd. | |
1384 | * symtab.c (lookup_objfile_from_block): Return the binary file instead | |
1385 | of separate debug info file. | |
1386 | ||
51bee8e9 JK |
1387 | 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1388 | ||
1389 | Support PIEs with no symfile_objfile. | |
1390 | * exec.c (print_section_info <abfd == exec_bfd>): Relocate Entry point. | |
1391 | * solib-svr4.c (svr4_relocate_main_executable <exec_bfd>): New block. | |
1392 | ||
b8040f19 JK |
1393 | 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
1394 | ||
1395 | * solib-svr4.c (svr4_relocate_main_executable): Move the static exec | |
1396 | code part to ... | |
1397 | (svr4_static_exec_displacement): ... a new function. | |
1398 | (svr4_exec_displacement): New function. | |
1399 | (svr4_relocate_main_executable): Call svr4_exec_displacement. Allocate | |
1400 | new_offsets using alloca now. Remove variable old_chain and changed. | |
1401 | Call objfile_relocate unconditionally now. | |
1402 | ||
eb90ce83 DE |
1403 | 2010-01-14 Doug Evans <dje@google.com> |
1404 | ||
1405 | * gdbtypes.c (arch_flags_type): Fix comment. | |
1406 | * gdbtypes.h (arch_composite_type): Fix comment. | |
1407 | ||
bdfed3bc TG |
1408 | 2009-01-14 Tristan Gingold <gingold@adacore.com> |
1409 | ||
1410 | * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter. | |
1411 | Call xstrdup for abfd->filename. Pass symfile_flags and objfile flags | |
1412 | to symbol_file_add_from_bfd. Add OSO as separate objfile. | |
1413 | (macho_oso_symfile): Add symfile_flags parameter. Pass it to | |
1414 | macho_add_oso_symfile. | |
1415 | (macho_symfile_read): Pass symfile_flags to macho_oso_symfile. | |
1416 | ||
1596ad23 JB |
1417 | 2010-01-14 Joel Brobecker <brobecker@adacore.com> |
1418 | ||
1419 | Tru64: Dead threads are never deleted. | |
1420 | * dec-thread.c (dec_thread_ptid_is_alive): New function. | |
1421 | (dec_thread_count_gdb_threads): Fix counter increment. | |
1422 | (dec_thread_add_gdb_thread): Fix *listp increment. | |
1423 | (resync_thread_list): Fix bug in deletion of dead threads that | |
1424 | caused all threads to be deleted, instead of just the dead ones. | |
1425 | ||
be759fcf PM |
1426 | 2010-01-13 Phil Muldoon <pmuldoon@redhat.com> |
1427 | ||
1428 | PR python/10705 | |
1429 | ||
1430 | * python/python-internal.h: Add lazy_string_object_type | |
1431 | definition. | |
1432 | (create_lazy_string_object, gdbpy_initialize_lazy_string) | |
1433 | (gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define. | |
1434 | * python/py-value.c (valpy_lazy_string): New function. | |
1435 | (convert_value_from_python): Add lazy string conversion. | |
1436 | * python/py-prettyprint.c (pretty_print_one_value): Check if | |
1437 | return is also a lazy string. | |
1438 | (print_string_repr): Add lazy string printing branch. | |
1439 | (print_children): Likewise. | |
1440 | * python/py-lazy-string.c: New file. Implement lazy strings. | |
1441 | * python/python.c (_initialize_python): Call | |
1442 | gdbpy_initialize_lazy_string. | |
1443 | * varobj.c (value_get_print_value): Add lazy string printing | |
1444 | branch. Account for encoding. | |
1445 | * c-lang.c (c_printstr): Account for new encoding argument. If | |
1446 | encoding is NULL, find encoding suited for type, otherwise use | |
1447 | user encoding. | |
1448 | * language.h (language_defn): Add encoding argument. | |
1449 | (LA_PRINT_STRING): Likewise. | |
1450 | * language.c (unk_lang_printstr): Update to reflect new encoding | |
1451 | argument to language_defn. | |
1452 | * ada-lang.h (ada_printstr): Likewise. | |
1453 | * c-lang.h (c_printstr): Likewise. | |
1454 | * p-lang.h (pascal_printstr); | |
1455 | * f-lang.c (f_printstr): Likewise. | |
1456 | * m2-lang.c (m2_printstr): Likewise. | |
1457 | * objc-lang.c (objc_printstr): Likewise. | |
1458 | * p-lang.c (pascal_printstr): Likewise. | |
1459 | * scm-lang.c (scm_printstr): Likewise. | |
1460 | * c-valprint.c (c_val_print): Update LA_PRINT_STRING call for | |
1461 | encoding argument. | |
1462 | * ada-valprint.c (ada_printstr): Likewise. | |
1463 | * f-valprint.c (f_val_print): Likewise | |
1464 | * m2-valprint.c (m2_val_print): Likewise. | |
1465 | * p-valprint.c (pascal_val_print): Likewise. | |
1466 | * expprint.c (print_subexp_standard): Likewise. | |
1467 | * valprint.c (val_print_string): Likewise. | |
1468 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string. | |
1469 | (SUBDIR_PYTHON_SRCS): Likewise. | |
1470 | (py-lazy-string.o): New rule. | |
1471 | ||
1fe72117 | 1472 | 2010-01-13 Doug Evans <dje@google.com> |
8eee9c5a DE |
1473 | |
1474 | * mi/mi-main.c (list_available_thread_groups): Avoid "may be used | |
1475 | uninitialized" warning from gcc on local `tree'. | |
1476 | ||
dc146f7c VP |
1477 | 2010-01-13 Vladimir Prus <vladimir@codesourcery.com> |
1478 | ||
1479 | Implement core awareness. | |
1480 | ||
1481 | * bcache.c (compare_ints): Remove | |
1482 | (print_percentage): Use compare_positive_ints. | |
1483 | * defs.h (compare_positive_ints): Declare. | |
1484 | * linux-nat.h (struct lin_lwp): New field core. | |
1485 | (linux_nat_core_of_thread_1): Declare. | |
1486 | * linux-nat.c (add_lwp): Init the 'core' field. | |
1487 | (linux_nat_wait_1): Record the core. | |
1488 | (linux_nat_core_of_thread_1, linux_nat_core_of_thread): New. | |
1489 | (linux_nat_add_target): Register the above. | |
1490 | * linux-thread-db.c (update_thread_core): New. | |
1491 | (thread_db_find_new_threads): Update core information for | |
1492 | every thread. | |
1493 | * remote.c (struct private_thread_info): New. | |
1494 | (free_private_thread_info, demand_private_info): New. | |
1495 | (PACKET_qXfer_threads, use_osdata_threads): New. | |
1496 | (struct thread_item, threads_parsing_context | |
1497 | (start_thread, end_thread, thread_attributes) | |
1498 | (thread_children, threads_children, threads_elements): New. | |
1499 | (remote_threads_info): Try qXfer:threads before anything | |
1500 | else. | |
1501 | (remote_protocol_packets): Register qXfer:threads. | |
1502 | (remote_open_1): Init use_osdata_threads. | |
1503 | (struct stop_reply): New field 'core'. | |
1504 | (remote_parse_stop_reply): Parse core number. | |
1505 | (process_stop_reply): Record core number. | |
1506 | (remote_xfer_partial): Handle qXfer:threads. | |
1507 | (remote_core_of_thread): New. | |
1508 | (init_remote_ops): Register remote_core_of_thread. | |
1509 | (_initialize_remote): Register qXfer:read. | |
1510 | * target.c (target_core_of_thread): New | |
1511 | * target.h (enum target_object): New value TARGET_OBJECT_THREADS. | |
1512 | (struct target_ops): New field to_core_of_threads. | |
1513 | (target_core_of_thread): Declare. | |
1514 | * gdbthread.h (struct thread_info): New field private_dtor. | |
1515 | * thread.c (print_thread_info): Report the core. | |
1516 | * ui-out.c (MAX_UI_OUT_LEVELS): Increase. | |
1517 | * utils.c (compare_positive_ints): New. | |
1518 | * features/threads.dtd: New. | |
1519 | * mi/mi-interp.c (mi_on_normal_stop): Report the core. | |
1520 | * mi/mi-main.c (struct collect_cores_data, collect_cores) | |
1521 | (do_nothing, free_vector_of_osdata_items) | |
1522 | (splay_tree_int_comparator, free_splay_tree): New. | |
1523 | (print_one_inferior_data): Implemented printing of selected | |
1524 | inferiors. Collect and print cores. | |
1525 | (output_cores): New. | |
1526 | (mi_cmd_list_thread_groups): Support --recurse. Permit specifying | |
1527 | thread groups together with --available. | |
1528 | ||
d30c5336 JK |
1529 | 2010-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
1530 | ||
1531 | * configure: Regenerate (for _STRUCTURED_PROC). | |
1532 | ||
02893727 JB |
1533 | 2010-01-12 Joel Brobecker <brobecker@adacore.com> |
1534 | ||
1535 | Delete dead function. | |
1536 | * ada-lang.c (extract_string): Delete. No longer used. | |
1537 | ||
46ed2d6f JB |
1538 | 2010-01-12 Joel Brobecker <brobecker@adacore.com> |
1539 | ||
1540 | Fix -Wunused warning in dec-thread.c. | |
1541 | * dec-thread.c (dec_thread_count_gdb_threads) | |
1542 | (dec_thread_add_gdb_thread): Prevent -Wunused warning. | |
1543 | ||
606b8d1a JB |
1544 | 2010-01-12 Joel Brobecker <brobecker@adacore.com> |
1545 | ||
1546 | * ada-valprint.c (ada_print_floating): Remove trailing space. | |
1547 | ||
b4ba55a1 JB |
1548 | 2010-01-12 Joel Brobecker <brobecker@adacore.com> |
1549 | ||
1550 | Add support for DW_AT_GNAT_descriptive_type. | |
1551 | * gdbtypes.h (enum type_specific_kind): New enum. | |
1552 | (struct main_type) [type_specific_field]: New component. | |
1553 | [type_specific]: Add new component "gnat_stuff". | |
1554 | (struct gnat_aux_type): New type. | |
1555 | (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type). | |
1556 | (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type). | |
1557 | (gnat_aux_default, allocate_gnat_aux_type): Add declaration. | |
1558 | (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO) | |
1559 | (TYPE_SPECIFIC_FIELD): New macros. | |
1560 | (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given | |
1561 | type does not hold any cplus-specific data. | |
1562 | (TYPE_RAW_CPLUS_SPECIFIC): New macro. | |
1563 | (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros. | |
1564 | (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has | |
1565 | cplus-specific data. | |
1566 | * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite. | |
1567 | Set new component TYPE_SPECIFIC_FIELD (type). | |
1568 | (gnat_aux_default): New constant. | |
1569 | (allocate_gnat_aux_type): New function. | |
1570 | (init_type): Add initialization the type-specific stuff for | |
1571 | TYPE_CODE_FLT and TYPE_CODE_FUNC types. | |
1572 | (print_gnat_stuff): New function. | |
1573 | (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus- | |
1574 | specific data. Adjust code that prints the contents of the | |
1575 | type-specific union using the TYPE_SPECIFIC_FIELD value. | |
1576 | * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate | |
1577 | the type cplus stuff for Ada types. | |
1578 | (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type): | |
1579 | Error out if these routines are called with an Ada type. | |
1580 | (read_structure_type, read_array_type, read_subrange_type): | |
1581 | Add call to set_descriptive_type. | |
1582 | (set_die_type): Initialize the gnat-specific data if necessary. | |
1583 | (need_gnat_info, die_descriptive_type, set_descriptive_type): | |
1584 | New functions. | |
1585 | * ada-lang.c (decode_constrained_packed_array_type): Use | |
1586 | decode_constrained_packed_array_type instead of doing a standard | |
1587 | lookup to locate a parallel type. | |
1588 | (find_parallel_type_by_descriptive_type): New function. | |
1589 | (ada_find_parallel_type_with_name): New function. | |
1590 | (ada_find_parallel_type): Reimplement using | |
1591 | ada_find_parallel_type_with_name. | |
1592 | * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT | |
1593 | to check if type has a cplus stuff. | |
1594 | * linespec.c (total_number_of_methods): Likewise. | |
1595 | * mdebugread.c (new_type): Likewise. | |
1596 | ||
b0f02ee9 JK |
1597 | 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
1598 | ||
1599 | * NEWS: Document the 0b binary number prefix parsing. | |
1600 | ||
b260e109 JK |
1601 | 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
1602 | ||
1603 | * objfiles.c (objfile_relocate1): Change the return type to int. | |
1604 | Describe the new return value. Return non-zero if data changed. | |
1605 | (objfile_relocate): New variable changed. Set it. Call | |
1606 | breakpoint_re_set depending on CHANGED. | |
1607 | ||
b5cfddf5 JK |
1608 | 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
1609 | ||
1610 | Implement binary numbers parsing. | |
1611 | * c-exp.y (parse_number): New case 'b' and 'B'. | |
1612 | ||
e0ae4240 JK |
1613 | 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
1614 | Tristan Gingold <gingold@adacore.com> | |
1615 | ||
1616 | * solib.c (info_sharedlibrary_command): Replace | |
1617 | objfile_has_partial_symbols and objfile_has_full_symbols calls by | |
1618 | objfile_has_symbols. | |
1619 | ||
6e0e5977 JB |
1620 | 2010-01-10 Joel Brobecker <brobecker@adacore.com> |
1621 | ||
1622 | * NEWS: Document the improvements made to the mips-irix port. | |
1623 | ||
7348c5e1 JB |
1624 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1625 | ||
1626 | Fix the documentation of valprint.c:value_print. | |
1627 | * valprint.c (value_print): Update the function description to | |
1628 | mention that the syntax of the output follows the current_language, | |
1629 | not necessarily C. | |
1630 | ||
567995e1 JK |
1631 | 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
1632 | ||
1633 | Fix displacement of separate debug info files. | |
1634 | * objfiles.c (objfile_relocate): Rename to ... | |
1635 | (objfile_relocate1): ... here and make it static. Extend the comment. | |
1636 | (objfile_relocate): New function. | |
1637 | * solib-spu.c (spu_relocate_main_executable): Explicitly check if | |
1638 | SYMFILE_OBJFILE is NULL. Remove variables objfile and old_chain. | |
1639 | Remove following of SEPARATE_DEBUG_OBJFILE. new_offsets is now | |
1640 | allocated using alloca. | |
1641 | * symfile.c (copy_section_addr_info): Remove. | |
1642 | (build_section_addr_info_from_objfile): Make it global. New variables | |
1643 | addr_bit and mask, use them. | |
1644 | * symfile.h (build_section_addr_info_from_objfile): New prototype. | |
1645 | (copy_section_addr_info): Remove. | |
1646 | ||
6d8eadbd JB |
1647 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1648 | ||
1649 | Signal unwinder for mips-irix N32. | |
1650 | * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and | |
1651 | tramp-frame.h. | |
1652 | (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF) | |
1653 | (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF) | |
1654 | (SIGCONTEXT_LO_OFF): New macros. | |
1655 | (mips_irix_n32_tramp_frame_init): New function. | |
1656 | (mips_irix_n32_tramp_frame): New static constant. | |
1657 | (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder. | |
1658 | ||
27087a3d JB |
1659 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1660 | ||
1661 | Breakpoint in shared library does not work on mips-irix. | |
1662 | * procfs.c: #include "observer.h". | |
1663 | (procfs_inferior_created): New function, moving here the code | |
1664 | which unsets the syssgi syscall-exit notifications. | |
1665 | (procfs_create_inferior): Remove the code which unsets the syssgi | |
1666 | syscall-exit notifications. It is too early to do this here. | |
1667 | (_initialize_procfs): Attach the procfs_inferior_created observer. | |
1668 | ||
f08877ba JB |
1669 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1670 | ||
1671 | Wrong return convention for arrays (mips-irix). | |
1672 | * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is | |
1673 | 128 bits or smaller are returned the same way as structs | |
1674 | and unions of the the same size. | |
1675 | ||
e4b97d48 JB |
1676 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1677 | ||
1678 | Cannot set the PC on mips-irix. | |
1679 | * irix5-nat.c (fill_gregset): Check regno against the raw PC | |
1680 | register number, no the cooked one. | |
1681 | ||
11377e68 JB |
1682 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1683 | ||
1684 | Error while loading core file on mips-irix. | |
1685 | * solib-irix.c (irix_solib_create_inferior_hook): Do nothing | |
1686 | if debugging from a core file. | |
1687 | ||
b2391021 JB |
1688 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1689 | ||
1690 | GDB hangs when attaching to process on mips-irix. | |
1691 | * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if | |
1692 | attaching to a process. | |
1693 | ||
f2ec0ecf JB |
1694 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1695 | ||
1696 | Use the correct breakpoint instruction on mips-irix. | |
1697 | * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable | |
1698 | containing the correct breakpoint instruction to use on mips-irix. | |
1699 | Use it when the osabi is GDB_OSABI_IRIX. | |
1700 | ||
3c95f01c JB |
1701 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1702 | ||
1703 | -Wunused warning in procfs.c (mips-irix only). | |
1704 | * procfs.c (gdb_praddset, gdb_prdelset): New macros. Use them | |
1705 | throughout instead of using praddset and prdelset respectively. | |
1706 | ||
4b7703ad JB |
1707 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1708 | ||
1709 | GDB crash while stepping into function. | |
1710 | * infrun.c (handle_inferior_event): Refetch the current frame | |
1711 | after handling what.main_action, in case that pointer became | |
1712 | dangling. | |
1713 | ||
12c89474 JB |
1714 | 2010-01-09 Joel Brobecker <brobecker@adacore.com> |
1715 | ||
1716 | Fix build failure of solaris-hosted cross debuggers. | |
1717 | * ada-valprint.c, parse.c: Include defs.h before including ctype.h. | |
1718 | ||
1a3fd262 | 1719 | 2010-01-09 Daniel Gutson <dgutson@codesourcery.com> |
4c490650 JB |
1720 | |
1721 | Fix build failure on sparc-solaris. | |
1722 | * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus. | |
1723 | ||
75242ef4 JK |
1724 | 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
1725 | ||
1726 | Move some symfile code into subroutines. | |
1727 | * symfile.h (relative_addr_info_to_section_offsets) | |
1728 | (addr_info_make_relative): New prototypes. | |
1729 | * symfile.c (default_symfile_offsets): Move a part to ... | |
1730 | (relative_addr_info_to_section_offsets): ... this new function. | |
1731 | (default_symfile_offsets): Call it. | |
1732 | (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move | |
1733 | this part to ... | |
1734 | (addr_info_make_relative): ... this new function. | |
1735 | ||
268a4a75 JK |
1736 | 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
1737 | ||
1738 | Add from_tty to solib_create_inferior_hook. | |
1739 | * infcmd.c (post_create_inferior): Move solib_add after | |
1740 | solib_create_inferior_hook. Pass from_tty to | |
1741 | solib_create_inferior_hook. Call solib_add and SOLIB_ADD with | |
1742 | 0 from_tty and comment why. | |
1743 | * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0. | |
1744 | * linux-nat.c (linux_child_follow_fork): Likewise. | |
1745 | * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise. | |
1746 | * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter | |
1747 | from_tty. | |
1748 | * solib-frv.c (frv_solib_create_inferior_hook): Likewise. | |
1749 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
1750 | * solib-null.c (null_solib_create_inferior_hook): Likewise. | |
1751 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
1752 | * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise. | |
1753 | * solib-som.c (som_solib_create_inferior_hook): Likewise. | |
1754 | * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty. | |
1755 | Pass it to svr4_so_ops.solib_create_inferior_hook. | |
1756 | * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter | |
1757 | from_tty. | |
1758 | * solib-svr4.c (enable_break): New parameter from_tty. Pass it to | |
1759 | solib_add. | |
1760 | (svr4_solib_create_inferior_hook): New parameter from_tty. Pass it to | |
1761 | enable_break. | |
1762 | * solib-target.c (solib_target_solib_create_inferior_hook): New | |
1763 | parameter from_tty. | |
1764 | * solib.c (solib_create_inferior_hook): New parameter from_tty. Pass | |
1765 | it to ops->solib_create_inferior_hook. | |
1766 | (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook. | |
1767 | Move solib_add after solib_create_inferior_hook, call it now with | |
1768 | from_tty as 0. New comment there. | |
1769 | * solib.h (solib_create_inferior_hook): New parameter from_tty. | |
1770 | * solist.h (struct target_so_ops <solib_create_inferior_hook>): | |
1771 | Likewise. | |
1772 | ||
cf00dfa7 VP |
1773 | 2010-01-08 Vladimir Prus <vladimir@codesourcery.com> |
1774 | ||
1775 | Fix multiexec race. | |
1776 | * infrun.c (handle_inferior_event): Use get_thread_regcache | |
1777 | with events ptid, not get_current_regcache. | |
1778 | ||
f91e5ac3 JB |
1779 | 2009-01-08 Joel Brobecker <brobecker@adacore.com> |
1780 | ||
1781 | GDB crash with empty executable name (MinGW). | |
1782 | * source.c (openp): Add assert that parameter string is not NULL. | |
1783 | if parameter string is an empty string, then return with a failure | |
1784 | immediately. | |
1785 | ||
92b9ce5b JB |
1786 | 2009-01-08 Joel Brobecker <brobecker@adacore.com> |
1787 | ||
1788 | Get rid of support for VAX Floats. | |
1789 | * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix) | |
1790 | (ada_vax_float_print_function): Delete. | |
1791 | * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix) | |
1792 | (ada_vax_float_print_function): Delete. | |
1793 | * ada-typeprint.c (print_vax_floating_point_type): Delete. | |
1794 | (ada_print_type): Remove support for VAX floats. | |
1795 | * ada-valprint.c (ada_val_print_1): Remove support for VAX floats. | |
1796 | ||
268a4a75 | 1797 | 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
d24d8548 JK |
1798 | |
1799 | * stabsread.c (read_args): Handle zero arguments. | |
1800 | ||
f0f20949 JB |
1801 | 2009-01-08 Joel Brobecker <brobecker@adacore.com> |
1802 | ||
1803 | Cannot find in-tree libiconv.a after reconfigure. | |
1804 | * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a | |
1805 | that we can use, then cache the path to this archive. | |
1806 | * configure: Regenerate. | |
1807 | ||
6b6218c5 SS |
1808 | 2010-01-07 Stan Shebs <stan@codesourcery.com> |
1809 | ||
35b1e5cc SS |
1810 | Make tracepoint operations go through target vector. |
1811 | * target.h (enum trace_find_type): New enum. | |
1812 | (struct target_ops): New fields to_trace_init, | |
1813 | to_download_tracepoint, to_download_trace_state_variable, | |
1814 | to_trace_set_readonly_regions, to_trace_start, to_get_trace_status, | |
1815 | to_trace_stop, to_trace_find, to_get_trace_state_variable_value, | |
1816 | to_set_disconnected_tracing. | |
1817 | (target_trace_init): New macro. | |
1818 | (target_download_tracepoint): New macro. | |
1819 | (target_download_trace_state_variable): New macro. | |
1820 | (target_trace_start): New macro. | |
1821 | (target_trace_set_readonly_regions): New macro. | |
1822 | (target_get_trace_status): New macro. | |
1823 | (target_trace_stop): New macro. | |
1824 | (target_trace_find): New macro. | |
1825 | (target_get_trace_state_variable_value): New macro. | |
1826 | (target_set_disconnected_tracing): New macro. | |
1827 | * target.c (update_current_target): Inherit and set defaults for | |
1828 | tracepoint operations. | |
1829 | * tracepoint.c (default_collect): Make globally visible. | |
1830 | (target_is_remote): Remove, along with all calls. | |
1831 | (tvariables_info): Call target_get_trace_state_variable_value. | |
1832 | (remote_set_transparent_ranges): Remove. | |
1833 | (trace_start_command): Call target_trace_init, | |
1834 | target_download_tracepoint, etc. | |
1835 | (download_tracepoint): Remove. | |
1836 | (trace_stop_command): Simplify. | |
1837 | (stop_tracing): Call target_trace_stop. | |
1838 | (get_trace_status): Call target_get_trace_status. | |
1839 | (trace_status_command): Add case for targets that cannot trace. | |
1840 | (finish_tfind_command): Change to take numerical arguments, call | |
1841 | target_trace_find. | |
1842 | (trace_find_command): Update call to finish_tfind_command. | |
1843 | (trace_find_pc_command): Ditto. | |
1844 | (trace_find_tracepoint_command): Ditto. | |
1845 | (trace_find_line_command): Ditto. | |
1846 | (trace_find_range_command): Ditto. | |
1847 | (trace_find_outside_command): Ditto. | |
1848 | (set_disconnected_tracing_value): Call | |
1849 | target_set_disconnected_tracing. | |
1850 | * remote.c: Add protocol encoding bits from tracepoint.c. | |
1851 | (trace_error): Move from tracepoint.c. | |
1852 | (remote_get_noisy_reply): Ditto. | |
1853 | (free_actions_list_cleanup_wrapper): Ditto. | |
1854 | (free_actions_list): Ditto. | |
1855 | (remote_trace_init): New function. | |
1856 | (remote_download_tracepoint): New function. | |
1857 | (remote_download_trace_state_variable): New function. | |
1858 | (remote_trace_set_readonly_regions): New function. | |
1859 | (remote_trace_start): New function. | |
1860 | (remote_get_trace_status): New function. | |
1861 | (remote_trace_stop): New function. | |
1862 | (remote_trace_find): New function. | |
1863 | (remote_download_trace_state_variable): New function. | |
1864 | (remote_set_disconnected_tracing): New function. | |
1865 | (init_remote_ops): Add tracepoint operations. | |
1866 | ||
6b6218c5 SS |
1867 | * tracepoint.c (trace_dump_command): Don't decr_pc_after_break. |
1868 | ||
089b4803 TG |
1869 | 2010-01-07 Tristan Gingold <gingold@adacore.com> |
1870 | ||
1871 | * symfile.c (build_section_addr_info_from_objfile): New function. | |
1872 | (symbol_file_add_separate): Don't use offsets from objfile but | |
1873 | built an addr info. | |
1874 | ||
d5551862 SS |
1875 | 2010-01-06 Stan Shebs <stan@codesourcery.com> |
1876 | ||
1877 | Support disconnected tracing. | |
1878 | * infcmd.c (detach_command): Ask whether to stop tracing. | |
1879 | * cli/cli-cmds.c (quit_command): Ditto. | |
1880 | * breakpoint.h (struct breakpoint): New field number_on_target. | |
1881 | * breakpoint.c (create_tracepoint_from_upload): New function. | |
1882 | (get_tracepoint_by_number_on_target): New function. | |
1883 | * remote.c (struct remote): New field disconnected_tracing. | |
1884 | (remote_disconnected_tracing_feature): New function. | |
1885 | (remote_protocol_features): Add DisconnectedTracing. | |
1886 | (struct uploaded_tp): New struct. | |
1887 | (uploaded_tps): New global. | |
1888 | (get_uploaded_tp): New function. | |
1889 | (find_matching_tracepoint): New function. | |
1890 | (remote_get_tracing_state): New function. | |
1891 | (remote_start_remote): Call it. | |
1892 | * tracepoint.c (disconnected_tracing): New global. | |
1893 | (trace_start_command): Initialize number_on_target. | |
1894 | (stop_tracing): New function, split out from... | |
1895 | (trace_stop_command): Call stop_tracing. | |
1896 | (get_trace_status): New function, split out from... | |
1897 | (trace_status_command): Call get_trace_status, add info on | |
1898 | disconnection behavior. | |
1899 | (disconnect_or_stop_tracing): New function. | |
1900 | (finish_tfind_command): Translate from number on target. | |
1901 | (trace_find_tracepoint_command): Translate to number on target. | |
1902 | (send_disconnected_tracing_value): New function. | |
1903 | (set_disconnected_tracing): New function. | |
1904 | (_initialize_tracepoint): Add disconnected-tracing variable. | |
1905 | * NEWS: Mention disconnected tracing. | |
1906 | ||
15d123c9 TG |
1907 | 2010-01-06 Tristan Gingold <gingold@adacore.com> |
1908 | ||
1909 | * symtab.c (lookup_global_symbol_from_objfile): Rename objfile | |
1910 | parameter to main_objfile. Iterate on all separate debug objfiles. | |
1911 | * symfile.h (symbol_file_add_separate) | |
1912 | (find_separate_debug_file_by_debuglink): Remove parameter names. | |
1913 | * symfile.c (symbol_file_add_separate): Use add_separate_objfile. | |
1914 | (reread_symbols): Use free_objfile_separate_debug. | |
1915 | * objfiles.h (struct objfile): Add separate_debug_objfile_link. | |
1916 | Adjust comment. | |
1917 | (objfile_separate_debug_iterate, add_separate_debug_objfile) | |
1918 | (free_objfile_separate_debug): New prototypes. | |
1919 | * objfiles.c (objfile_separate_debug_iterate): New function. | |
1920 | (add_separate_debug_objfile, free_objfile_separate_debug): New | |
1921 | functions. | |
1922 | (free_objfile): Use free_objfile_separate_debug. Adjust for | |
1923 | multiple separate debug objfile. | |
1924 | (objfile_has_symbols): Adjust comment. Iterate on all separate | |
1925 | debug objfiles. | |
1926 | * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate | |
1927 | debug objfile. | |
1928 | (lookup_minimal_symbol_text): Ditto. | |
1929 | (lookup_minimal_symbol_by_pc_name): Ditto. | |
1930 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
1931 | (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate | |
1932 | debug objfiles. | |
1933 | ||
7a697b8d SS |
1934 | 2010-01-05 Stan Shebs <stan@codesourcery.com> |
1935 | ||
1936 | Add fast tracepoints. | |
1937 | * arch-utils.h (default_fast_tracepoint_valid_at): Declare. | |
1938 | * arch-utils.c (default_fast_tracepoint_valid_at): New function. | |
1939 | * breakpoint.h (enum bptype): Add bp_fast_tracepoint. | |
1940 | * breakpoint.c (tracepoint_type): New function. | |
1941 | (ALL_TRACEPOINTS): Use it. | |
1942 | (should_be_inserted): Ditto. | |
1943 | (bpstat_check_location): Ditto. | |
1944 | (print_one_breakpoint_location): Ditto. | |
1945 | (user_settable_breakpoint): Ditto. | |
1946 | (set_breakpoint_location_function): Ditto. | |
1947 | (disable_breakpoints_in_shlibs): Ditto. | |
1948 | (delete_trace_command): Ditto. | |
1949 | (print_it_typical): Add bp_fast_tracepoint case. | |
1950 | (bpstat_what): Ditto. | |
1951 | (print_one_breakpoint_location): Ditto. | |
1952 | (allocate_bp_location): Ditto. | |
1953 | (mention): Ditto. | |
1954 | (breakpoint_re_set_one): Ditto. | |
1955 | (disable_command): Ditto. | |
1956 | (enable_command): Ditto. | |
1957 | (check_fast_tracepoint_sals): New function. | |
1958 | (break_command_really): Call it. | |
1959 | (ftrace_command): New function. | |
1960 | (_initialize_breakpoint): Add ftrace command. | |
1961 | * gdbarch.sh (fast_tracepoint_valid_at): New. | |
1962 | * gdbarch.h, gdbarch.c: Regenerate. | |
1963 | * i386-tdep.c (i386_fast_tracepoint_valid_at): New function. | |
1964 | (i386_gdbarch_init): Use it. | |
1965 | * remote.c (struct remote_state): New field fast_tracepoints. | |
1966 | (PACKET_FastTracepoints): New packet config type. | |
1967 | (remote_fast_tracepoint_feature): New function. | |
1968 | (remote_protocol_features): Add FastTracepoints. | |
1969 | (remote_supports_fast_tracepoints): New function. | |
1970 | (_initialize_remote): Add FastTracepoints. | |
1971 | * tracepoint.c (download_tracepoint): Add fast tracepoint option. | |
1972 | * NEWS: Mention fast tracepoints. | |
1973 | ||
737a160e JB |
1974 | 2010-01-06 Joel Brobecker <brobecker@adacore.com> |
1975 | ||
1976 | * gdb-gdb.py: New file. | |
1977 | ||
ce6cca6d MS |
1978 | 2010-01-05 Michael Snyder <msnyder@vmware.com> |
1979 | ||
1980 | * infrun.c (handle_inferior_event): Fix typo in comment. | |
1981 | ||
0d15807d JK |
1982 | 2010-01-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
1983 | ||
1984 | * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional. | |
1985 | ||
7803799a UW |
1986 | 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com> |
1987 | ||
1988 | * features/Makefile (WHICH): Add s390-linux32, s390-linux64, | |
1989 | and s390x-linux64. | |
1990 | (s390-linux32-expedite): Define. | |
1991 | (s390-linux64-expedite): Define. | |
1992 | (s390x-linux64-expedite): Define. | |
1993 | * features/s390-acr.xml: New file. | |
1994 | * features/s390-fpr.xml: New file. | |
1995 | * features/s390-core32.xml: New file. | |
1996 | * features/s390-core64.xml: New file. | |
1997 | * features/s390x-core64.xml: New file. | |
1998 | * features/s390-linux32.xml: New file. | |
1999 | * features/s390-linux64.xml: New file. | |
2000 | * features/s390x-linux64.xml: New file. | |
2001 | * features/s390-linux32.c: New generated file. | |
2002 | * features/s390-linux64.c: New generated file. | |
2003 | * features/s390x-linux64.c: New generated file. | |
2004 | ||
2005 | * regformats/s390-linux32.dat: New generated file. | |
2006 | * regformats/s390-linux64.dat: New generated file. | |
2007 | * regformats/s390x-linux64.dat: New generated file. | |
2008 | * regformats/reg-s390.dat: Remove. | |
2009 | * regformats/reg-s390x.dat: Remove. | |
2010 | ||
2011 | * s390-nat.c: Include "auxv.h" and <elf.h>. | |
2012 | (HWCAP_S390_HIGH_GPRS): Define if undefined. | |
2013 | (s390_target_wordsize): New function. | |
2014 | (s390_auxv_parse): Likewise. | |
2015 | (s390_get_hwcap): Likewise. | |
2016 | (s390_read_description): Likewise. | |
2017 | (_initialize_s390_nat): Install s390_auxv_parse and | |
2018 | s390_read_description. | |
2019 | ||
2020 | * s390-tdep.c: Include "features/s390-linux32.c", | |
2021 | "features/s390-linux64.c", and "features/s390x-linux64.c". | |
2022 | (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum. | |
2023 | (s390_register_call_saved): New function. | |
2024 | (s390_register_name): Remove. | |
2025 | (s390_register_type): Remove. | |
2026 | (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums. | |
2027 | (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs. | |
2028 | (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI. | |
2029 | (s390_pseudo_register_name): New function. | |
2030 | (s390_pseudo_register_type): New function. | |
2031 | (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases. | |
2032 | Handle full GPR pesudos and varying pseudo register numbers. | |
2033 | (s390_pseudo_register_write): Likewise | |
2034 | (s390x_pseudo_register_read): Remove. | |
2035 | (s390x_pseudo_register_write): Likewise. | |
2036 | (s390_register_group): Remove. | |
2037 | (s390_pseudo_register_group): New function. | |
2038 | (s390_regmap_gregset): Add GPR upper halves. | |
2039 | (s390x_regmap_gregset): Likewise. | |
2040 | (s390_regmap_fpregset): Likewise. | |
2041 | (s390_regmap_upper): New global variable. | |
2042 | (s390_upper_regset): New global variable. | |
2043 | (s390_upper_regset_sections): New global variable. | |
2044 | (s390_regset_from_core_section): Handle GPR upper halves. | |
2045 | (s390_core_read_description): New function. | |
2046 | (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered | |
2047 | register information. Handle varying pseudo register numbers. | |
2048 | (s390_backchain_frame_unwind_cache): Likewise. | |
2049 | (s390_frame_prev_register): Unwind full GPRs to show lower halves. | |
2050 | (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers. | |
2051 | (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as | |
2052 | PC and CC pseudos. Unwind upper halves and full GPRs as appropriate. | |
2053 | Handle varying pseudo register numbers. | |
2054 | (s390_unwind_pc): Handle varying pseudo register numbers. | |
2055 | (s390_dwarf2_prev_register): New function. | |
2056 | (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered | |
2057 | register information. Handle varying pseudo register numbers. | |
2058 | Install s390_dwarf2_prev_register to unwind full GPRs. | |
2059 | (s390_gdbarch_init): Handle target descriptions. Assign varying | |
2060 | pseudo register numbers. Install s390_adjust_frame_regnum. | |
2061 | (_initialize_s390_tdep): Initialize target descriptions. | |
2062 | ||
2063 | * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define. | |
2064 | (S390_NUM_REGS): Redefine to include upper half registers. | |
2065 | (S390_PC_REGNUM, S390_CC_REGNUM): Remove. | |
2066 | (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise. | |
2067 | (tdesc_s390_linux32): Add declaration. | |
2068 | (tdesc_s390_linux64): Likewise. | |
2069 | (tdesc_s390x_linux64): Likewise. | |
2070 | ||
1b1818e4 UW |
2071 | 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com> |
2072 | ||
2073 | * regset.h (struct core_regset_section): Add HUMAN_NAME. | |
2074 | * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME. | |
2075 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise. | |
2076 | (ppc_linux_vmx_regset_sections): Likewise. | |
2077 | (ppc_linux_fp_regset_sections): Likewise. | |
2078 | ||
2079 | * corelow.c (get_core_register_section): Constify arguments. | |
2080 | (get_core_registers): Use gdbarch_core_regset_sections instead | |
2081 | of hard-coded platform-specific register section names. | |
2082 | ||
dcbf108f UW |
2083 | 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com> |
2084 | ||
2085 | * dwarf2loc.c (read_pieced_value): If a piece occupies part of | |
b3f41522 | 2086 | a register, assume the least-significant part is used. |
dcbf108f UW |
2087 | (write_pieced_value): Likewise. |
2088 | ||
704e9165 UW |
2089 | 2010-01-04 Ulrich Weigand <uweigand@de.ibm.com> |
2090 | ||
2091 | * printcmd.c: Include "arch-utils.h". | |
2092 | (do_one_display): Re-parse expression if current architecture changed. | |
2093 | ||
c54eabfa JK |
2094 | 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
2095 | Joel Brobecker <brobecker@adacore.com> | |
2096 | ||
2097 | * gdbtypes.c (check_typedef): New comment on type length. | |
2098 | * value.c (allocate_value_lazy): Remove the unused atype variable. New | |
2099 | comment on type length. | |
2100 | (value_primitive_field): Keep the original TYPE value, new comment. | |
2101 | ||
50cb2941 JK |
2102 | 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
2103 | ||
2104 | * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as | |
2105 | p_start. Change != comparisons to > and < comparisons. | |
2106 | ||
be66db07 JK |
2107 | 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
2108 | ||
2109 | * cli/cli-script.c (process_next_line): Check P2 overrun. | |
2110 | ||
abd775ce JB |
2111 | 2009-01-01 Joel Brobecker <brobecker@adacore.com> |
2112 | ||
2113 | Update the copyright hearder to add year 2010 for most GDB files. | |
2114 | ||
6479260d JB |
2115 | 2009-01-01 Joel Brobecker <brobecker@adacore.com> |
2116 | ||
2117 | Fix build failure in inf-ptrace.c. | |
2118 | * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo. | |
2119 | ||
4a70f654 JB |
2120 | 2010-01-01 Joel Brobecker <brobecker@adacore.com> |
2121 | ||
2122 | * top.c (print_gdb_version): Update copyright year. | |
2123 | ||
b9ee2233 JB |
2124 | 2010-01-01 Joel Brobecker <brobecker@adacore.com> |
2125 | ||
2126 | Fix break *FUN'address thread NUM. | |
2127 | * ada-lex.l (task): Expand rule to also match the thread keyword. | |
2128 | ||
70575d34 JB |
2129 | 2010-01-01 Joel Brobecker <brobecker@adacore.com> |
2130 | ||
2131 | Fix break *FUN'address task NUM. | |
2132 | * ada-lex.l (task): New rule. | |
2133 | * ada-lang.c (valid_task_id): Make sure the Ada task list has | |
2134 | been built before using it. | |
2135 | ||
e1e4d4a4 | 2136 | For older changes see ChangeLog-2009. |
c906108c SS |
2137 | \f |
2138 | Local Variables: | |
2139 | mode: change-log | |
2140 | left-margin: 8 | |
2141 | fill-column: 74 | |
2142 | version-control: never | |
57da7796 | 2143 | coding: utf-8 |
c906108c | 2144 | End: |