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