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