2006-11-22 Vladimir Prus <vladimir@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
765dc015
VP
12006-11-22 Vladimir Prus <vladimir@codesourcery.com>
2
3 * breakpoint.c: Include "memattr.h".
4 (automatic_hardware_breakpoints): New.
5 (show_automatic_hardware_breakpoints): New.
6 (insert_bp_location): Automatically use
7 hardware breakpoints.
8 (_initialize_breakpoint): Register the "auto-hw"
9 variable.
10 * Makefile.in (breakpoint.o): Update dependencies.
11
4b5752d0
VP
122006-11-21 Vladimir Prus <vladimir@codesourcery.com>
13
14 * memattr.h (enum mem_access_mode): New value
15 MEM_NONE.
16 * memattr.c (unknown_mem_attrib): New.
17 (inaccessible_by_default): New.
18 (show_inaccessible_by_default): New.
19 (lookup_mem_region): Check inaccessible_by_default.
20 (dummy_cmd): New.
21 (mem_set_cmdlist, mem_show_cmdlist): New.
22 (_initialize_mem): Register new "set" and "show"
23 commands.
24 * target.c (memory_xfer_partial): If memory type
25 is MEM_NONE, return an error.
26 Clip to region size when calling to_xfer_partial.
27 If upper limit of memory range is 0, don't clip
28 anything.
29
caac47b8
JB
302006-11-20 Joel Brobecker <brobecker@adacore.com>
31
32 * README: Remove obsolete information.
33
155bd5d1
AC
342006-11-20 Andrew Cagney <cagney@redhat.com>
35
36 * linux-nat.h: Refer to GNU/Linux or Linux kernel.
37 * linux-nat.c (lin_lwp_attach_lwp, linux_nat_thread_alive): Ditto.
38 * infcmd.c (attach_command): Ditto.
39 * hppa-linux-tdep.c (hppa_linux_regset): Ditto.
40 * mn10300-linux-tdep.c: Ditto. Update copyright year.
41 * frv-linux-tdep.c: Ditto. Update copyright year.
42
6dd09645
JB
432006-11-19 Joel Brobecker <brobecker@adacore.com>
44
45 * NEWS: Add a new section for changes since GDB 6.6. Rename
46 the section "Changes since GDB 6.5" into "Changes in GDB 6.6".
47 Move a couple of items into the new section as they did not
48 make it to 6.6.
49
ab44b8eb
JB
502006-11-19 Joel Brobecker <brobecker@adacore.com>
51
52 GDB 6.6 branch created (branch timestamp: 2006-11-15 12:00)
53 * version.in: Bump version to 6.6.50.20061119-cvs.
54
08f08ce6
DJ
552006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
56
57 * prologue-value.c (clear_entries): Fix memory leak.
58
aef9c3b3
DJ
592006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
60
61 * parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before
62 dereferencing it.
63
63f06803
DJ
642006-11-17 Daniel Jacobowitz <dan@codesourcery.com>
65
66 * utils.c (string_to_core_addr): Use error instead of
67 internal_error.
68 * mi/mi-main.c (mi_execute_command): Check for a NULL message.
69
e554a4b2
DJ
702006-11-17 Daniel Jacobowitz <dan@codesourcery.com>
71
72 * NEWS: Mention QPassSignals.
73
7a11f07a
MG
742006-11-16 Maxim Grigoriev <maxim2405@gmail.com>
75
76 * MAINTAINERS (Responsible Maintainers): Add myself for Xtensa.
77 (Write After Approval): Add myself.
78
89be2091
DJ
792006-11-16 Daniel Jacobowitz <dan@codesourcery.com>
80
81 * remote.c (PACKET_QPassSignals): New.
82 (last_pass_packet, remote_pass_signals): New.
83 (remote_protocol_features): Add QPassSignals.
84 (remote_query_supported): Correct an infinite loop.
85 (remote_open_1): Reset last_pass_packet.
86 (remote_resume): Call remote_pass_signals.
87 (_initialize_remote): Register "set remote pass-signals".
88
ca3bf3bd
DJ
892006-11-14 Maxim Grigoriev <maxim@tensilica.com>
90
91 * NEWS: New port to Xtensa.
92 * Makefile.in: Add dependencies for Xtensa files.
93 * configure.tgt (xtensa*, xtensa*-*-elf*): New.
94 * configure.host (xtensa*-*-elf*): New.
95 * config/xtensa/xtensa.mt: New file.
96 * xtensa-config.c: New file.
97 * xtensa-tdep.h: New file.
98 * xtensa-tdep.c: New file.
99
427c3a89
DJ
1002006-11-14 Daniel Jacobowitz <dan@codesourcery.com>
101
102 * remote.c (set_remote_cmd): Call help_list.
103 (show_remote_cmd): Skip legacy aliases. Handle non-show_cmd
104 entries. Add missed cleanup.
105 * cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries.
106
1bc1fa8c
DJ
1072006-11-13 Paul Gilliam <pgilliam@us.ibm.com>
108
4019046a 109 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Don't futz with
1bc1fa8c 110 the floating point registers if there aren't any.
4019046a 111
59ea4f70
BH
1122006-11-12 Ben Harris <bjh21@NetBSD.org>
113
114 * arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove.
115
e48af409
DJ
1162006-11-10 Daniel Jacobowitz <dan@codesourcery.com>
117
118 * frame.c (frame_register_unwind_location): New function.
119 (get_prev_frame_1): Check for UNWIND_NO_SAVED_PC.
120 (frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC.
121 * frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC.
122
7a107747
DJ
1232006-11-10 Daniel Jacobowitz <dan@codesourcery.com>
124
125 * arch-utils.c (target_byte_order_user): Renamed from
126 target_byte_order.
127 (target_byte_order_auto, selected_byte_order): Removed.
128 (show_endian): Check target_byte_order_user.
129 (set_endian): Always update the architecture. Set
130 target_byte_order_user after success.
131 (target_architecture_auto): Removed.
132 (target_architecture_user): New.
133 (selected_architecture_name, show_architecture): Check it.
134 (set_architecture): Set target_architecture_user after success.
135 (gdbarch_from_bfd): Check the argument.
136 (default_byte_order): New.
137 (initialize_current_architecture): Set the global default
138 architecture and endianness.
139 (gdbarch_info_fill): Remove GDBARCH argument. Do not check the
140 previous architecture. Use exec_bfd, global selected architecture
141 and endianness, and global defaults.
142 * arch-utils.h (selected_byte_order): Remove prototype.
143 (gdbarch_info_fill): Update.
144 * exec.c (exec_file_attach): Update the architecture after removing
145 the current file.
146 * gdbarch.sh: Update comments.
147 (find_arch_by_info): Remove OLD_GDBARCH argument. Update call to
148 gdbarch_info_fill.
149 (gdbarch_find_by_info): Update call to find_arch_by_info.
150 * gdbarch.h, gdbarch.c: Regenerated.
151 * remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER.
152
b5bf31df
JB
1532006-11-09 Joel Brobecker <brobecker@adacore.com>
154
155 * sparc-tdep.c (sparc_fetch_instruction): Read instruction
156 using read_memory_nobpt.
157
e5192dd8
JB
1582006-11-06 Jim Blandy <jimb@codesourcery.com>
159
e5192dd8
JB
160 * dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read
161 instead of frame_register. Doc fix.
162
8b9e3a15
VP
1632006-11-04 Vladimir Prus <vladimir@codesourcery.com>
164
165 * serial.c (serial_open): Strip leading spaces from program
166 name when opening pipe.
167
4bc9efe1
JB
1682006-11-03 Jim Blandy <jimb@codesourcery.com>
169
170 * dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register
171 instead of frame_register. Doc fix.
172
31ffec48
DJ
1732006-11-02 Daniel Jacobowitz <dan@codesourcery.com>
174
175 * dwarf2read.c (struct dwarf2_per_cu_data): Update comment.
176 (load_full_comp_unit): Take OBJFILE argument and use it.
177 (dwarf2_build_psymtabs_hard): Skip partial units.
178 (process_queue): Pass OBJFILE to load_full_comp_unit. Check
179 type_hash for read in CUs. Test psymtab for NULL.
180
625b5003
DJ
1812006-11-02 Daniel Jacobowitz <dan@codesourcery.com>
182
183 * arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.
184
6e381ba0
VP
1852006-10-31 Vladimir Prus <vladimir@codesourcery.com>
186
187 * commands.h (enum command_class): Use different
188 values for class_deprecated and class_run.
189 * cli/cli-decode.c: (print_help_for_command): New.
190 (apropos_cmd): Use the above.
191 (help_list): Mention 'help all'
192 and 'apropos' when printing top-level help.
193 (help_all): Print the class name before printing
194 commands in that class. Don't print prefix commands
195 here, instead pass recurse flag to help_cmd_list.
196 Print list of unclassified commands at the end.
197 (help_cmd_list): When recursing, use all_commands class.
198 Recurse only if the class of the command matches.
199
f73adfeb
AS
2002006-10-27 Andreas Schwab <schwab@suse.de>
201
202 * gdbcmd.h (detachlist): Declare.
203 * infcmd.c (_initialize_infcmd): Define "detach" as prefix
204 command.
205 * linux-fork.c (_initialize_linux_fork): Rename
206 "detach-checkpoint" to "detach checkpoint" and "detach-fork" to
207 "detach fork".
208 * cli/cli-cmds.c (detachlist): Define.
209 (init_cmd_lists): Initialize it.
210 * cli/cli-cmds.h (detachlist): Declare.
211
7080f20f
JB
2122006-10-25 Jim Blandy <jimb@codesourcery.com>
213
214 * p-valprint.c (pascal_object_print_value): Add 'static' keyword
215 to function definition, to match declaration earlier in file.
216
3732ba62
PB
2172006-10-21 Paul Brook <paul@codesourcery.com>
218
219 * remote.c (remote_fetch_registers): Fix error message.
220
804e0f53
DJ
2212006-10-20 Daniel Jacobowitz <dan@codesourcery.com>
222
223 * gcore.c (MAX_COPY_BYTES): Define.
224 (gcore_copy_callback): Use it to limit allocation.
225
f86172a5
UW
2262006-10-19 Ulrich Weigand <uweigand@de.ibm.com>
227
228 * linux-thread-db.c (check_for_thread_db): Don't attempt to use
229 thread_db for remote targets.
230 * remote.c (remote_new_objfile): Always call predecessor on
231 new_objfile event chain.
232
6612ad7f
JB
2332006-10-19 Joel Brobecker <brobecker@adacore.com>
234
235 * solib.c (libpthread_solib_p): New function.
236 (solib_add): Always read the symbols from the libpthread library.
237
d674a25c
AS
2382006-10-19 Andrew Stubbs <andrew.stubbs@st.com>
239
240 * breakpoint.c (describe_other_breakpoints): Add thread parameter.
241 Annotate display with thread number where appropriate.
242 (create_breakpoints): Add thread parameter to call to
243 describe_other_breakpoints.
244
981c7f5a
DJ
2452006-10-18 Jim Blandy <jimb@codesourcery.com>
246 Daniel Jacobowitz <dan@codesourcery.com>
247
248 * utils.c (query): Use defaulted_query.
249 (defaulted_query): Handle having no default answer. Print out
250 messages even if we have no terminal. Prevent memory corruption.
251
55feb689
DJ
2522006-10-18 Daniel Jacobowitz <dan@codesourcery.com>
253
254 * frame.c (struct frame_info): Add stop_reason.
255 (get_prev_frame_1): Set stop_reason. Don't call error for
256 stop reasons.
257 (get_frame_unwind_stop_reason, frame_stop_reason_string): New.
258 * frame.h (enum unwind_stop_reason): New.
259 (get_frame_unwind_stop_reason, frame_stop_reason_string): New
260 prototypes.
261 * stack.c (frame_info): Print the stop reason.
262 (backtrace_command_1): Print the stop reason for errors.
263
8621d6a9
DJ
2642006-10-18 Daniel Jacobowitz <dan@codesourcery.com>
265
266 * inferior.h (start_remote): Update prototype.
267 * infrun.c (start_remote): Take FROM_TTY. Call
268 post_create_inferior.
269 * monitor.c (monitor_open): Update call to start_remote.
270 * remote-sds.c (sds_start_remote, sds_open): Likewise.
271 * remote.c (remote_start_remote): Likewise.
272 (remote_start_remote_dummy): Removed.
273 (remote_open): Update call to remote_start_remote. Do not call
274 post_create_inferior here.
275
34439770
DJ
2762006-10-18 Daniel Jacobowitz <dan@codesourcery.com>
277
278 * solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
279 (debug_loader_name, svr4_default_sos): New.
280 (svr4_current_sos): Call svr4_default_sos.
281 (enable_break): Add a comment about AT_BASE. Set the new
282 variables and retry solib_add.
283 (svr4_clear_solib): Clear the new variables.
284
2852006-10-18 Daniel Jacobowitz <dan@codesourcery.com>
7d3d3ece
DJ
286
287 * NEWS: Mention support for TLS without debugging information.
288
52bb452f
DJ
2892006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
290
291 * remote-sim.c (gdbsim_kill): Call target_mourn_inferior.
292 (gdbsim_load): Don't bother to adjust inferior_ptid here.
293 (gdbsim_create_inferior): Mark the simulator as running.
294 (gdbsim_open): Don't bother fetching registers. Mark
295 the target as not running.
296 (gdbsim_xfer): When the program is not running, pass memory
297 requests down.
298 (gdbsim_mourn_inferior): Mark the target as not running.
299 * target.c (target_mark_running, target_mark_exited): New.
300 * target.h (target_has_execution): Update the comment.
301 (target_mark_running, target_mark_exited): New prototypes.
302
b40ce68a
JB
3032006-10-17 Joel Brobecker <brobecker@adacore.com>
304
305 * breakpoint.c (free_valchain): Minor reformatting.
306
79d4c408
DJ
3072006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
308
309 * solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch.
310
94277a38
DJ
3112006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
312
313 * Makefile.in (symtab.o): Update.
76101e23
AS
314 * symtab.h (matching_bfd_sections): New prototype.
315 * symtab.c (matching_bfd_sections): New.
94277a38
DJ
316 (find_pc_sect_psymbol, find_pc_sect_symtab): Use it.
317 * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
318 * printcmd.c (sym_info): Ignore separate debug objfiles.
319
32a5b2f1
DJ
3202006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
321
322 * remote.c (remote_pid_to_str): Capitalize "Thread".
323
9b7194bc
DJ
3242006-10-15 Daniel Jacobowitz <dan@codesourcery.com>
325
326 PR remote/2158
327 * remote.c (remote_write_bytes): Throttle packet alignment
328 for small packets.
329
b255021a
NR
3302006-10-16 Jeff Johnston <jjohnstn@redhat.com>
331
332 * linux-thread-db.c (thread_db_wait): Don't bother continuing if
333 the wait result indicates the program terminated with a
334 signal (from gdb-6.3-ia64-sigill-20051115.patch, a patch for
335 Fedora Core 5).
336
366da635
DJ
3372006-10-11 Daniel Jacobowitz <dan@codesourcery.com>
338
339 * dwarf2read.c (dwarf_decode_lines): Call record_line upon
340 encountering a different subfile.
341
861cf606
FR
3422006-10-11 Denis Pilat <denis.pilat@st.com>
343
344 * tui/tui-source.c (tui_set_source_content): handle source
345 files that contain non unix end-of-line.
346
774a49c0
DJ
3472006-10-10 Daniel Jacobowitz <dan@codesourcery.com>
348
349 * ser-mingw.c (free_pipe_state, pipe_wait_handle): Update
350 for changes to pipe_select_thread.
351 (pipe_done_wait_handle): New.
352 (_initialize_ser_windows): Reference it.
353
9e35dae4
DJ
3542006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
355 Daniel Jacobowitz <dan@codesourcery.com>
356
357 * Makefile.in (expprint.o, parse.o, target.o): Update.
358 * dwarf2loc.c (dwarf_expr_tls_address): Move body to
359 target_translate_tls_address. Call it.
360 * eval.c (evaluate_subexp_standard): Handle UNOP_MEMVAL_TLS.
361 * expprint.c (print_subexp_standard): Likewise.
362 (op_name_standard, dump_subexp_body_standard): Likewise.
363 * expression.h (enum exp_opcode): Add UNOP_MEMVAL_TLS.
364 (union exp_element): Add objfile.
365 * parse.c (write_exp_elt_objfile): New function.
366 (msym_tls_symbol_type): New.
367 (write_exp_msymbol): Handle TLS.
368 (operator_length_standard): Handle UNOP_MEMVAL_TLS.
369 (build_parse): Initialize msym_tls_symbol_type.
370 * parser-defs.h (write_exp_elt_objfile): New prototype.
371 * target.c (target_translate_tls_address): New.
372 * target.h (target_translate_tls_address): Add prototype.
373
58dc52c3
DJ
3742006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
375
376 * solib.c (solib_open): Handle an empty solib_absolute_prefix like a
377 missing one.
378
8bb75286
DJ
3792006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
380
381 * solib.c (solib_read_symbols): Stop if the file was not found.
382
d9639e13
DJ
3832006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
384
385 PR c++/2116
386 * valops.c (find_overload_match): Check for a NULL name.
387
714e295e
JB
3882006-10-06 Joel Brobecker <brobecker@adacore.com>
389
3e4d11fe 390 Fix PR symtab/2018
714e295e
JB
391 * dwarf2read.c (read_array_type): Set the type name if the name
392 attribute is present.
393
631b0ed0
JB
3942006-10-05 Joel Brobecker <brobecker@adacore.com>
395
396 * blockframe.c (block_innermost_frame): Rewrite frame search logic.
397
dbc981de
DJ
3982006-10-05 Daniel Jacobowitz <dan@codesourcery.com>
399
400 * Makefile.in (gdb_expat_h): New.
401 (xml_support_h): Add gdb_expat.h dependency.
402 (memory-map.o, xml-support.o): Likewise.
403 * gdb_expat.h: New file.
404 * xml-support.h: Include it.
405 * memory-map.c, xml-support.c: Likewise. Remove XML_STATUS_OK
406 definitions.
407
0b83947e
DJ
4082006-10-05 Daniel Jacobowitz <dan@codesourcery.com>
409
410 * remote.c (get_remote_state_raw): Renamed from get_remote_state.
411 (get_remote_state): New function.
412 (init_remote_state, _initialize_remote): Use get_remote_state_raw.
413
8aceae7e
FF
4142006-10-04 Fred Fish <fnf@specifix.com>
415
416 * vec.c: Include defs.h first. This pulls in config.h which can
417 affect other includes.
418
f31b3751
JB
4192006-10-04 Joel Brobecker <brobecker@adacore.com>
420
421 * somread.c (som_symtab_read): Avoid using alloca for potentially
422 large buffers.
423
d0a0254a
DJ
4242006-10-04 Daniel Jacobowitz <dan@codesourcery.com>
425
426 * arch-utils.h (gdbarch_info_fill): Remove duplicate prototype.
427
f2d483c4
DJ
4282006-10-03 Daniel Jacobowitz <dan@codesourcery.com>
429
430 * memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
431 definitions.
432 * xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.
433
f08799f9
DJ
4342006-09-22 Daniel Jacobowitz <dan@codesourcery.com>
435
436 * remote.c (remote_write_bytes_aux): Doc fix.
437
a76d924d
DJ
4382006-09-21 Vladimir Prus <vladimir@codesourcery.com>
439 Daniel Jacobowitz <dan@codesourcery.com>
440
441 * Makefile.in (SFILES): Add target-memory.c.
442 (COMMON_OBS): Add target-memory.o.
443 * memattr.c (lookup_mem_region): Adjust handling for
444 the top of memory. Improve comments.
445 * remote.c (packet_check_result): New function, split out
446 from packet_ok. Recognize "E." as an error prefix.
447 (packet_ok): Use it.
448 (remote_write_bytes_aux): New function, renamed from
449 remote_write_bytes. Take packet header, packet format,
450 and length flag as arguments.
451 (remote_write_bytes): Rewrite to use remote_write_bytes_aux.
452 (remote_send_printf, restore_remote_timeout)
453 (remote_flash_timeout, remote_flash_erase, remote_flash_write)
454 (remote_flash_done): New.
455 (remote_xfer_partial): Handle flash writes.
456 (init_remote_ops, init_remote_async_ops): Set to_flash_erase
457 and to_flash_done.
458 * symfile.c (struct load_section_data): Include a pointer to
459 the cumulative stats and a request queue. Move most members
460 to other types.
461 (struct load_progress_data, struct load_progress_section_data): New
462 types.
463 (load_progress): Handle a NULL baton and zero bytes. Update for
464 type changes.
465 (load_section_callback): Create memory write requests instead of
466 writing to memory. Don't print the progress message here.
467 (clear_memory_write_data): New function.
468 (generic_load): Use target_write_memory_blocks.
469 * target-memory.c: New file.
470 * target.c (update_current_target): Mention new uninherited methods.
471 (memory_xfer_partial): Issue an error for flash writes.
472 (target_flash_erase, target_flash_done): New functions.
473 (target_write_with_progress): Call the progress callback at the
474 start also.
475 * target.h (enum target_object): Add TARGET_OBJECT_FLASH.
476 (target_write_with_progress): Update comment.
477 (struct target_ops): Add to_flash_erase and to_flash_done.
478 (target_flash_erase, target_flash_done, struct memory_write_request)
479 (memory_write_request_s, enum flash_preserve_mode)
480 (target_write_memory_blocks): New, including a vector type
481 for memory_write_request_s.
482
fd79ecee
DJ
4832006-09-21 Vladimir Prus <vladimir@codesourcery.com>
484 Daniel Jacobowitz <dan@codesourcery.com>
485 Nathan Sidwell <nathan@codesourcery.com>
486
487 * Makefile.in (SFILES): Add memory-map.c and xml-support.c.
488 (memory_map_h, xml_support_h): New.
489 (target_h): Add vec_h dependency.
490 (COMMON_OBS): Add memory-map.o and xml-support.o.
491 (memory-map.o, xml-support.o): New rules.
492 (remote.o): Update.
493 * exceptions.h (enum errors): Add XML_PARSE_ERROR.
494 * infcmd.c (run_command_1, attach_command): Call target_pre_inferior.
495 * memattr.c (default_mem_attrib): Initialize blocksize.
496 (target_mem_region_list, mem_use_target)
497 (target_mem_regions_valid, mem_region_cmp, mem_region_init)
498 (require_user_regions, require_target_regions)
499 (invalidate_target_mem_regions): New.
500 (create_mem_region): Use mem_region_init.
501 (mem_clear): Move higher.
502 (lookup_mem_region): Use require_target_regions.
503 (mem_command): Implement "mem auto".
504 (mem_info_command): Handle target-supplied regions and flash
505 attributes.
506 (mem_enable_command, mem_disable_command, mem_delete_command): Use
507 require_user_regions.
508 (_initialize_mem): Mention "mem auto" in help.
509 * memattr.h (enum mem_access_mode): Add MEM_FLASH.
510 (struct mem_attrib): Add blocksize.
511 (invalidate_target_mem_regions, mem_region_init, mem_region_cmp): New
512 prototypes.
513 * remote.c: Include "memory-map.h".
514 (PACKET_qXfer_memory_map): New enum value.
515 (remote_protocol_features): Add qXfer:memory-map:read.
516 (remote_xfer_partial): Handle memory maps.
517 (remote_memory_map): New.
518 (init_remote_ops, init_remote_async_ops): Set to_memory_map.
519 (_initialize_remote): Register qXfer:memory-map:read.
520 * target.c (update_current_target): Mention to_memory_map.
521 (target_memory_map, target_pre_inferior): New.
522 (target_preopen): Call target_pre_inferior.
523 * target.h: Include "vec.h".
524 (enum target_object): Add TARGET_OBJECT_MEMORY_MAP.
525 (struct target_ops): Add to_memory_map.
526 (target_memory_map, target_pre_inferior): New prototypes.
527 * memory-map.c, memory-map.h, xml-support.c, xml-support.h: New files.
528
253c8abb
DJ
5292006-09-21 Daniel Jacobowitz <dan@codesourcery.com>
530
531 * ada-lex.l (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
532 (strtoulst): Moved to ...
533 * utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
534 (strtoulst): ... here. Enhanced to behave more similarly
535 to strtoul.
536 * defs.h (strtoulst): New prototype.
537
c96fc75e
DJ
5382006-09-21 Daniel Jacobowitz <dan@codesourcery.com>
539
540 * Makefile.in (memattr_h, memattr.o): Update.
541 * memattr.h: Include "vec.h".
542 (struct mem_region): Remove linked list pointer.
543 (mem_region_s): New typedef and corresponding vector.
544 * memattr.c: Include "vec.h".
545 (mem_region_chain): Delete.
546 (mem_region_list): New vector pointer.
547 (mem_region_lessthan): New function.
548 (create_mem_region): Remove unused return value. Use vector
549 operations. Remove linear search.
550 (delete_mem_region): Delete.
551 (lookup_mem_region): Use vector operations. Add a FIXME.
552 (mem_info_command): Update to work with vectors.
553 (mem_enable, mem_enable_command, mem_disable, mem_disable_command)
554 (mem_free, mem_delete): Likewise.
555
350da6ee
DJ
5562006-09-21 Nathan Sidwell <nathan@codesourcery.com>
557
558 * vec.h: New file.
559 * vec.c: New file.
560 * Makefile.in (SFILES): Add vec.c.
561 (vec_h): New.
562 (COMMON_OBJS): Add vec.o.
563 (vec.o): New target.
564
2e9f7625
DJ
5652006-09-20 Daniel Jacobowitz <dan@codesourcery.com>
566
567 PR remote/2154
568 * remote.c (remote_thread_alive): Remove local buf.
569 (remote_get_threadinfo): Remove local threadinfo_pkt.
570 (remote_get_threadlist): Remove unused threadlist_packet.
571 (remote_current_thread): Remove local buf.
572 (remote_threads_info): Set bufp after getpkt.
573 (remote_threads_extra_info): Remove local bufp.
574 (get_offsets): Set buf after getpkt.
575 (remote_check_symbols): Set reply after getpkt.
576 (remote_vcont_probe): Set buf after getpkt.
577 (remote_resume): Set buf after set_thread.
578 (remote_wait, remote_async_wait): Set buf after getpkt.
579 (fetch_register_using_p): Set buf after remote_send.
580 (remote_fetch_registers): Likewise.
581 (store_register_using_P): Don't use buf after remote_send.
582 (check_binary_download, remote_write_bytes)
583 (remote_read_bytes, remote_rcmd): Remove local buf.
584
6e90a7df
VP
5852006-09-17 Vladimir Prus <vladimir@codesourcery.com>
586
587 * mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Don't emit error
f28f46e7 588 if high requested frame number is larger than number of available
6e90a7df
VP
589 frames.
590
d51ca893
NR
5912006-09-16 Nick Roberts <nickrob@snap.net.nz>
592
593 * linux-nat.c (linux_test_for_tracefork): Don't leave zombie
594 process.
595
04d1f770
DJ
5962006-09-16 Andrzej Zaborowski <balrog@zabor.org>
597
598 * interps.c (interpreter_exec_cmd): Restore interpreter properties.
599
5a2901d9
DJ
6002006-09-10 Daniel Jacobowitz <dan@codesourcery.com>
601
602 PR threads/2149
603 * infrun.c (handle_inferior_event): Context switch after fork
604 and exec events.
605
4c850810
DJ
6062006-09-10 Daniel Jacobowitz <dan@codesourcery.com>
607
608 * infcall.c (call_function_by_hand): Check for function pointer
609 types.
610
0ba5a932
AS
6112006-09-10 Andreas Schwab <schwab@suse.de>
612
613 * m68k-tdep.c (m68k_analyze_register_saves): Fix decoding of
614 `move.l %R,-(%sp)'.
615
2ab1eb7a
VP
6162006-09-07 Vladimir Prus <vladimir@codesourcery.com>
617
6e90a7df 618 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Don't emit
2ab1eb7a
VP
619 error if high requested frame number is larger then number
620 of available frames.
621
7a0b0196
JB
6222006-09-07 Joel Brobecker <brobecker@adacore.com>
623
624 From Stephan Springl <springl-gdb@bfw-online.de>
625 * fork-child.c (fork_inferior): Fix typo.
626
d56874a7
DD
6272006-08-28 DJ Delorie <dj@redhat.com>
628
629 * m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
630 that may not be initialized elsewhere.
631 (m32c_decode_sd23): Likewise.
632
14711c82
DJ
6332006-08-25 Daniel Jacobowitz <dan@codesourcery.com>
634
635 * buildsym.c (finish_block): Don't adjust the boundaries of
636 nested functions.
637
f414f22f
AS
6382006-08-24 Andreas Schwab <schwab@suse.de>
639
640 * symfile.c (add_symbol_file_command): Fix off-by-one when
641 extending sect_opts.
642
461c8a2c
NR
6432006-08-24 Nick Roberts <nickrob@snap.net.nz>
644
645 * mi/gdb-mi.el: Refer to next release of Emacs as 22.1.
646
77a458b3
NR
6472006-08-23 Nick Roberts <nickrob@snap.net.nz>
648
649 * mi/gdb-mi.el (gdbmi): Remove gdb-force-update, initialize
650 other variables.
651 (gdbmi-send): Ensure any text properties can be removed.
652 (gdbmi-prompt1): Update to gdb-ui.el
653 (gud-gdbmi-marker-filter): Defer setting of gud-running.
654 Keep gdb-done-regexp for partial-output-buffer.
655 (gdb-stack-list-frames-handler): Add face to function names.
656
76b7178d
MK
6572006-08-22 Mark Kettenis <kettenis@gnu.org>
658
316703b9
MK
659 * valprint.c (val_print_type_code_flags): Fix GNU coding standards
660 violation.
661
2a1ce6ec
MK
662 * alpha-tdep.c (alpha_register_to_value, alpha_value_to_register)
663 (alpha_push_dummy_call, alpha_extract_return_value)
664 (alpha_breakpoint_from_pc, alpha_read_insn)
665 (alpha_get_longjmp_target, alpha_supply_int_regs)
666 (alpha_fill_int_regs, alpha_supply_fp_regs, alpha_fill_fp_regs)
667 (alpha_next_pc): Use gdb_byte instead of (unsigned) char where
668 appropriate.
669
fd936806
MK
670 * sparc64-tdep.c (sparc64_pstate_type, sparc64_fsr_type)
671 (sparc64_fprs_type): New variables.
672 (sparc64_init_types): New function.:
673 (sparc64_register_info): Use appropriate flag types for %fsr and
674 %fprs.
675 (sparc64_pseudo_register_info): Use appropriate type for %pstate.
676 (_initialize_sparc64_tdep): New function.
677
befae759
MK
678 * valprint.c (val_print_type_code_flags): Fix for bitfields larger
679 than 32 bits.
680
76b7178d
MK
681 * gdbtypes.c (init_flags_type): Set all fields to zero instead of
682 just the first one.
683
d3f4f91a
DJ
6842006-08-22 Daniel Jacobowitz <dan@codesourcery.com>
685
686 * Makefile.in (INTERNAL_CPPFLAGS): New.
687 (INTERNAL_CFLAGS_BASE): Use it.
688
a98b27f2
MS
6892006-08-22 Michael Snyder <Michael.Snyder@PalmSource.com>
690
691 * MAINTAINERS: Update my email address.
692
8695c747
DJ
6932006-08-19 Daniel Jacobowitz <dan@codesourcery.com>
694
695 * Makefile.in (amd64_linux_tdep_h): New.
696 (amd64-linux-nat.o, amd64-linux-tdep.o): Update.
697 * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add
698 ORIG_RAX.
699 (_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs.
700 * amd64-linux-tdep.c (amd64_linux_register_name)
701 (amd64_linux_register_type, amd64_linux_register_reggroup_p)
702 (amd64_linux_write_pc): New.
703 (amd64_linux_init_abi): Use them, and update num_regs.
704 * amd64-linux-tdep.h: New file.
705 * amd64-tdep.c (amd64_register_name, amd64_register_type): Make
706 public.
707 * amd64-tdep.h (amd64_register_name, amd64_register_type): New
708 prototypes.
709
710 * regformats/reg-x86-64-linux.dat: New file.
711
c17eaafe
DJ
7122006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
713
714 * infrun.c (handle_inferior_event): Check the current frame ID
715 before unwinding to the previous frame.
716
61049d3b
DJ
7172006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
718
719 * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
720 number in a comment.
721
2c9771d3
MK
7222006-08-18 Mark Kettenis <kettenis@gnu.org>
723
724 * sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment.
725
c0dd20ea
DJ
7262006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
727
728 * dwarf2read.c (quirk_gcc_member_function_pointer): New.
729 (read_structure_type): Call it.
730
17218d91
DJ
7312006-08-16 Daniel Jacobowitz <dan@codesourcery.com>
732
733 * NEWS: Mention "set trust-readonly-sections" fix.
734
2bc416ba
DJ
7352006-08-16 Daniel Jacobowitz <dan@codesourcery.com>
736
737 * remote.c, target.c: Strip trailing whitespace.
738
cf7a04e8
DJ
7392006-08-15 Daniel Jacobowitz <dan@codesourcery.com>
740
741 PR remote/1966
742 * dcache.c (dcache_write_line): Use target_write.
743 (dcache_read_line): Use target_read.
744 * mi/mi-main.c (mi_cmd_data_read_memory): Use target_read.
745 * symfile.c (struct load_section_data): Add new per-section
746 members.
747 (load_progress): New function.
748 (load_section_callback): Pass load_progress to the new
749 target_write_with_progress.
750 * target.c (current_xfer_partial, memory_xfer_partial): New.
751 (target_xfer_partial): New prototype.
752 (target_xfer_memory, target_xfer_partial_p, xfer_using_stratum)
753 (do_xfer_memory, target_xfer_memory_partial)
754 (target_read_memory_partial, target_write_memory_partial): Delete.
755 (trust_readonly): Move higher in the file.
756 (update_current_target): Use current_xer_partial.
757 (target_xfer_partial): Use memory_xfer_partial. Handle
758 TARGET_OBJECT_RAW_MEMORY specially.
759 (target_read_memory): Use target_read.
760 (target_write_memory): Use target_write.
761 (default_xfer_partial): Call to_xfer_partial directly.
762 (target_write_with_progress): New function, based on target_write.
763 (target_write): Call it.
764 * target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY.
765 (target_write_with_progress): New prototype.
766 (do_xfer_memory, target_read_memory_partial)
767 (target_write_memory_partial): Delete prototypes.
768
b2182ed2
DJ
7692006-08-15 Daniel Jacobowitz <dan@codesourcery.com>
770
771 * remote.c (remote_write_bytes): Take a const buffer argument.
772 Do the checks from remote_xfer_memory.
773 (remote_read_bytes): Do the checks from remote_xfer_memory.
774 (remote_xfer_memory): Remove checks pushed into lower level
775 functions.
776 (remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
777 directly.
778 * remote.h (remote_write_bytes): Update prototype.
779
9fa66fd7
AS
7802006-08-11 Andrew Stubbs <andrew.stubbs@st.com>
781
782 * NEWS: Add 'set trace-commands' command.
783
8625200f
AS
7842006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
785
786 * cli/cli-script.c (execute_user_command): Update command_next_depth
787 on user-command call.
788
4f8253f3
JB
7892006-08-09 Joel Brobecker <brobecker@adacore.com>
790
791 * NEWS: Add entry for new substitute-path commands.
792
2f61ca93
JB
7932006-08-08 Joel Brobecker <brobecker@adacore.com>
794
795 * source.c: #include gdb_assert.h.
796 (substitute_path_rule): New struct.
797 (substitute_path_rules): New static global variable.
798 (substitute_path_rule_matches): New function.
799 (get_substitute_path_rule): New function.
800 (rewrite_source_path): New function.
801 (find_and_open_source): Add source path rewriting support.
802 (strip_trailing_directory_separator): New function.
803 (find_substitute_path_rule): New function.
804 (add_substitute_path_rule): New function.
805 (delete_substitute_path_rule): New function.
806 (show_substitute_path_command): New function.
807 (unset_substitute_path_command): New function.
808 (set_substitute_path_command): New function.
809 (_initialize_source): Add new substitute-path commands.
810 * Makefile.in (source.o): Add dependency on gdb_assert.h.
811
24a2a654
JB
8122006-08-08 Joel Brobecker <brobecker@adacore.com>
813
814 * i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read
815 instructions.
816 (i386_analyze_struct_return): Likewise.
817 (i386_skip_probe): Likewise.
818 (i386_match_insn): Likewise.
819 (i386_analyze_frame_setup): Likewise.
820 (i386_analyze_register_saves): Likewise.
821 (i386_skip_prologue): Likewise.
822
359a9262
JB
8232006-08-08 Joel Brobecker <brobecker@adacore.com>
824
825 * gdbcore.h (read_memory_nobpt): New function name instead of
826 deprecated_read_memory_nobpt.
827 * breakpoint.c (read_memory_nobpt): New function name instead
828 of deprecated_read_memory_nobpt.
829 Adjust calls to old deprecated_read_memory_nobpt accordingly.
830 * alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
831 accordingly.
832 * alphanbsd-tdep.c: Likewise.
833 * frame.c: Likewise.
834 * frv-tdep.c: Likewise.
835 * hppa-linux-tdep.c: Likewise.
836 * hppa-tdep.c: Likewise.
837 * i386-linux-nat.c: Likewise.
838 * m68klinux-tdep.c: Likewise.
839 * mips-tdep.c: Likewise.
840 * s390-tdep.c: Likewise.
841
7fa2210b
DJ
8422006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
843
844 * configure.ac: Check for expat.
845 * acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies.
846 * Makefile.in (LIBEXPAT): New.
847 (CLIBS): Include $(LIBEXPAT).
848 * README: Mention expat.
849 * configure, config.in: Regenerated.
850
ce928021
DJ
8512006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
852
853 * config/sparc/embed.mt: New file.
854 * configure.tgt (sparc-*-rtems*): Use embed.mt.
855
9bdcbae7
DJ
8562006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
857
858 * Makefile.in (objfiles.o, symfile.o): Update.
859 * objfiles.c: Include "expression.h" and "parser-defs.h".
860 (free_objfile): Clear global blocks.
861 * symfile.c: Include "parser-defs.h".
862 (clear_symtab_users): Clear global blocks.
863
67985547
TS
8642006-08-08 Thiemo Seufer <ths@mips.com>
865
866 * breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
867
3d00d119
DJ
8682006-08-08 Vladimir Prus <vladimir@codesourcery.com>
869
870 * symfile.c (download_write_size): Remove.
871 (show_download_write_size): Remove.
872 (load_section_callback): Don't use download_write_size.
873 (_initialize_symfile): Don't register download_write_size.
874 * NEWS: Mention 'download-write-size' removal.
875
0534816d
DJ
8762006-08-06 Daniel Jacobowitz <dan@codesourcery.com>
877
878 * expprint.c (print_subexp_standard, dump_subexp_body_standard): Add
879 support for member pointers.
880
47ccd048
MK
8812006-08-02 Mark Kettenis <kettenis@gnu.org>
882
883 * arm-tdep.h: Add multiple inclusion protection.
884 (struct gdbarch): Add forward declaration.
885 (armobsd_regset_from_core_section): New prototype.
886 * armbsd-tdep.c: New file.
887 * armobsd-tdep.c: Include "gdb_string.h".
888 (armobsd_init_abi): Set regset_from_core_section.
889 (armobsd_core_osabi_sniffer): New function.
890 (_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer.
891 * Makefile.in (ALLDEPFILES): Add armbsd-tdep.c.
892 (armbsd-tdep.o): New dependency.
893 (armnbsd-tdep.o): Update dependencies.
894 * config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o.
895
87177905
TS
8962006-08-02 Thiemo Seufer <ths@mips.com>
897
898 * linux-thread-db.c (thread_db_get_thread_local_address): Fix type
899 mismatch.
900 * tui/tui-stack.c (tui_show_frame_info): Likewise.
901
a22229c4
DJ
9022006-08-01 Daniel Jacobowitz <dan@codesourcery.com>
903
904 * c-exp.y (type): Remove incorrect pointer to member case.
905 * objc-exp.y (type): Likewise.
906 * p-exp.y (type): Likewise.
907
7c00367c
MK
9082006-08-01 Mark Kettenis <kettenis@gnu.org>
909
910 * arm-tdep.h (enum struct_return): New.
911 (struct gdbarch_tdep): Add struct_return member.
912 * arm-tdep.c (arm_return_value): Return
913 RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses
914 pcc_struct_return.
915 (arm_gdbarch_init): Default to reg_struct_return.
916 * armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return.
917
4816ec69
MK
9182006-07-31 Mark Kettenis <kettenis@gnu.org>
919
920 * alpha-tdep.h (ALPHA_S0_REGNUM): New define.
921 * alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>,
922 <machine/pcb.h> and "bsd-kvm.h".
923 (alphabsd_supply_pcb): New function.
924 (_initialize_alphabsd_nat): Enable libkvm interface.
925 * Makefile.in (alphabsd-nat.o): Update dependencies.
926 * config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
927 (LOADLIBES): New variable.
928 * config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o.
929 (LOADLIBES): New variable.
930
35d5d4ee
FF
9312006-07-31 Fred Fish <fnf@specifix.com>
932
933 * arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC
934 instead of calling frame_obstack_zalloc directly.
935 (arm_make_stub_cache): Ditto.
936 * frame-unwind.h: Ditto.
937 * frame.c (create_new_frame): Ditto.
938
0f9e5f32
BW
9392006-07-27 Bob Wilson <bob.wilson@acm.org>
940
941 * MAINTAINERS (Write After Approval): Add myself.
942
e896d70e
DJ
9432006-07-27 Bob Wilson <bob.wilson@acm.org>
944
945 * main.c (captured_main): Print a newline after calling
946 print_gdb_version instead of waiting until after the symbol file
947 has been read. Adjust error_pre_print, quit_pre_print, and
948 warning_pre_print values.
949
f58b68aa
DJ
9502006-07-27 Roger Sayle <roger@eyesopen.com>
951 Daniel Jacobowitz <dan@codesourcery.com>
952
953 * irix5-nat.c (fetch_core_registers): Simplify and correct logic.
954
159f81f3
DJ
9552006-07-27 Daniel Jacobowitz <dan@codesourcery.com>
956
957 * target.h (target_read_stralloc): New prototype.
958 * target.c (target_read_alloc_1): Renamed from target_read_alloc.
959 Take new PADDING argument.
960 (target_read_alloc): Use it.
961 (target_read_stralloc): New function.
962
40e57cf2
DJ
9632006-07-26 Daniel Jacobowitz <dan@codesourcery.com>
964
965 * remote.c (remote_protocol_features): Correct qPart to qXfer.
966
ab5c9f60
DJ
9672006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
968
969 * eval.c (evaluate_subexp_for_address): Don't incorrectly discard
970 calls to C++ operator*.
971
725a826f
DJ
9722006-07-24 Roger Sayle <roger@eyesopen.com>
973 Daniel Jacobowitz <dan@codesourcery.com>
974
975 * solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
976 (gdb_int64_bytes): Likewise.
977 (fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
978 as first argument to extract_unsigned_integer to silence compiler
979 warnings.
980
72dca2f5
FR
9812006-07-24 Frederic Riss <frederic.riss@st.com>
982
983 * dwarf2read.c (struct dwarf2_per_objfile): Add has_section_at_zero
984 field.
985 (dwarf2_locate_sections): Initialize
986 dwarf2_per_objfile->has_section_at_zero.
987 (dwarf2_get_pc_bounds): Use dwarf2_per_objfile->has_section_at_zero
988 instead of HAS_RELOC test.
989 (read_partial_die): Ditto.
990
4c42eaff
DJ
9912006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
992
993 * corefile.c (reopen_exec_file): Only check for an open exec file.
994 Use exec_file_attach.
995 * exec.c (exec_open): Make static.
996 (exec_file_command): Don't use target_preopen. Query directly about
997 changing the file.
998 * gdbcore.h (exec_open): Remove prototype.
999
10002006-07-24 Frederic Riss <frederic.riss@st.com>
b05e64e5
FR
1001
1002 * regcache.c (struct regcache): Make register_valid_p a signed char
1003 array.
1004
3f64f7b1
DJ
10052006-07-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1006 Daniel Jacobowitz <dan@codesourcery.com>
1007
1008 * linux-thread-db.c (thread_db_wait): Remove libthread_db
1009 after exec events.
1010
6aec2e11
DJ
10112006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
1012
1013 * NEWS: Mention Windows cross debugging support.
1014
83eba059
DJ
10152006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
1016
1017 * linux-nat.c (linux_nat_add_target): Remove extern.
1018 * linux-nat.h (thread_db_init): New prototype.
1019
b80864fb
DJ
10202006-07-22 Daniel Jacobowitz <dan@codesourcery.com>
1021
1022 * configure.tgt: Build gdbserver for Cygwin and mingw32.
1023
66a79c16
DJ
10242006-07-22 Daniel Jacobowitz <dan@codesourcery.com>
1025
1026 * config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
1027 * config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
1028 * config/i386/tm-cygwin.h: Delete file.
1029
fc5261f2
MK
10302006-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1031
1032 * infrun.c (handle_inferior_event): Typo.
1033
16026cd7
AS
10342006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
1035
1036 * cli/cli-cmds.c (source_verbose, trace_commands): New variables.
1037 (source_script): New function.
1038 (source_verbose_cleanup): New function.
1039 (source_command): Move old contents to source_script.
1040 Make function static. Parse -v option and call source_script.
1041 (init_cli_cmds): Update source command help.
1042 Add 'set trace-commands' command.
1043 * cli/cli-script.c (command_next_depth): New static variable.
1044 (suppress_next_print_command_trace): New static variable.
1045 (reset_command_nest_depth): New function.
1046 (print_command_trace): New function.
1047 (execute_control_command): Split the continue_control and break_control
1048 cases, add calls to print_command_trace and count the nest depth.
1049 (while_command): Set suppress_next_print_command_trace.
1050 (if_command): Likewise.
1051 * top.c (execute_command): Call print_command_trace.
1052 * cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
1053 (source_command): Change to source_script.
1054 * main.c (captued_main): Use source_script instead of source_command.
1055 * top.h (source_command): Change to source_script.
1056 * event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
1057 * cli/cli-script.h (print_command_trace): Export.
1058 (reset_command_nest_depth): Likewise.
1059
16963cb6
DJ
10602006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
1061
1062 * eval.c (evaluate_struct_tuple): Skip static fields.
1063
6b26d61a
MK
10642006-07-19 Mark Kettenis <kettenis@gnu.org>
1065
6ea0ec3f
MK
1066 * alphaobsd-tdep.c: Include "obsd-tdep.h".
1067 (alphaobsd_init_abi): Set skip_solib_resolver.
1068 * Makefile.in (alphaobsd-tdep.o): Update dependencies.
1069 * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
1070
6b26d61a
MK
1071 * arm-tdep.c (arm_gdbarch_init): Get default floating-point model
1072 from ELF flags for binaries produced by the GNU toolchain.
1073
86cc68a8
NS
10742006-07-18 Nathan Sidwell <nathan@codesourcery.com>
1075
1076 * remote-fileio.c (remote_fileio_func_rename): Reorder to process
1077 input buffer before reading memory.
1078 (remote_fileio_func_stat): Likewise.
1079
29e8a844
DJ
10802006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
1081
1082 * blockframe.c (find_pc_partial_function): Use the minimal symbol
1083 size to control the cache entry, if available.
1084 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
1085 symbols with zero and non-zero sizes differently.
1086
28b17333
DJ
10872006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
1088
1089 * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
1090 (td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
1091 (thread_db_fetch_registers, thread_db_store_registers)
1092 (thread_db_thread_alive, thread_db_state_str): Delete.
1093 (thread_db_load): Don't look up regset functions.
1094 (thread_db_pid_to_str): Simplify.
1095 (thread_db_extra_thread_info): New.
1096 (init_thread_db_ops): Do not set to_fetch_registers,
1097 to_store_registers, or to_thread_alive. Set to_extra_thread_info.
1098 * Makefile.in: Remove linux-thread-db.o rule.
1099
e3ac4a1e
MK
11002006-07-18 Mark Kettenis <kettenis@gnu.org>
1101
1102 * armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
1103 (armobsd_sigframe_init): New function.
1104 (armobsd_sigframe): New variable.
1105 (armobsd_init_abi): Prepend armobsd_sigframe unwinder.
1106 * Makefile.in (armobsd-tdep.o): Update dependencies.
1107
08ae6d95
DJ
11082006-07-18 Denis PILAT <denis.pilat@st.com>
1109
1110 * monitor.c: Remove unused prototypes.
1111
6962ad99
VP
11122006-07-18 Vladimir Prus <vladimir@codesourcery.com>
1113
1114 * target.c (tcomplain): Mark with ATTR_NORETURN.
1115
0152ebd7
VP
1116 * defs.h (print_transfer_performance): Improve comments.
1117
aa88762a
MK
11182006-07-17 Mark Kettenis <kettenis@gnu.org>
1119
675dcf4f
MK
1120 * printcmd.c: Coding style fixes: add missing spaces in comments
1121 and wrapping long lines.
1122 (delete_display, enable_display_command, disable_display_command)
1123 (printf_command, display_info, undisplay_command, free_display)
1124 (display_command, x_command, address_info, set_command)
1125 (inspect_command, call_command, print_command, print_command_1)
1126 (validate_format, print_formatted, decode_format, sym_format):
1127 Remove prototypes.
1128 (x_command): Make static.
1129 (printf_command): Convert error into internal consistency check.
1130 (address_info): Avoid assignment within function call.
1131 (printf_command): Avoid redundant cast.
1132 * tracepoint.c (x_command): Remove extern prototype.
1133
aa88762a
MK
1134 * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
1135 * Makefile.in (armobsd-tdep.o): Update dependencies.
1136 * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
1137
1cd566a4
MK
11382006-07-16 Mark Kettenis <kettenis@gnu.org>
1139
a58dc200
MK
1140 * armobsd-tdep.c: New file.
1141 * Makefile.in (ALLDEPFILES): Add armobsd-tdep.c.
1142 (armobsd-tdep.o): New dependency.
1143 * config/arm/obsd.mt: New file.
1144 * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.
1145
d7b7af6f 1146 * gdbarch.sh (deprecated_saved_pc_after_call): Delete.
a4bc5cf9 1147 * gdbarch.h, gdbarch.c: Re-generate.
d7b7af6f 1148
1cd566a4
MK
1149 * arm-tdep.c (arm_saved_pc_after_call): Delete.
1150 (arm_gdbarch_init): Do not set deprecated_saved_pc_after_call.
1151
96ffcb62
AS
11522006-07-16 Alfred M. Szmidt <ams@gnu.org>
1153
1154 * gnu-nat.c: Undefine _process_user_ before including
1155 <hurd/process_request.h>.
1156 (gnu_resume): Supply missing argument to error().
1157 (gnu_read_inferior): Add extra parenthesis around arithmetic
1158 expression to silence warnings from GCC.
1159 (gnu_write_inferior): Likewise.
1160 (gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'.
1161
424f3115
MK
11622006-07-16 Mark Kettenis <kettenis@gnu.org>
1163
1164 * armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
1165 svr4_ilp_fetch_link_map_offsets.
1166
a4ab4a25
MK
11672006-07-15 Mark Kettenis <kettenis@gnu.org>
1168
1169 * armnbsd-tdep.c: Don't include "nbsd-tdep.h".
1170 * config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
1171 (DEPRECATED_TM_FILE): Remove.
1172 * Makefile.in (armnbsd-tdep.o): Update dependencies.
1173
cd24f626
JB
11742006-07-14 Joel Brobecker <brobecker@adacore.com>
1175
1176 * PROBLEMS: Document threads/2137.
1177
06d65a1d
MK
11782006-07-13 Mark Kettenis <kettenis@gnu.org>
1179
1180 * config/alpha/tm-nbsd.h: Remove file.
1181 * config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove.
1182
4844f454
CV
11832006-07-13 Corinna Vinschen <vinschen@redhat.com>
1184
1185 * mips-tdep.c (mips_integer_to_address): Simplify be calling
1186 extract_signed_integer directly. Fix comment.
1187
7830cb4f
CV
11882006-07-13 Corinna Vinschen <vinschen@redhat.com>
1189
1190 * m32c-tdep.c (m32c_banked_register): New function.
1191 (m32c_banked_read): Use m32c_banked_register function to evaluate
1192 real register number.
1193 (m32c_banked_write): Ditto.
1194 (m32c_virtual_frame_pointer): New function.
1195 (m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.
1196
9bb47d95
NS
11972006-07-13 Nathan Sidwell <nathan@codesourcery.com>
1198
1199 * m68k-tdep.c (m68k_frame_align): New.
1200 (m68k_gdbarch_init): Set frame_align here.
1201
9af2a054
AS
12022006-07-13 Denis PILAT <denis.pilat@st.com>
1203
1204 * interps.c (interpreter_completer): Allocate one more item to the
1205 'matches' list and set them all to 0 with a xcalloc.
1206
79ee37bc
NR
12072006-07-13 Nick Roberts <nickrob@snap.net.nz>
1208
1209 * annotate.c (annotate_frame_begin): Re-instate frame-begin
1210 annotation for level 3 annotations.
1211
fb933624
DJ
12122006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
1213 Daniel Jacobowitz <dan@codesourcery.com>
1214
1215 * infcall.c (value_arg_coerce): Use value_cast_pointers for
1216 references. Avoid value_cast to a reference type. Don't silently
1217 convert pointers to references.
1218 * valops.c (value_cast_pointers): New, based on value_cast.
1219 (value_cast): Use it. Reject reference types.
1220 (value_ref): New.
1221 (typecmp): Use it.
1222 * value.h (value_cast_pointers, value_ref): New prototypes.
1223
d49c44d5
DJ
12242006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1225
1226 * remote.c (unpack_varlen_hex): Correct type of retval.
1227 Reported by Zhigang Gong <zhigang.gong@gmail.com>.
1228
99bcc461
DJ
12292006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1230
1231 * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
1232 or missing location list information. Suggested by Jan
1233 Kratochvil <lace@jankratochvil.net>.
1234
cb587d83
DJ
12352006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1236
1237 * Makefile.in (arm_linux_tdep_h): New variable.
1238 (arm-linux-nat.o, arm-linux-tdep.o): Update.
1239 * arm-linux-nat.c: Include "arm-linux-tdep.h".
1240 (typeNone, typeSingle, typeDouble, typeExtended)
1241 (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11)
1242 (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none)
1243 (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single)
1244 (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register):
1245 Delete.
1246 (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs):
1247 Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register,
1248 and collect_nwfpe_register.
1249 (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use
1250 new regset functions.
1251 * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h".
1252 (arm_apcs_32): New declaration.
1253 (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
1254 (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble)
1255 (typeExtended, supply_nwfpe_register, collect_nwfpe_register)
1256 (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe)
1257 (arm_linux_regset_from_core_section): New.
1258 (arm_linux_init_abi): Register arm_linux_regset_from_core_section.
1259 * arm-linux-tdep.h: New file.
1260 * arm-tdep.h (struct regset): Declare.
1261 (struct gdbarch_tdep): Add gregset, fpregset members.
1262 * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and
1263 core-regset.o.
1264 * config/arm/linux.mt (TDEPFILES): Add corelow.o.
1265
8802d8ed
DJ
12662006-07-12 Jan Kratochvil <lace@jankratochvil.net>
1267
1268 * infrun.c (handle_inferior_event): Fixed typos in printf.
1269
6765f3e5
DJ
12702006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1271 Nathan Sidwell <nathan@codesourcery.com>
1272
1273 * remote.c (REMOTE_ALIGN_WRITES): New.
1274 (remote_write_bytes): Align large write packets. Remove unused
1275 payload_start variable.
1276
0876f84a
DJ
12772006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1278
1279 * remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
1280 (remote_supported_packet): Remove #if 0.
1281 (remote_protocol_features): Add qPart:auxv:read.
1282 (remote_unescape_input): New function.
1283 (readchar): Don't mask off the high bit.
1284 (read_frame): Use fputstrn_filtered for packet data.
1285 (getpkt_sane): Return the number of bytes read or -1. Use
1286 fputstrn_unfiltered.
1287 (remote_read_qxfer): New.
1288 (remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
1289 (_initialize_remote): Update packet registration.
1290 * defs.h (fputstrn_filtered): New prototype.
1291 * utils.c (fputstrn_filtered): New.
1292 * NEWS: Mention qXfer.
1293
13547ab6
DJ
12942006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1295
1296 * target.c (target_read): Stop if target_read_partial returns 0
1297 when some bytes have already been read.
1298 (target_write): Likewise for target_write_partial.
1299 (target_read_partial, target_write_partial): Make static.
1300 (target_read_alloc): New.
1301 * target.h: Doc fixes.
1302 (target_read_partial, target_write_partial): Delete prototypes.
1303 (target_read_alloc): New prototype.
1304
1305 * auxv.c (target_auxv_read): Delete.
1306 (target_auxv_search, fprint_target_auxv): Use target_read_alloc.
1307 * auxv.h (target_auxv_read): Delete prototype.
1308 * avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc.
1309 * ia64-tdep.c (getunwind_table, get_kernel_table): Likewise.
1310 * linux-nat.c (linux_nat_make_corefile_notes): Likewise.
1311 * procfs.c (procfs_make_note_section): Likewise.
1312 * remote.c (remote_xfer_partial): Don't loop here.
1313 * sparc-tdep.c (sparc_fetch_wcookie): Use target_read.
1314
edfb1a26
DJ
13152006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1316
1317 * arm-linux-tdep.c: Doc fixes.
1318 (ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT)
1319 (ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT)
1320 (ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New
1321 constants.
1322 (arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support
1323 the new signal frame layouts.
1324
6e2c7fa1
DJ
13252006-07-12 Mike Frysinger <vapier@gentoo.org>:
1326 Daniel Jacobowitz <dan@codesourcery.com>
1327
1328 * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
1329 * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise.
1330 * gdbarch.sh: Correct comment.
1331
e0f2823e
DJ
13322006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
1333
1334 * MAINTAINERS: Add Alfred Szmidt for the Hurd.
1335
24c41760
MK
13362006-07-11 Mark Kettenis <kettenis@gnu.org>
1337
1338 * alpha-tdep.h (ALPHA_INSN_SIZE): New define.
1339
8a112c90
MK
13402006-07-10 Mark Kettenis <kettenis@gnu.org>
1341
1342 * alphaobsd-tdep.c: New file.
1343 * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a
1344 handler for GDB_OSABI_OPENBSD_ELF.
1345 * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c.
1346 (alphaobsd-tdep.o): New target.
1347 * config/alpha/obsd.mt: New file.
1348 * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
1349
9823e921
RH
13502006-07-10 Richard Henderson <rth@redhat.com>
1351
1352 * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
1353 * alpha-tdep.c (alpha_register_byte): Remove.
1354 (alpha_extract_struct_value_address): Remove.
1355 (alpha_return_value): New.
1356 (alpha_return_in_memory_always): New.
1357 (alpha_gdbarch_init): Set tdep->return_in_memory. Don't call
1358 set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value
1359 instead of set_gdbarch_deprecated_use_struct_convention,
1360 set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
1361 or set_gdbarch_deprecated_extract_struct_value_address.
1362 * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from
1363 alphafbsd_use_struct_convention, remove gcc_p argument.
1364 (alphafbsd_init_abi): Set tdep->return_in_memory instead of
1365 set_gdbarch_deprecated_use_struct_convention.
1366
789f3b5f
MK
13672006-07-09 Mark Kettenis <kettenis@gnu.org>
1368
b0ca8573
MK
1369 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
1370 prototype.
1371 * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle
1372 a.out-style core file format here. Make global.
1373 (alphanbsd_regset_from_core_section): Remove.
1374 (alphanbsd_sigtramp_offset): Make static.
1375 (alphanbsd_aout_init_abi): Remove.
1376 (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for
1377 a.out style core files.
1378 (_initialize_alphanbsd_tdep): Do not register a handler for
1379 GDB_OSABI_NETBSD_AOUT.
1380
3beabdb2 1381 * alphabsd-tdep.h: Tweak comments.
3b03cc43 1382 (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove.
3beabdb2
MK
1383 * alphanbsd-tdep.c: Reorder includes. Include "regset.h".
1384 (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines.
1385 (alphanbsd_supply_fpregset, alphanbsd_supply_gregset)
1386 (alphanbsd_aout_supply_gregset): New functions.
1387 (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset):
1388 New variables.
1389 (alphanbsd_regset_from_core_section)
1390 (alphanbsd_aout_regset_from_core_section): New functions.
1391 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
1392 (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables.
1393 (alphanbsd_init_abi): Set regset_from_core_section.
1394 (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New
1395 functions.
1396 (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer.
1397 Use alphanbsd_aout_init_abi whre appropriate. Don't call
1398 deprecated_add_core_fns.
1399 * Makefile.in (alphanbsd-tdep.o): Update dependencies.
1400
8fe7c54b
MK
1401 * alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg)
1402 (alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces.
1403
789f3b5f
MK
1404 * alphanbsd-tdep.c (alphanbsd_init_abi): Use
1405 svr4_lp64_fetch_link_map_offsets instead of
1406 nbsd_lp64_solib_svr4_fetch_link_map_offsets.
1407
09153d55
AS
14082006-07-06 Andrew Stubbs <andrew.stubbs@st.com>
1409
1410 * parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block
1411 write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type,
1412 write_exp_elt_intern): Zero initialize tmp.
1413
2ec3381a
DJ
14142006-07-05 Daniel Jacobowitz <dan@codesourcery.com>
1415
1416 * remote.c (remote_xfer_partial): Remove KOD support.
1417 * target.h (enum target_object): Remove TARGET_OBJECT_KOD.
1418 * MAINTAINERS: Move Kernel Object Display entry to past maintainers.
071d802b
MK
1419 * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o):
1420 Remove KOD support.
2ec3381a
DJ
1421 * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands.
1422 * NEWS: Mention KOD.
1423 * kod.h, kod.c, kod-cisco.c: Delete files.
1424
7fca722e
DJ
14252006-07-04 Daniel Jacobowitz <dan@codesourcery.com>
1426
1427 * remote.c (init_remote_state): Use xrealloc instead of xmalloc.
1428
4a35b02a
NW
14292006-07-03 Nathan J. Williams <nathanw@wasabisystems.com>
1430
1431 * bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if
1432 write_files is set.
1433
a6f0780a
EZ
14342006-06-24 Eli Zaretskii <eliz@gnu.org>
1435
1436 * defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
1437
e4c16157
DJ
14382006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
1439
1440 * arm-tdep.c (arm_register_type): Use unsigned types for registers.
1441 Add special types for sp and pc.
1442 * Makefile.in (arm-tdep.o): Update.
1443
a31ea83d
DJ
14442006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
1445
1446 * remote.c (remote_escape_output): New function.
1447 (remote_write_bytes): Use remote_escape_output.
1448
be2a5f71
DJ
14492006-06-21 Daniel Jacobowitz <dan@codesourcery.com>
1450
1451 * NEWS: Mention qSupported.
1452 * remote.c (struct remote_state): Add explicit_packet_size.
1453 (get_remote_packet_size): Check explicit_packet_size.
1454 (get_memory_packet_size): Likewise.
1455 (PACKET_qSupported): New enum value.
1456 (struct protocol_feature, remote_supported_packet)
1457 (remote_packet_size, remote_protocol_features)
1458 (remote_query_supported): New.
1459 (remote_open_1): Reset explicit_packet_size. Call
1460 remote_query_supported.
1461 (_initialize_remote): Register qSupported.
1462
42b575e5
AS
14632006-06-21 Andrew Stubbs <andrew.stubbs@st.com>
1464
1465 * cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
1466
9ae03986
JB
14672006-06-20 Joel Brobecker <brobecker@adacore.com>
1468
1469 * GDB 6.5 released from GDB 6.5 branch.
1470
8b07f6d8
MS
14712006-06-19 Michael Snyder <msnyder@redhat.com>
1472
1473 * mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
1474 decide how many registers it takes to pass a floating point
1475 argument, what matters is the size of a floating point register
1476 (not the size of a general purpose register).
1477 (mips_o32_push_dummy_call): Ditto.
1478
ec5a4d75
KI
14792006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1480
1481 * configure.tgt: Add gdbserver support for m32r-linux.
1482
8d3239d5
MK
14832006-06-18 Mark Kettenis <kettenis@gnu.org>
1484
1485 * m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.
1486
14e60db5
DJ
14872006-06-15 Daniel Jacobowitz <dan@codesourcery.com>
1488
1489 * infrun.c (insert_step_resume_breakpoint_at_caller): New function,
1490 based on insert_step_resume_breakpoint_at_frame.
1491 (handle_inferior_event): Update comments. Use
1492 insert_step_resume_breakpoint_at_caller.
1493 (insert_step_resume_breakpoint_at_frame): Revise comments.
1494
81a17f79
JB
14952006-06-14 Daniel Jacobowitz <dan@codesourcery.com>
1496
1497 * dwarf2read.c (read_unspecified_type): New function.
1498 (read_type_die): Handle DW_TAG_unspecified_type.
1499 (Committed by Julian Brown.)
1500
6490cafe
DJ
15012006-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1502
1503 * symfile.c (load_command): Check for a changed executable before
1504 "load".
1505
22e47e37
FF
15062006-06-13 Fred Fish <fnf@specifix.com>
1507
1508 * mips-tdep.c (mips_find_long_section): New function.
1509 (mips_gdbarch_init): Use it to set long and pointer sizes.
1510
5600ea19
NS
15112006-06-13 Nathan Sidwell <nathan@codesourcery.com>
1512
1513 * remote-file.io.c (remote_fileio_func_system): Treat zero length
1514 string as NULL. Adjust for NULL pointer argument.
1515 * doc/gdb.texinfo (system): Document behaviour with zero length
1516 string.
1517
bb572ddd
DJ
15182006-06-12 Daniel Jacobowitz <dan@codesourcery.com>
1519
1520 * remote.c (set_remote_protocol_packet_cmd)
1521 (show_remote_protocol_packet_cmd): New prototypes.
1522 (remote_set_cmdlist, remote_show_cmdlist): Move higher.
1523 (struct packet_config): Make name and title const.
1524 (add_packet_config_cmd): Remove unnecessary arguments.
1525 (_initialize_remote): Update calls.
1526
98739726
DJ
15272006-06-10 Daniel Jacobowitz <dan@codesourcery.com>
1528
1529 * mingw-hdep.c (gdb_select): Always check for NULL fd sets
1530 before calling FD_ISSET. Correct check for exceptfds which
1531 previously tested writefds.
1532
2b949cb6
JB
15332006-06-09 Daniel Jacobowitz <dan@codesourcery.com>
1534 Julian Brown <julian@codesourcery.com>
1535
4a9d57ab 1536 * dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
2b949cb6 1537
5b031165
JB
15382006-06-09 Julian Brown <julian@codesourcery.com>
1539
1540 * MAINTAINERS (Write After Approval): Add myself.
1541
b2d6f210
MS
15422006-06-08 Michael Snyder <msnyder@redhat.com>
1543
1544 * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
1545
1dd41f16
NS
15462006-06-08 Nathan Sidwell <nathan@codesourcery.com>
1547
6dd0fba6
NS
1548 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
1549 (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
1550 conversion. Use M68K_NUM_REGS for number of regs.
1551
ad9a8f3f
NS
1552 * remote-fileio.c (remote_fileio_reset): New.
1553 * remote-fileio.h (remote_fileio_reset): Prototype.
1554 * remote.c (extended_remote_restart, remote_open_1): Call it.
1555
1556 * remote.c (remote_open_1): Do preopen tasks before
1dd41f16
NS
1557 irreversably destroying state.
1558
ea9c271d
DJ
15592006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
1560
719abd53 1561 * remote.c (struct remote_state): New type, only containing
ea9c271d
DJ
1562 buf and buf_size.
1563 (remote_state): New variable.
1564 (get_remote_state): New function.
1565 (struct remote_arch_state): Renamed from struct remote_state.
1566 Removed buf and buf_size.
1567 (get_remote_arch_state): Renamed from get_remote_state. All
1568 necessary callers updated to call this function.
1569 (init_remote_state): Initialize the architecture-specific state.
1570 Update the target-specific state if necessary.
1571 (get_remote_packet_size): New function. All previous references
1572 changed to use this accessor function.
1573 (packet_reg_from_regnum, packet_reg_from_pnum): Take a
1574 remote_arch_state instead of a remote_state. All callers changed.
1575 (_initialize_remote): Initialize the packet buffer here.
1576
5cffb350
NS
15772006-06-06 Nathan Sidwell <nathan@codesourcery.com>
1578
ea9c271d 1579 * remote.c (remote_insert_watchpoint): Return -1, rather than
5cffb350
NS
1580 fatal error if packet is disabled.
1581 (remote_remove_watchpoint, remote_insert_hw_breakpoint,
1582 remote_remove_hw_breakpoint): Likewise.
1583
8a786d82
NR
15842006-06-02 Nick Roberts <nickrob@snap.net.nz>
1585
1586 * breakpoint.c (print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED.
1587
f49e4e6d
MS
15882006-05-31 Michael Snyder <msnyder@redhat.com>
1589
1590 * mips-tdep.c: Comment tweaks.
1591
20e95c23
DJ
15922006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
1593
1594 * Makefile.in (top_builddir): Update comments.
1595 (INTL_DIR, INTL_SRC): Delete.
1596 (INTL, INTL_DEPS, INTL_CFLAGS): Update.
1597 * acinclude.m4: Include new gettext macros.
1598 * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR. Remove copied
1599 CATALOGS code.
1600 * aclocal.m4, configure: Regenerated.
1601
9308fc88
DJ
16022006-05-30 Daniel Jacobowitz <dan@codesourcery.com>
1603
1604 * Makefile.in (arm-linux-nat.o): Update dependencies.
1605 * arm-linux-nat.c: Include "gdb_proc_service.h".
1606 (PTRACE_GET_THREAD_AREA): Define.
1607 (ps_get_thread_area): New function.
1608
46ea248b
AO
16092006-05-28 Alexandre Oliva <aoliva@redhat.com>
1610
1611 * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
1612 DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
1613 DWARF2_FRAME_REG_SAVED_VAL_EXP.
1614 * dwarf2-frame.c (execute_cfa_program): Handle val_offset,
1615 val_offset_sf and val_expression.
1616 (dwarf2_frame_prev_register): Handle the new reg rules.
1617 (dwarf2_frame_this_id): Use pc instead of function entry point.
1618
56c987f6
AO
16192006-05-28 Alexandre Oliva <aoliva@redhat.com>
1620
1621 * dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
1622 (dwarf2_frame_sniffer): Use it.
1623 (decode_frame_entry_1): Set it according to augmentation "S".
1624
5648af48
JB
16252006-05-27 Joel Brobecker <brobecker@adacore.com>
1626
1627 From Peter Schauer <peterschauer@gmx.net>
1628 * m2-typeprint.c (m2_record_fields): Move variable declarations
1629 to the begining of the block.
1630
03a73f77
MM
16312006-05-23 Mark Mitchell <mark@codesourcery.com>
1632
1633 * mt-tdep.c (mt_register_name): Correct out-of-range logic to
1634 include additional registers.
1635
1636 * mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
1637 Iscramb2, Qscramb2, Qchannel2.
1638 (mt_register_name): Likewise.
1639 (mt_copro_register_type): Describe ZI2 and ZQ2.
1640
1641 * mt-tdep.c (mt_gdb_regnums): Define
1642 MT_COPRO_PSEUDOREG_MAC_REGNUM.
1643 (mt_register_name): Use it.
1644 (mt_copro_register_type): Likewise.
1645 (mt_register_type): Likewise.
1646 (mt_pseudo_register_read): Likewise. Read the MAC register, not
1647 the coprocessor register.
1648 (mt_pseudo_register_write): Likewise.
1649
2b3c8945
CF
16502006-05-21 Christopher Faylor <cgf@timesys.com>
1651
1652 * win32-nat.c (cygwin_exceptions): New variable.
1653 (handle_exception): Treat a cygwin exception like a normal exception if
1654 cygwin_exceptions is true.
1655 (_initialize_win32_nat): Add "set cygwin-exceptions" handler.
1656
f79daebb
GM
16572006-05-20 Gaius Mulley <gaius@glam.ac.uk>
1658
1659 * NEWS: (Improved Modula-2 language support): New section.
1660
b4e70030
JB
16612006-05-19 Joel Brobecker <brobecker@adacore.com>
1662
1663 * configure: Regenerate using proper version of autoconf.
1664
a1f5b845
FF
16652006-05-19 Fred Fish <fnf@specifix.com>
1666
1667 * Makefile.in: Fix spelling of 'explicitly' and 'explicit'.
1668 * dwarfread.c: Fix spelling of 'unexpected'.
1669 * mips-tdep.c: Fix spelling of 'possible' and 'Determine'.
1670 * stack.c: Fix spelling of 'RETURN_VALUE'.
1671
82d03102
PG
16722006-05-18 Paul Gilliam <pgilliam@us.ibm.com
1673
1674 * solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones.
1675
f2da6b3a
DJ
16762006-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1677
1678 * dwarf2-frame.c: Include "value.h".
1679 (read_reg): Use unpack_long and register_type.
1680 * Makefile.in (dwarf2-frame.o): Update.
1681
1f5befc1
DJ
16822006-05-17 Daniel Jacobowitz <dan@codesourcery.com>
1683
1684 * remote-rdp.c: Deleted.
1685 * NEWS: Mention removal of remote-rdp.c.
1686
1687 * Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
1688 (remote-rdp.o): Delete.
1689 * README: Remove description of remote-rdp.c.
1690 * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
1691 * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
1692
cd96dfc9
DJ
16932006-05-16 Daniel Jacobowitz <dan@codesourcery.com>
1694
1695 * ser-e7kpc.c: Include <time.h> if it is available.
1696
16972006-05-16 Joel Brobecker <brobecker@adacore.com>
e374b601
JB
1698
1699 * version.in (version.in): Bump version number to 6.5.50 now
1700 that the gdb-6.5 branch has been created.
1701 * NEWS: Create a new section for changes that are included
1702 since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
1703 section.
1704
13942a42
JB
17052006-05-16 Jim Blandy <jimb@codesourcery.com>
1706
1707 * MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
1708 the Global Maintainers' invitation to be an authorized committer
1709 for the Modula-2 support.
1710
8599da2d
MK
17112006-05-15 Mark Kettenis <kettenis@gnu.org>
1712
1713 * ppcobsd-nat.c: Include "gdb_assert.h".
1714 [PT_GETFPREGS] (getfpregs_supplies): New function.
1715 (ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
1716 versions that have PT_GETFPREGS.
1717 (_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
1718 ppcobsd_fpreg_offsets.
1719 * ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
1720 Declare.
1721 * ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
1722 variables.
1723 (_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
1724 * Makefile.in (ppcobsd-nat.o): Update dependencies.
1725
4e8d927d
DJ
17262006-05-15 Daniel Jacobowitz <dan@codesourcery.com>
1727
1728 * configure.ac: Use GCC_HEADER_STDINT.
1729 * acinclude.m4: Include stdint.m4.
1730 * Makefile.in (gdb_stdint_h): Define.
1731 (distclean): Remove gdb_stdint.h.
1732 (Makefile, stamp-h): Update rules to generate only the correct
1733 files.
1734 (gdb_stdint.h, stamp-int): New rules.
1735 * config.in, configure: Regenerated.
1736
19ca80ba
DJ
17372006-05-15 Daniel Jacobowitz <dan@codesourcery.com>
1738
1739 * valprint.c: Include "exceptions.h".
1740 (val_print): If something goes wrong while printing, supply an
1741 error message.
1742
245c7f48
DJ
17432006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com>
1744
1745 * source.c (get_current_source_symtab_and_line)
1746 (set_current_source_symtab_and_line): Use { 0 }.
1747 * cli/cli-cmds.c (list_command): Likewise.
1748
53b33aeb
NR
17492006-05-14 Nick Roberts <nickrob@snap.net.nz>
1750
1751 * mi/gdb-mi.el (gdbmi-send): Correct regexp for repeat commands.
1752 (gdbmi): Use new variable name gdb-pc-address.
1753 (gdbmi-frame-handler): Use new variable name gdb-pc-address.
1754 Check that a match has been found.
1755
d3d3c7e6 17562006-05-13 Gaius Mulley <gaius@glam.ac.uk>
72019c9c 1757
d3d3c7e6 1758 * m2-lang.h: Added function extern prototypes for
229582b7 1759 m2_is_long_set and get_long_set_bounds.
d3d3c7e6
GM
1760 * m2-typeprint.c: Complete replacement.
1761 (m2_print_type): Walk the Modula-2 type tree.
1762 (m2_type_name): New function.
1763 (m2_range): New function.
1764 (m2_typedef): New function.
1765 (m2_array): New function.
1766 (m2_pointer): New function.
1767 (m2_ref): New function.
1768 (m2_unknown): New function.
1769 (m2_union): New function.
1770 (m2_procedure): New function.
1771 (m2_print_bounds): New function.
1772 (m2_short_set): New function.
1773 (m2_is_long_set): New function.
1774 (m2_get_discrete_bounds): New function.
1775 (m2_is_long_set_of_type): New function.
1776 (m2_long_set): New function.
1777 (m2_record_fields): New function.
1778 (m2_enum): New function.
1c547afb 1779 * dwarf2read.c: Modified.
d3d3c7e6
GM
1780 (read_set_type): New function.
1781 (process_die): Call read_set_type.
1c547afb 1782 (read_base_type): Modifed.
d3d3c7e6 1783 (set_cu_language): Added Modula-2 case clause.
1c547afb 1784 * m2-valprint.c: Complete replacement.
d3d3c7e6
GM
1785 (print_function_pointer_address): New function.
1786 (get_long_set_bounds): New function.
1787 (m2_print_long_set): New function.
1788 (print_unpacked_pointer): New function.
1789 (print_variable_at_address): New function.
1790 (m2_val_print): Replaced.
1791 * gdb/MAINTAINERS (Write After Approval): Added
1792 Gaius Mulley <gaius@glam.ac.uk>
72019c9c 1793
def18405
MK
17942006-05-12 Mark Kettenis <kettenis@gnu.org>
1795
1796 * ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>
1797 (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
1798 (ppcnbsd_fill_fpreg): Remove prototypes.
1799 (struct regset): Add forward declaration.
1800 (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
1801 * ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h",
1802 "regset.h" and "gdb_string.h". Don't include "breakpoint.h",
1803 "value.h", target.h and nbsd-tdep.h". Reorder includes.
1804 (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
1805 (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
1806 (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
1807 Remove macros.
1808 (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
1809 (ppcnbsd_fill_fpreg): Remove functions.
1810 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
1811 (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
1812 (ppcnbsd_reg_offsets): New variable.
1813 (ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
1814 (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
1815 introduced in NetBSD 2.0.
1816 (ppcnbsd_sigtramp): Provide complete signal trampoline.
1817 (ppcnbsd2_sigtramp): New variable.
1818 (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
1819 svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section.
1820 Add ppcnbs2_sigtramp unwinder.
1821 (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
1822 Initialize ppcnbsd_reg_offsets.
1823 * ppcnbsd-nat.c: Update copyright year. Reorder includes.
1824 (getregs_supplies): Use regnum instead of regno.
1825 (getfpregs_supplies): Likewise.
1826 (ppcnbsd_fetch_inferior_registers): Likewise. Call
1827 ppc_supply_gregset and ppc_suppply_fpregset instead of
1828 ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
1829 (ppcnbsd_store_inferior_registers): Likewise. Call
1830 ppc_collect_gregset and ppc_collect_fpregset instead of
1831 ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
1832 (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
1833 (_initialize_ppcnbsd_nat): Add some whitespace.
1834 * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
1835 * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
1836 (NAT_FILE): Remove.
1837 * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
1838
c4c50d37
DJ
18392006-05-11 Alfred M. Szmidt <ams@gnu.org>
1840
1841 * gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
1842
576c2025
FF
18432006-05-11 Fred Fish <fnf@specifix.com>
1844
1845 * symtab.c (skip_prologue_using_sal): Handle single line functions
1846 like "foo(){}", which may optimize down to a single return inst.
1847
ba906c08
SE
18482006-05-10 Steve Ellcey <sje@cup.hp.com>
1849
1850 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
1851 message.
1852
4bf8967c
AS
18532006-05-09 Andreas Schwab <schwab@suse.de>
1854
1855 * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
1856 (execute_cfa_program): Add parameter eh_frame_p. Call
1857 dwarf2_frame_eh_frame_regnum when true.
1858 (dwarf2_frame_cache): Pass eh_frame_p from fde to
1859 execute_cfa_program.
1860 (decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
1861 processing .eh_frame. Copy eh_frame_p to the new fde.
1862 (struct dwarf2_frame_ops): Add eh_frame_regnum.
1863 (dwarf2_frame_set_eh_frame_regnum): Define.
1864 (dwarf2_frame_eh_frame_regnum): Define.
1865
1866 * dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
1867 (dwarf2_frame_eh_frame_regnum): Declare.
1868
55e969c1
DM
18692006-05-06 David S. Miller <davem@sunset.davemloft.net>
1870
1871 * linux-nat.c (linux_nat_do_thread_registers): Check for
1872 NULL collect_regset method.
1873
92f38ec2
UW
18742006-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1875
1876 * s390-tdep.c (s390_collect_regset): New function.
1877 (s390_gregset, s390x_gregset, s390_fpregset): Add it.
1878
6fed56b4
NR
18792006-05-06 Nick Roberts <nickrob@snap.net.nz>
1880
1881 * dwarf2read.c: Make LOC_OPTIMIZED_OUT the default value for a
1882 symbol.
1883
6fc19103
UW
18842006-05-05 Ulrich Weigand <uweigand@de.ibm.com>
1885
1886 * linux-nat.c (exit_lwp): Fix NULL pointer access.
1887 (linux_nat_handle_extended): New parameter STOPPING.
1888 (wait_lwp): Call it with STOPPING equals 1.
1889 (linux_nat_wait): Call it with STOPPING equals 0.
1890
d539ed7e
UW
18912006-05-05 Ulrich Weigand <uweigand@de.ibm.com>
1892
1893 * linux-nat.c (linux_nat_wait): Do not short-cut reporting
1894 of 'uninteresting' signals when single-stepping.
1895
49101e1c
DJ
18962006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
1897
1898 * MAINTAINERS: Move NEWS to the documentation entry.
1899
4f844a66
DM
19002006-05-05 David S. Miller <davem@sunset.davemloft.net>
1901
1902 * linux-nat.c (linux_nat_do_thread_registers): Use the
1903 regset_from_core_section infrastructure if the target
1904 supports it.
1905 * Makefile.in: Update dependencies.
bcc98f88
DM
1906 * linux-thread-db.c (thread_db_store_registers): Use
1907 regcache_raw_collect.
4f844a66 1908
411cb3f9
PG
19092006-05-05: Paul Gilliam <pgilliam@us.ibm.com>
1910
1911 * ppc-linux-nat.c: Clean up types for ptrace.
1912 Replace (CORE_ADDR) with (uintptr_t) to avoid the size difference
1913 between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits.
1914
597320e7
DJ
19152006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
1916
1917 * remote.c (remote_disconnect): Add TARGET argument.
1918 * target.c (debug_to_disconnect): Delete.
1919 (update_current_target): Do not inherit to_disconnect.
1920 (target_disconnect): Search for a target to implement to_disconnect.
1921 (setup_target_debug): Do not reference to_disconnect.
1922 * target.h (struct target_ops): Add target argument to
1923 to_disconnect.
1924
401835eb
FF
19252006-05-06 Fred Fish <fnf@specifix.com>
1926
1927 * mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian
1928 structs or unions independent of ABI register size.
1929
7a076fd2
FF
19302006-05-06 Fred Fish <fnf@specifix.com>
1931
1932 * mips-tdep.c (mips_o64_return_value): Replace stub that always
1933 returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
1934
eec01795
DJ
19352006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
1936
1937 * mi/mi-main.c (captured_mi_execute_command): Check the return
1938 value of -interpreter-exec.
1939
14b3d9c9
JB
19402006-05-03 Vladimir Prus <ghost@cs.msu.su>
1941
411cb3f9
PG
1942 * varobj.c (c_value_of_variable): Ignore top-level references.
1943 (Committed by Jim Blandy.)
14b3d9c9 1944
1893a4c0
MK
19452006-04-30 Mark Kettenis <kettenis@gnu.org>
1946
1947 * breakpoint.c (insert_single_step_breakpoint): Make a failure to
1948 insert a single-step breakpoint an error instead of a warning.
1949
21f79b33
NW
19502006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
1951
1952 * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
1953 arguments from void * to gdb_byte *.
1954
b8db102d
MS
19552006-04-26 Michael Snyder <msnyder@redhat.com>
1956
1957 * linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
1958 command to "delete fork" (no hyphen), compatible with other
1959 "delete" commands.
1960 (info_forks_command): Accept a fork ID argument, for info
1961 on a single fork. Report if no matching forks.
1962
bc0c849e
MK
19632006-04-25 Mark Kettenis <kettenis@gnu.org>
1964
1893a4c0
MK
1965 * breakpoint.c (remove_single_step_breakpoints): Bail out early if
1966 no breakpoints are inserted.
1967
bc0c849e
MK
1968 From Masaki MURANAKA <monaka@monami-software.com>:
1969 * mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
1970 type of last argument to `gdb_byte *'
1971
5f1fb6dc
JB
19722006-04-25 Jim Blandy <jimb@codesourcery.com>
1973
1974 Add support for 'target remote |' on MinGW.
1975 * ser-mingw.c (struct pipe_state): New structure.
1976 (make_pipe_state, free_pipe_state, cleanup_pipe_state)
1977 (pipe_windows_open, pipe_windows_close, pipe_windows_read)
1978 (pipe_windows_write, pipe_wait_handle): New functions.
1979 (_initialize_ser_windows): Register a "pipe" interface based on
1980 them.
1981
c3e2b812
DJ
19822006-04-24 Daniel Jacobowitz <dan@codesourcery.com>
1983
1984 * ser-mingw.c: Include <conio.h>.
1985 (struct ser_console_state, struct net_windows_state): Add exit_select,
1986 have_stopped, thread.
1987 (pipe_select_thread, console_select_thread)
1988 (net_windows_select_thread): Don't create a local state copy or
1989 close stop_select. Exit on exit_select instead of stop_select. Set
1990 have_stopped.
1991 (console_select_thread): Don't report control keypresses as pending
1992 input.
1993 (pipe_select_thread): Allow stop_select to interrupt sleeping.
1994 (set_console_wait_handle): Create exit_select and have_stopped.
1995 Save the thread handle. Check _kbhit before starting a thread.
1996 (ser_console_done_wait_handle): New.
1997 (ser_console_close): Close new handles. Wait for the thread to
1998 exit.
1999 (new_windows_select_thread): Assert that an event occurred.
2000 (net_windows_wait_handle): Check for pending input before starting
2001 a thread.
2002 (net_windows_done_wait_handle): New.
2003 (net_windows_open): Create exit_select and have_stopped.
2004 Save the thread handle.
2005 (net_windows_close): Close new handles. Wait for the thread to
2006 exit.
2007 (_intiialize_ser_windows): Register done_wait_handle methods.
2008
2009 * serial.c [USE_WIN32API] (serial_done_wait_handle): New.
2010 * serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
2011 [USE_WIN32API] (serial_done_wait_handle): New prototype.
2012 * mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
2013
b8eb021a
AS
20142006-04-23 Andreas Schwab <schwab@suse.de>
2015
2016 * rs6000-tdep.c: Include "reggroups.h" only once.
2017 * Makefile.in (rs6000-tdep.o): Update dependencies.
2018
4f1520fb
FR
20192006-04-21 Frederic Riss <frederic.riss@st.com>
2020
2021 * dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
2022 compilation directory as last argument.
2023 Always pass comp_dir as second argument to start_subfile and prepend
2024 dirname to the filename when necessary.
2025 Remove now superfluous search for pre-existing subfile.
2026 (dwarf_decode_lines): Pass the compilation directory to
2027 dwarf2_start_subfile.
2028
0271fba4
MS
20292006-04-20 Michael Snyder <msnyder@redhat.com>
2030
2031 * 2006-03-22 Jim Blandy <jimb@redhat.com>
2032 Add support for the Renesas M32C and M16C.
2033
2034 * configure.tgt (m32c-*-*): New entry.
2035 * config/m32c/m32c.mt: New file.
2036 * m32c-tdep.c: New file.
2037 * Makefile.in (elf_m32c_h): New variable.
2038 (m32c-tdep.o): New rule.
2039 * NEWS: Mention new target.
2040 * MAINTAINERS: Designate Jim Blandy as responsible maintainer.
2041
cfde0993
MS
20422006-04-20 Michael Snyder <msnyder@redhat.com>
2043
2044 * remote.c: Fix spelling error in comment.
2045
cba5fab9
DJ
20462006-04-20 Daniel Jacobowitz <dan@codesourcery.com>
2047
2048 * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
2049 Correct type of VALUEP. Reported by Jean-Rene Peulve
2050 <jr.peulve@wanadoo.fr>.
2051
cbba9205
KI
20522006-04-19 Masaki Muranaka <monaka@monami-software.com>
2053
2054 * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
2055 netdb.h, netinet/in.h.
2056 (m32r_upload_command); Add calls WSAStartup().
2057 * remote-m32r-sdi.c: On MinGW, include winsock.h instead of
2058 netinet/in.h.
2059
8181d85f
DJ
20602006-04-18 Daniel Jacobowitz <dan@codesourcery.com>
2061
2062 * breakpoint.c (deprecated_read_memory_nobpt): Update to use
2063 shadow_len.
2064 (insert_bp_location, reattach_breakpoints, remove_breakpoint)
2065 (delete_breakpoint): Update calls to changed methods.
2066 (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
2067 (single_step_breakpoints, insert_single_step_breakpoint)
2068 (remove_single_step_breakpoints): New.
2069 * breakpoint.h (struct bp_target_info): New.
2070 (struct bp_location): Replace shadow_contents with
2071 target_info and overlay_target_info.
2072 (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
2073 (insert_single_step_breakpoint, remove_single_step_breakpoints): New
2074 prototypes.
2075 * gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
2076 (memory_insert_breakpoint, memory_remove_breakpoint): Update second
2077 argument.
2078 * mem-break.c (default_memory_insert_breakpoint): Update. Set
2079 placed_address, placed_size, and shadow_len.
2080 (default_memory_remove_breakpoint): Update. Don't use
2081 BREAKPOINT_FROM_PC.
2082 (memory_insert_breakpoint, memory_remove_breakpoint): Update.
2083 * target.c (update_current_target): Update prototypes for changed
2084 functions.
2085 (debug_to_insert_breakpoint, debug_to_remove_breakpoint)
2086 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
2087 Update.
2088 * target.h: Forward declare struct bp_target_info.
2089 (struct target_ops): Use a bp_target_info argument for
2090 to_insert_breakpoint, to_remove_breakpoint,
2091 to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
2092 (target_insert_breakpoint, target_remove_breakpoint)
2093 (target_insert_hw_breakpoint, target_remove_hw_breakpoint)
2094 (memory_insert_breakpoint, memory_remove_breakpoint)
2095 (default_memory_insert_breakpoint, default_memory_remove_breakpoint):
2096 Update.
2097 * config/i386/nm-i386.h: Forward declare struct bp_target_info.
2098 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
2099 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.
2100
2101 * gdbarch.c, gdbarch.h: Regenerated.
2102
2103 * alpha-tdep.c (alpha_software_single_step): Use
2104 insert_single_step_breakpoint and remove_single_step_breakpoints.
2105 Remove unused statics.
2106 * arm-tdep.c (arm_software_single_step): Likewise. Add a note.
2107 * cris-tdep.c (cris_software_single_step): Likewise.
2108 * mips-tdep.c (mips_software_single_step): Likewise.
2109 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
2110 * sparc-tdep.c (sparc_software_single_step): Likewise.
2111 * wince.c (struct thread_info_struct): Remove step_prev.
2112 (undoSStep): Use remove_single_step_breakpoints.
2113 (wince_software_single_step): Use insert_single_step_breakpoint.
2114
2115 * corelow.c (ignore): Remove unneeded prototype. Update arguments.
2116 * exec.c (ignore): Likewise.
2117 * sol-thread.c (ignore): Likewise.
2118
2119 * procfs.c (dbx_link_shadow_contents): Delete.
2120 (dbx_link_bpt): New.
2121 (procfs_mourn_inferior): Remove it if necessary.
2122 (remove_dbx_link_breakpoint): Use it.
2123 (insert_dbx_link_bpt_in_file): Set it.
2124 (procfs_init_inferior): Don't update dbx_link_bpt_addr.
2125 * rs6000-nat.c (exec_one_dummy_insn): Use
2126 deprecated_insert_raw_breakpoint and
2127 deprecated_remove_raw_breakpoint.
2128 * solib-irix.c (shadow_contents, breakpoint_addr): Delete.
2129 (base_breakpoint): New.
2130 (disable_break): Use it.
2131 (enable_break): Set it.
2132
2133 * i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
2134 Update.
2135 * ia64-tdep.c (ia64_memory_insert_breakpoint)
2136 (ia64_memory_remove_breakpoint): Likewise.
2137 * m32r-tdep.c (m32r_memory_insert_breakpoint)
2138 (m32r_memory_remove_breakpoint): Likewise.
2139 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
2140 Likewise. Remove unnecessary prototypes. Use placed_address
2141 and placed_size. Removed useless read from memory.
2142 * nto-procfs.c (procfs_insert_breakpoint)
2143 (procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
2144 (procfs_remove_hw_breakpoint): Update.
2145 * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
2146 * ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
2147 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
2148 * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
2149 * remote-e7000.c (e7000_insert_breakpoint)
2150 (e7000_remove_breakpoint): Likewise.
2151 * remote-m32r-sdi.c (m32r_insert_breakpoint)
2152 (m32r_remove_breakpoint): Likewise.
2153 * remote-mips.c (mips_insert_breakpoint)
2154 (mips_remove_breakpoint): Likewise.
2155 * remote-rdp.c (remote_rdp_insert_breakpoint)
2156 (remote_rdp_remove_breakpoint): Likewise.
2157 (rdp_step): Use deprecated_insert_raw_breakpoint and
2158 deprecated_remove_raw_breakpoint.
2159 * remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
2160 Update.
2161 * remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
2162 Delete.
2163 (init_gdbsim_ops): Use memory_insert_breakpoint and
2164 memory_remove_breakpoint.
2165 * remote-st.c (st2000_insert_breakpoint)
2166 (st2000_remove_breakpoint): Update. Remove unused
2167 BREAKPOINT_FROM_PC.
2168 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
2169 Update. Use placed_address and placed_size.
2170 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
2171
01d3a6ce
DJ
21722006-04-12 Daniel Jacobowitz <dan@codesourcery.com>
2173
2174 * remote.c (extended_remote_restart): Pass the correct length
2175 to getpkt.
2176
2821caf1
JB
21772006-04-11 Jim Blandy <jimb@codesourcery.com>
2178
2179 * serial.c (serial_open): Check for special cases at the front of
2180 the "device" name before scanning for the ':' that would indicate
2181 an IP-based connection.
2182
02c5aecd
CF
21832006-04-10 Christopher Faylor <cgf@timesys.com>
2184
2185 * win32-nat.c (open_symbol_file_object): New function.
2186 (in_dynsym_resolve_code): Ditto.
2187 (init_win32_ops): Fill in fields which ought not to be NULL.
2188
cb832706
CF
21892006-04-10 Christopher Faylor <cgf@timesys.com>
2190
2191 * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything
2192 with saved context if __COPY_CONTEXT_SIZE is not defined.
2193 (handle_output_debug_string): Ditto.
2194
03926e1f
DJ
21952006-04-10 Daniel Jacobowitz <dan@codesourcery.com>
2196
2197 * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
2198
b2a0b9b2
DM
21992006-04-09 David S. Miller <davem@sunset.davemloft.net>
2200
2201 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
2202 frame sniffer.
2203 * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call
2204 dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so
2205 that the latter can override.
2206 * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
2207
ee1b3323
UW
22082006-04-09 Ulrich Weigand <uweigand@de.ibm.com>
2209
2210 * s390-tdep.c (struct s390_prologue_data): New field 'stack'.
2211 (s390_store): Call pv_area_store to track stack slots.
2212 (s390_load): Call pv_area_fetch to track stack slots.
2213 (s390_check_for_saved): New function.
2214 (s390_analyze_prologue): Call pv_area_scan. Allocate and free stack.
2215
3fc46200
UW
22162006-04-09 Ulrich Weigand <uweigand@de.ibm.com>
2217
2218 * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
2219 * s390-tdep.c: Include "prologue-value.h".
2220 (struct prologue_value): Remove.
2221 (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
2222 pv_constant_last, pv_add, pv_add_constant, pv_subtract,
2223 pv_logical_and, pv_is_identical, pv_is_register): Remove.
2224 (compute_x_addr): Remove, replace by ...
2225 (s390_addr): ... this new function.
2226 (struct s390_prologue_data): Use pv_t instead of prologue_value.
2227 (s390_store, s390_load): Likewise.
2228 (s390_prologue_frame_unwind_cache): Likewise.
2229 (s390_analyze_prologue): Likewise. Also, simplify and combine
2230 several conditional statements.
2231
d750b939
JB
22322006-04-08 Jim Blandy <jimb@codesourcery.com>
2233
2234 * Makefile.in (COMMON_OBS): List prologue-value.o. (Omitted from
2235 last patch.)
2236
0b4294d3
DM
22372006-04-08 David S. Miller <davem@sunset.davemloft.net>
2238
2239 * sparc-linux-tdep.c (sparc32_linux_step_trap): New.
2240 (sparc32_linux_init_abi): Hook it into tdep->step_trap.
07c5f590
DM
2241 (sparc32_linux_core_gregset,
2242 sparc32_linux_supply_core_gregset,
2243 sparc32_linux_collect_core_gregset,
2244 sparc32_linux_supply_core_fpregset,
2245 sparc32_linux_collect_core_fpregset): New.
2246 (sparc32_linux_init_abi): Register them with generic sparc
2247 core regset infrastructure.
0b4294d3
DM
2248 * sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
2249 (sparc64_linux_init_abi): Hook it into tdep->step_trap.
07c5f590
DM
2250 (sparc64_linux_core_gregset,
2251 sparc64_linux_supply_core_gregset,
2252 sparc64_linux_collect_core_gregset,
2253 sparc64_linux_supply_core_fpregset,
2254 sparc64_linux_collect_core_fpregset): New.
2255 (sparc64_linux_init_abi): Register them with generic sparc
2256 core regset infrastructure.
0b4294d3
DM
2257 * Makefile.in: Update dependencies.
2258
9c0dd46b
DM
22592006-04-07 David S. Miller <davem@sunset.davemloft.net>
2260
2261 * linux-nat.c (linux_nat_thread_alive): Handle targets that
2262 do not implement PTRACE_PEEKUSER.
2263
670aa98f
DJ
22642006-04-07 Daniel Jacobowitz <dan@codesourcery.com>
2265
2266 * remote.c (remote_wait): Convert warning to error before
2267 parsing corrupt packets.
2268
e28493f2
AS
22692006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
2270
2271 * cli/cli-script.c (struct user_args): Add command field.
2272 (arg_cleanup): Free command string.
2273 (setup_user_args): Copy the command line before relying on it.
2274
7f198e01
JB
22752006-04-06 Joel Brobecker <brobecker@adacore.com>
2276
2277 * breakpoint.c (_initialize_breakpoint): Add "del" as an alias
2278 of the "delete" command.
2279
c9f7217e
RC
22802006-04-06 Randolph Chung <tausq@debian.org>
2281
2282 * MAINTAINERS (Patch champions): Add myself.
2283
d993720d
AS
22842006-04-05 Andreas Schwab <schwab@suse.de>
2285
2286 * Makefile.in: Update dependencies.
2287
f5a9b87d
DM
22882006-04-05 David S. Miller <davem@sunset.davemloft.net>
2289
2290 * sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
2291 (sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
2292 * Makefile.in (sparc-tdep.o): Update dependencies.
80f9e3aa
DM
2293 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
2294 window out of the correct stack frame.
2295 * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
aff37fc1
DM
2296 * dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
2297 argument.
2298 (dwarf2_frame_default_init_reg): Likewise.
2299 (dwarf2_frame_set_init_reg): Update init_reg arg.
2300 (dwarf2_frame_init_reg): Take "next_frame" and pass it to
2301 ops->init_reg().
2302 (dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
2303 * dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
2304 * cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
2305 * s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
2306 * sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
2307 * sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
2308 * sparc-tdep.c (sparc32_struct_return_from_sym): New function.
2309 (sparc32_frame_cache): Call it.
2310 (sparc32_dwarf2_struct_return_p): New function.
2311 (sparc_dwarf2_frame_init_reg): Use it to determine if the function
2312 returns a structure and thus we have to indicate the return PC and
2313 NPC are 4 bytes later than usual.
faea95b1
DM
2314 * sparc-linux-tdep.c (sparc32_linux_init_abi): Append
2315 dwarf2 frame sniffer.
2316 * Makefile.in (sparc-linux-tdep.o): Update dependencies.
f5a9b87d 2317
75e192e6
DM
23182006-04-04 David S. Miller <davem@davemloft.net>
2319
2320 * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o
2321 * config/linux64.h (NATDEPFILES): Likewise
2322 * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
2323 fill_fpregset): New.
2324 * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
2325 fill_fpregset): New.
0a59b3af
DM
2326 * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for
2327 new includes.
2328
dbcd679b
AS
23292006-04-04 Andreas Schwab <schwab@suse.de>
2330
2331 * Makefile.in (elf_common_h): Define.
2332
357d3800
AS
23332006-04-03 Andrew Stubbs <andrew.stubbs@st.com>
2334
2335 * sh-tdep.c (sh_dwarf2_frame_init_reg): New function.
2336 (sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
2337
d3c139e9
AS
23382006-03-31 Andrew Stubbs <andrew.stubbs@st.com>
2339
2340 * value.h (struct internalvar): Add field 'endian'.
2341 * value.c (lookup_internalvar): Initialise endian.
2342 (value_of_internalvar): Flip the endian of built-in types if required.
2343 (set_internalvar): Set the endian.
2344 (show_convenience): Access the value through value_of_internalvar().
2345
bb858e6a
DJ
23462006-03-30 Vladimir Prus <ghost@cs.msu.su>
2347
2348 * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
2349 instead of hardcoded integer literals.
2350
61d9b92f
DJ
23512006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2352
2353 * cli/cli-script.c (insert_args): Handle NULL user_args.
2354
f7060f85
DJ
23552006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2356
2357 * arm-tdep.c (thumb_scan_prologue): Don't try to analyze
2358 the function at zero if we have no symbols.
2359
295bf0ff
DJ
23602006-03-30 Adrien Kunysz <a_kunysz@yahoo.com>
2361
2362 * i386-stub.c (getpacket): Fix array overflow.
2363 * m32r-stub.c (getpacket): Likewise.
2364 * m68k-stub.c (getpacket): Likewise.
2365 * sh-stub.c (getpacket): Likewise.
2366 * sparc-stub.c (getpacket): Likewise.
2367
7abfe014
DJ
23682006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2369
2370 * frame.h (set_current_sal_from_frame): New prototype.
2371 * stack.c (set_current_sal_from_frame): Make global.
2372 * infrun.c (normal_stop): Call set_current_sal_from_frame.
2373
0ec9a092
DJ
23742006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2375
2376 * linux-thread-db.c: Include "linux-nat.h".
2377 (check_for_thread_db): New function, split out from
2378 thread_db_new_objfile. Remove dead check for active
2379 thread_db on inapplicable targets.
2380 (thread_db_new_objfile): Call check_for_thread_db.
2381 * Makefile.in (linux-thread-db.o): Update.
2382 * linux-nat.c (child_post_attach): Call check_for_thread_db.
2383 (linux_child_post_startup_inferior): Likewise.
2384 (lin_lwp_attach_lwp): Call target_post_attach instead of
2385 child_post_attach.
2386 * linux-nat.h (check_for_thread_db): New prototype.
2387
6d820c5c
DJ
23882006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
2389
2390 * remote.c (struct remote_state): Add BUF and BUF_SIZE.
2391 (init_remote_state): Initialize the new fields.
2392 (get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
2393 (set_thread, remote_thread_alive, remote_unpack_thread_info_response)
2394 (remote_get_threadinfo, parse_threadlist_response)
2395 (remote_get_threadlist, remote_current_thread, remote_threads_info)
2396 (remote_threads_extra_info, extended_remote_restart, get_offsets)
2397 (remote_check_symbols, remote_open_1, remote_detach)
2398 (remove_vcont_probe, remote_vcont_resume, remote_resume)
2399 (remote_wait, remote_async_wait, fetch_register_using_p)
2400 (remote_fetch_registers, store_register_using_P)
2401 (remote_store_registers, check_binary_download, remote_write_bytes)
2402 (remote_read_bytes, remote_insert_breakpoint)
2403 (remote_remove_breakpoint, remote_insert_watchpoint)
2404 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
2405 (remote_remove_hw_breakpoint, compare_sections_command)
2406 (remote_xfer_partial, remote_rcmd, packet_command)
2407 (remote_get_thread_local_address): Use the global incoming buffer
2408 instead of alloca or xmalloc. Limit outgoing packets to
2409 rs->remote_packet_size and incoming packets to rs->buf_size.
2410 Update calls to getpkt and remote_send.
2411 (remote_send): Take arguments by reference.
2412 (putpkt_binary): Eliminate junkbuf. Use skip_frame.
2413 (skip_frame): New function.
2414 (read_frame): Take arguments by reference. Expand the packet
2415 buffer instead of issuing an error.
2416 (getpkt, getpkt_sane): Take arguments by reference.
2417 * remote.h (getpkt): Update prototype and doc.
2418 * tracepoint.c (remote_get_noisy_reply): Take arguments by
2419 reference.
2420 (target_buf): Change from array to pointer.
2421 (target_buf_size): New variable.
2422 (remote_set_transparent_ranges): Update call to getpkt.
2423 (trace_start_command, trace_stop_command, trace_status_command):
2424 Update calls to remote_get_noisy_reply.
2425 (finish_tfind_command): Take arguments by reference.
2426 (trace_find_command, trace_find_pc_command)
2427 (trace_find_tracepoint_command, trace_find_line_command):
2428 (trace_find_range_command, trace_find_outside_command): Update
2429 calls to finish_tfind_command.
2430 (_initialize_tracepoint): Initialize target_buf_size and target_buf.
2431
3d8dcac6
RC
24322005-03-30 Randolph Chung <tausq@debian.org>
2433
2434 * hppa-linux-tdep.c: Include regset.h.
2435 (GR_REGNUM, TR_REGNUM, greg_map): New.
2436 (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New.
2437 (hppa_linux_regset, hppa_linux_fpregset): New.
2438 (hppa_linux_regset_from_core_section): New.
2439 (hppa_linux_init_abi): Set regset_from_core_section.
2440 (_initialize_hppa_linux_tdep): Register osabi handler for
2441 64-bit Linux.
2442 * Makefile.in (hppa-linux-tdep.o): Update dependencies.
2443 * config/pa/linux.mh: Stop using core-regset.o
2444
29d375ac
RC
24452006-03-30 Randolph Chung <tausq@debian.org>
2446
2447 * hppa-tdep.c (hppa_find_unwind_entry_in_block): New.
2448 (hppa_frame_cache): Use new function to find unwind entry.
2449 (hppa_frame_this_id): Likewise.
2450 (hppa_frame_unwind_sniffer): Likewise.
2451
f4267320
DJ
24522006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2453
2454 * NEWS: Mention the removal of NLM.
2455
24562006-03-29 Steve Ellcey <sje@cup.hp.com>
2457
2458 * Makefile.in (nlm): Remove target.
2459 * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
2460 * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
2461 * configure: Regenerate.
2462 * doc/gdb.texinfo: Remove gdbserve.nlm documentation.
2463 * nlm: Remove directory.
2464
698ba934
DJ
24652006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
2466
2467 * Makefile.in (utils.o): Update.
2468 * top.c (in_user_command): New.
2469 (command_line_input): Use input_from_terminal_p.
2470 (input_from_terminal_p): Don't check caution. Handle
2471 stdin == NULL for Insight.
2472 * top.h (in_user_command, caution): New declarations.
2473 * utils.c: Include "top.h".
2474 (query, defaulted_query): Check caution here. Move the call
2475 to input_from_terminal_p higher.
2476 * cli/cli-script.c (do_restore_user_call_depth): Only decrement
2477 the depth. Update in_user_command if necessary.
2478 (execute_user_command): Don't clobber old_chain. Set
2479 in_user_command. Let do_restore_user_call_depth handle
2480 user_call_depth.
2481 (read_command_lines): Check whether to prompt before calling
2482 Insight hooks.
2483 * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary
2484 input_from_terminal_p check.
2485
2f00de94
UW
24862006-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2487
2488 * s390-nat.c (s390_insert_watchpoint): Add missing argument.
2489 (s390_remove_watchpoint): Likewise.
2490
7d30c22d
JB
24912006-03-28 Jim Blandy <jimb@codesourcery.com>
2492
2493 * prologue-value.c, prologue-value.h: New files.
2494 * Makefile.in (prologue_value_h): New variable.
2495 (HFILES_NO_SRCDIR): List prologue-value.h.
2496 (SFILES): List prologue-value.c.
2497 (COMMON_OBS): List prologue-value.o.
2498 (prologue-value.o): New rule.
2499
05c6a9a1
MS
25002006-03-27 Michael Snyder <msnyder@redhat.com>
2501
2502 * xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call,
2503 xstormy16_pointer_to_address, xstormy16_address_to_pointer,
2504 xstormy16_frame_prev_register): Change void* to gdb_byte*.
2505 (xstormy16_push_dummy_call): Add block-local char* val,
2506 to avoid type conflict with outer scope variable.
2507
4e6cbc38
AS
25082006-03-27 Andrew Stubbs <andrew.stubbs@st.com>
2509
2510 * sh-tdep.c (sh_gdbarch_init): Add missing architectures.
2511
75483fbe
NR
25122006-03-27 Nick Roberts <nickrob@snap.net.nz>
2513
d149de7b 2514 PR mi/1429
75483fbe
NR
2515 * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero
2516 offsets for languages like Fortran.
2517
97ce3a05
RC
25182006-03-26 Randolph Chung <tausq@debian.org>
2519
2520 * config/pa/hppa64.mt: Use HPUX version of the tm file.
2521
be85b69f
NR
25222006-03-25 Nick Roberts <nickrob@snap.net.nz>
2523
2524 * mi/gdb-mi.el (gdbmi-send): Improve regexp to repeat commands.
2525 Try to deal with continuation line.
2526 (gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new
2527 variable names.
2528 (gdb-break-list-regexp, gdb-stack-list-frames-regexp):
2529 Future proof against new fields being added to MI output.
2530 (gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file)
2531 (gdbmi-frame-handler): Update to new variable name
2532 gdb-get-buffer-create.
2533 (gdbmi-frame-handler): Use hollow-right-triangle for all selected
2534 frames which except the innermost (where execution has stopped).
2535
7fc4b1a1
RC
25362006-03-24 Randolph Chung <tausq@debian.org>
2537
2538 * solib-som.c (link_map_start): Don't error out if there is
2539 not yet a link map.
2540
f973ed9c
DJ
25412006-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2542
2543 * linux-nat.c (linux_ops_saved): New.
2544 (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops)
2545 (child_mourn_inferior, child_wait, linux_nat_create_inferior)
2546 (linux_nat_fetch_registers, linux_nat_store_registers)
2547 (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete.
2548 (init_lwp_list): Don't set threaded.
2549 (add_lwp): Don't modify threaded.
2550 (delete_lwp): Don't mention non-threaded mode.
2551 (linux_nat_switch_fork): New.
2552 (linux_nat_attach): Update inferior_ptid.
2553 (linux_nat_wait): Handle num_lwps == 0 at entry. Don't check
2554 threaded flag.
2555 (linux_nat_kill): Handle pending forks and saved forks.
2556 (linux_nat_mourn_inferior): Handle saved forks.
2557 (linux_nat_pid_to_str): Don't use the LWP form when there is
2558 only one thread.
2559 (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior.
2560 (linux_nat_add_target): New.
2561 (_initialize_linux_nat): Don't initialize the linux native target
2562 here.
2563 * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New
2564 prototypes.
2565 * linux-fork.c: Include "linux-nat.h".
2566 (add_fork): Update initial PID.
2567 (fork_load_infrun_state): Call linux_nat_switch_fork.
2568 * Makefile.in (linux-fork.o): Update.
2569
2570 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use
2571 linux_nat_add_target instead of add_target.
2572 * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise.
2573 * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise.
2574 * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise.
2575 * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise.
2576 * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise.
2577 * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise.
2578 * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise.
2579 * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise.
2580 * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise.
2581 * s390-nat.c (_initialize_s390_nat): Likewise.
2582 * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise.
2583 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise.
2584
791b663b
DJ
25852006-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2586
2587 * linux-fork.c: Include "gdb_assert.h".
2588 (fork_load_infrun_state): Set inferior_ptid and stop_pc here.
2589 Update the register cache and selected frame also.
2590 (linux_fork_mourn_inferior): Use fork_load_infrun_state. Return
2591 to single fork mode if necessary.
2592 (linux_fork_context): Remove bits handled by fork_load_infrun_state.
2593 * Makefile.in (linux_fork_h): New.
2594 (linux-fork.o, linux-nat.o): Update.
2595
d311d956
AS
25962006-03-23 Andreas Schwab <schwab@suse.de>
2597
2598 * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o.
2599
a849c9ab
JB
26002006-03-18 Jim Blandy <jimb@codesourcery.com>
2601
2602 * symtab.h (enum address_class): Doc fix.
2603
cf913f37
MS
26042006-03-16 Michael Snyder <msnyder@redhat.com>
2605
712e3020 2606 * tracepoint.c (tracepoint_save_command): Fix typo in error msg.
88c231eb 2607 * target.c (push_target): Fix typo in comment.
94e08568 2608 * remote.c (remote_watch_data_address): Fix typo in comment.
cf913f37
MS
2609 * i386-tdep.c (i386_push_dummy_call): Fix typo in comment.
2610
7c699b81
KB
26112006-03-15 Kevin Buettner <kevinb@redhat.com>
2612
2613 * frv-linux-tdep.c (gdbcore.h, regcache.h, regset.h, gdb_string.h):
2614 Include.
2615 (FRV_ELF_NGREG, FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR, FRV_PT_CCCR)
2616 (FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0, FRV_PT_GNER1)
2617 (FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR, FRV_PT_TBR)
2618 (FRV_PT_EXEC_FDPIC_LOADMAP, FRV_PT_INTERP_FDPIC_LOADMAP): Define.
2619 (frv_elf_greg_t, frv_elf_gregset_t, frv_elf_fpreg_t)
2620 (frv_elf_fpregset_t): Define types.
2621 (frv_linux_supply_gregset, frv_linux_supply_fpregset)
2622 (frv_linux_regset_from_core_section: New functions.
2623 (frv_linux_gregset, frv_linux_fpregset): New static globals.
2624 (frv_linux_init_abi): Register the `regset_from_core_section' method.
2625 * Makefile.in (frv-linux-tdep.o): Update dependencies.
2626 * solib-frv.c (frv_current_sos): Relocate main executable after
2627 loading core file.
2628 (frv_clear_solib): Clean up space associated with
2629 `main_executable_lm_info'.
2630 * config/frv/frv.mt (TDEPFILES): Add corelow.o to this list.
2631
d37eb719
DJ
26322006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
2633
2634 * Makefile.in (mips_linux_tdep_h): New.
2635 (mpis-linux-nat.o, mips-linux-tdep.o): Update.
2636 * mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
2637 <sys/ptrace.h>.
2638 (have_ptrace_regsets, super_fetch_registers, super_store_registers)
2639 (mips64_linux_regsets_fetch_registers)
2640 (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
2641 (mips64_linux_store_registers): New.
2642 (_initialize_mips_linux_nat): Override to_fetch_registers and
2643 to_store_registers.
2644 * mips-linux-tdep.h: New file.
2645 * mips-linux-tdep.c: Include "mips-linux-tdep.c".
2646 (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
2647 (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
2648 (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
2649 (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
2650 (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
2651 (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
2652 (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
2653 (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
2654 (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
2655 (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
2656 (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
2657 (supply_32bit_reg): Use gdb_byte.
2658 (supply_64bit_reg): New.
2659 (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
2660 (mips_fill_fpregset, fetch_core_registers, supply_gregset)
2661 (fill_gregset, supply_fpregset): Update for renamed types.
2662 (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
2663 (mips64_fill_gregset): Make global. Handle 32-bit register
2664 sizes.
2665 (mips64_fill_fpregset): Make global. Use gdb_byte. Handle
2666 FP regsets properly.
2667
9f62d0e2
DJ
26682006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
2669
2670 * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
2671 (mips_fill_gregset): Renamed from fill_gregset.
2672 (mips_supply_fpregset): Renamed from supply_fpregset.
2673 (mips_fill_fpregset): Renamed from fill_fpregset.
2674 (fetch_core_registers): Update calls.
2675 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New
2676 functions.
2677
26c53e50
DJ
26782006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
2679
2680 * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64.
2681
5b652102
DJ
26822006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
2683
2684 * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
2685 Correct arithmetic for 64-bit CORE_ADDR.
2686
d05f6826
DJ
26872006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
2688
2689 * mips-linux-tdep.c: Include "floatformat.h".
2690 (mips_linux_init_abi): Use 128-bit long double for N32 and N64.
0a407ead
DJ
2691 * mips-tdep.c (mips_n32n64_return_value): Support 128-bit long
2692 double.
d05f6826
DJ
2693 (print_gp_register_row): Don't print spaces before ignored
2694 or floating point registers.
6367c6b1 2695 * Makefile.in (mips-linux-tdep.o): Update.
d05f6826 2696
3e5af19e
DJ
26972006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
2698
2699 * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
2700 for code addresses.
2701 (non_heuristic_proc_desc): Likewise.
2702
dc60ece8
DJ
27032006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
2704
2705 * mips-linux-nat.c: Include "gdb_proc_service.h".
2706 (PTRACE_GET_THREAD_AREA): Define.
2707 (ps_get_thread_area): New.
2708 * Makefile.in (mips-linux-nat.o): Update.
2709
2f83030f
JB
27102006-03-13 Jim Blandy <jimb@codesourcery.com>
2711
2712 * MAINTAINERS: Use my work address.
2713
56aac7e8 27142006-03-09 Michael Snyder <msnyder@redhat.com>
a9877905 2715
56aac7e8
MS
2716 * linux-nat.c (kill_inferior): Just call target_mourn_inferior
2717 instead of getting tricky for the multi-fork case.
2718 * linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
2719 for each fork, and then use init_fork_list to delete them.
a9877905 2720
831004b7
AO
27212006-03-08 Alexandre Oliva <aoliva@redhat.com>
2722
2723 * solib-svr4.c (svr4_current_sos): Move up initialization of
2724 l_addr, such that it clearly covers all cases.
2725
f1b4b38e
AS
27262006-03-08 Andreas Schwab <schwab@suse.de>
2727
2728 * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt use of
2729 libunwind_frame_prev_register to use a gdb_byte buffer and
2730 extract_unsigned_integer.
2731 (ia64_libunwind_sigtramp_frame_prev_register): Likewise.
2732
2733 * libunwind-frame.c (libunwind_frame_prev_register): Change type
2734 of last argument to `gdb_byte *'
2735 * libunwind-frame.h: Adjust declaration.
2736
f53f0d0b
PB
27372006-03-08 Paul Brook <paul@codesourcery.com>
2738
2739 * arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
2740 (arm_frame_align): New function.
2741 (arm_gdbarch_init): Use it.
2742
b67fd56f
AC
27432006-03-03 Khem Raj <khem@mvista.com>
2744
2745 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
2746 Committed by Andrew Cagney.
2747
a64ae7e0
CV
27482006-03-02 Corinna Vinschen <vinschen@redhat.com>
2749
2750 * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint
2751 address to MDR register.
2752
9733fc94
DJ
27532006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
2754
2755 * gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive
2756 calls.
2757
4897bfb9
RC
27582006-03-01 Randolph Chung <tausq@debian.org>
2759
2760 * somread.c (som_symfile_read): Update comment and remove unneeded
2761 use of a deprecated variable.
2762
6fcecea0
RC
27632006-03-01 Randolph Chung <tausq@debian.org>
2764
2765 * hppa-tdep.h (unwind_table_entry): Update field names to match HP
2766 runtime specification.
2767 * hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise.
2768 (unwind_command): Likewise.
2769
46acf081
RC
27702006-03-01 Randolph Chung <tausq@debian.org>
2771
2772 * hppa-tdep.c (hppa_frame_cache): Handle Region_Description and
2773 Pseudo_SP_Set in unwind record.
2774
477e69e8
RC
27752006-03-01 Randolph Chung <tausq@debian.org>
2776
2777 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use
2778 TDEP->is_elf to determine if we are working with a SOM binary.
2779 (null_symtab_and_line): Remove unused variable.
2780 * config/pa/hppa64.mt: Use tm-hppa.h.
2781 * config/pa/tm-hppa64.h: Remove file.
2782
848359ac
WZ
27832006-03-01 Wu Zhou <woodzltc@cn.ibm.com>
2784
2785 * f-typeprint.c (f_type_print_base): Delete the redundant space.
2786
f9ec92b6
KB
27872006-02-28 Kevin Buettner <kevinb@redhat.com>
2788
2789 * Makefile.in (mn10300-linux-tdep.o): Update dependencies.
2790 * mn10300-linux-tdep.c (frame.h, trad-frame.h, tramp-frame.h):
2791 Include.
2792 (am33_linux_sigframe_cache_init): New function.
2793 (am33_linux_sigframe, am33_linux_rt_sigframe): New signal frame
2794 descriptions.
2795 (AM33_SIGCONTEXT_D0, AM33_SIGCONTEXT_D1, AM33_SIGCONTEXT_D2)
2796 (AM33_SIGCONTEXT_D3, AM33_SIGCONTEXT_A0, AM33_SIGCONTEXT_A1)
2797 (AM33_SIGCONTEXT_A2, AM33_SIGCONTEXT_A3, AM33_SIGCONTEXT_E0)
2798 (AM33_SIGCONTEXT_E1, AM33_SIGCONTEXT_E2, AM33_SIGCONTEXT_E3)
2799 (AM33_SIGCONTEXT_E4, AM33_SIGCONTEXT_E5, AM33_SIGCONTEXT_E6)
2800 (AM33_SIGCONTEXT_E7, AM33_SIGCONTEXT_LAR, AM33_SIGCONTEXT_LIR)
2801 (AM33_SIGCONTEXT_MDR, AM33_SIGCONTEXT_MCVF, AM33_SIGCONTEXT_MCRL)
2802 (AM33_SIGCONTEXT_MCRH, AM33_SIGCONTEXT_MDRQ, AM33_SIGCONTEXT_SP)
2803 (AM33_SIGCONTEXT_EPSW, AM33_SIGCONTEXT_PC, AM33_SIGCONTEXT_FPUCONTEXT):
2804 New constants.
2805 (am33_linux_init_osabi): Register signal frame unwinders.
2806
e92e42f5
KB
28072006-02-28 Kevin Buettner <kevinb@redhat.com>
2808
2809 * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack
2810 out of pattern match by saving relevant state. Fix stack size
2811 adjustment bug.
2812
cc10cae3
AO
28132006-02-28 Alexandre Oliva <aoliva@redhat.com>
2814
2815 * solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
2816 l_ld_size fields.
2817 * solib-svr4.c (struct lm_info): Add l_addr field.
2818 (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
2819 (HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
2820 (LM_DYNAMIC_FROM_LINK_MAP): New.
2821 (LM_ADDR_CHECK): New. Use it instead of LM_ADDR.
2822 (svr4_current_sos): Initialize l_addr. Adjust.
2823 (svr4_relocate_section_addresses): Adjust.
2824 (svr4_ilp32_fetch_link_map_offsets): Define new members.
2825 (svr4_lp64_fetch_link_map_offsets): Likewise.
2826 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
2827 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
2828 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
2829 * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
2830
691342f9
DM
28312006-02-26 David S. Miller <davem@sunset.davemloft.net>
2832
2833 * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o.
2834 * config/sparc/linux64.mt (TDEPFILES): Likewise.
2835
2c387241
AM
28362006-02-27 Alan Modra <amodra@bigpond.net.au>
2837
2838 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
2839 (ppc_linux_remove_watchpoint): Likewise, and args.
2840
3597fb82
MK
28412006-02-26 Mark Kettenis <kettenis@gnu.org>
2842
2843 * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
2844 "soft" interrupts.
2845
637d6690
CW
28462006-02-24 Charles Wilson <cygwin@cwilson.fastmail.fm>
2847
2848 * gdb/defs.h: unconditionally include <fcntl.h>, and
2849 ensure that O_BINARY is defined.
2850 * gdb/solib.c(solib_open): ensure solib files are opened in
2851 binary mode.
2852 * gdb/corelow.c: Remove O_BINARY macro definition.
2853 * gdb/exec.c: Remove O_BINARY macro definition
2854 * gdb/remote-rdp.c: Remove O_BINARY macro definition
2855 * gdb/source.c: Remove O_BINARY macro definition
2856 * gdb/symfile.c: Remove O_BINARY macro definition
2857
9846e541
RC
28582006-02-24 Randolph Chung <tausq@debian.org>
2859
2860 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize
2861 argreg.
2862 * solib-som.c (som_solib_remove_inferior_hook): Remove unused
2863 function.
2864
2a5e440c
WZ
28652006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
2866
2867 * f-exp.y: Symbol '%' is not used as the modulus operator in
2868 Fortran. Delete this from Fortran expression.
2869 It is now used by Fortran 90 and later to access the member
2870 of derived type. Add this into Fortran expression.
2871 * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT.
2872 Print each elements in the derived type.
2873 * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter
2874 level into the function definition to do indented printing. And
2875 call fprintfi_filtered instead to do indented printing.
2876 (f_type_print_base): Replace fprintf_filtered with the indented
2877 version (fprintfi_filtered).
2878 (f_type_print_base): Call indented print_equivalent_f77_float_type.
2879 (f_type_print_base): Add code to handle TYPE_CODE_STRUCT. Print
2880 the definition of the derived type.
2881
92128691
DJ
28822006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
2883
2884 * gdb_curses.h: Provide a fallback prototype for tgetnum.
2885
a6205f53
DJ
28862006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
2887
2888 * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE
2889 also.
2890 (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT.
2891 (DOUBLEST_SCAN_FORMAT): New.
2892 * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions.
2893 (processReal): Use DOUBLEST_SCAN_FORMAT.
2894 * c-exp.y (parse_number): Likewise.
2895 * jv-exp.y (parse_number): Likewise.
2896 * objc-exp.y (parse_number): Likewise.
2897 * p-exp.y (parse_number): Likewise.
2898
0f0b8dcd
DJ
28992006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
2900
2901 * event-top.c (async_do_nothing, async_disconnect)
2902 (async_stop_sig, async_float_handler): Remove duplicated
2903 prototypes.
2904 (handle_sighup): Guard prototype with SIGHUP.
2905 (async_do_nothing): Guard function and prototype with
2906 SIGQUIT || SIGHUP.
2907 (async_disconnect): Guard prototype with SIGHUP.
2908 (async_stop_sig): Guard prototype with STOP_SIGNAL.
2909
4e91d01c
DJ
29102006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
2911
2912 * maint.c (maintenance_dump_me): Remove unnecessary prototype.
2913
1e0600be
DJ
29142006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
2915
2916 * win32-termcap.c (tputs): Return 0.
2917
094a342e
MK
29182006-02-21 Mark Kettenis <kettenis@gnu.org>
2919
2920 * configure.ac: Introduce ---enable-werror, which adds -Werror to
2921 the compiler command line. Enabled by default. Disable with
2922 --disable-werror.
2923 * configure regenerate.
2924
74763737
DJ
29252006-02-21 Daniel Jacobowitz <dan@codesourcery.com>
2926
2927 * elfread.c (elf_symtab_read): Skip symbols which BFD considers
2928 special.
2929
13d35ae5
AS
29302006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
2931
2932 * defs.h (directory_switch): Add prototype.
2933 * main.c (captured_main): Use directory_switch() instead of
2934 directory_command() to add directories from the -d switch.
2935 * source.c (directory_switch): New function.
2936 (add_path): Use buildargv() to parse spaces in filenames properly.
2937 Strip multiple trailing '/' rather than just one.
2938
5b96932b
AS
29392006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
2940
2941 * symfile.c (add_symbol_file_command): Use buildargv(), instead of
2942 hand decoding the command line, to allow use of quotes and spaces.
2943 (_initialize_symfile): Reorganize the help message for add-symbol-file
2944 such that 'help files' shows a better message.
2945
a6b0a3f3
AS
29462006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
2947
2948 * sh-tdep.c (sh_generic_show_regs): Reformat both code and output.
2949 (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise.
2950 (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise.
2951 (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise.
2952
17fbb0bd
DJ
29532006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
2954
2955 * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN
2956 and __SIGRTMIN + 1.
2957
444abaca
DJ
29582006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
2959
2960 * remote.c: Add an enumeration for configurable remote
2961 packets.
2962 (remote_protocol_packets, set_remote_protocol_packet_cmd)
2963 (show_remote_protocol_packet_cmd): New.
2964 (remote_protocol_vcont)
2965 (set_remote_protocol_vcont_packet_cmd)
2966 (show_remote_protocol_vcont_packet_cmd)
2967 (remote_protocol_qSymbol)
2968 (set_remote_protocol_qSymbol_packet_cmd)
2969 (show_remote_protocol_qSymbol_packet_cmd)
2970 (remote_protocol_P, set_remote_protocol_P_packet_cmd)
2971 (show_remote_protocol_P_packet_cmd)
2972 (remote_protocol_Z)
2973 (set_remote_protocol_Z_software_bp_packet_cmd)
2974 (show_remote_protocol_Z_software_bp_packet_cmd)
2975 (set_remote_protocol_Z_hardware_bp_packet_cmd)
2976 (show_remote_protocol_Z_hardware_bp_packet_cmd)
2977 (set_remote_protocol_Z_write_wp_packet_cmd)
2978 (show_remote_protocol_Z_write_wp_packet_cmd)
2979 (set_remote_protocol_Z_read_wp_packet_cmd)
2980 (show_remote_protocol_Z_read_wp_packet_cmd)
2981 (set_remote_protocol_Z_access_wp_packet_cmd)
2982 (show_remote_protocol_Z_access_wp_packet_cmd)
2983 (remote_protocol_binary_download)
2984 (set_remote_protocol_binary_download_cmd)
2985 (show_remote_protocol_binary_download_cmd)
2986 (remote_protocol_qPart_auxv)
2987 (set_remote_protocol_qPart_auxv_packet_cmd)
2988 (show_remote_protocol_qPart_auxv_packet_cmd)
2989 (remote_protocol_qGetTLSAddr)
2990 (set_remote_protocol_qGetTLSAddr_packet_cmd)
2991 (show_remote_protocol_qGetTLSAddr_packet_cmd)
2992 (remote_protocol_p)
2993 (set_remote_protocol_p_packet_cmd)
2994 (show_remote_protocol_p_packet_cmd): Delete.
2995
2996 (init_all_packet_configs): Simplify.
2997 (set_remote_protocol_Z_packet_cmd)
2998 (show_remote_protocol_Z_packet_cmd)
2999 (remote_check_symbols, remote_vcont_probe, remote_vcont_resume)
3000 (remote_fetch_registers, remote_prepare_to_store)
3001 (remote_store_registers, check_binary_download)
3002 (remote_write_bytes, remote_insert_breakpoint)
3003 (remote_remove_breakpoint, remote_insert_watchpoint)
3004 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
3005 (remote_remove_hw_breakpoint, remote_xfer_partial)
3006 (remote_get_thread_local_address): Update for packet array.
3007 (_initialize_remote): Likewise; also update for common
3008 set/show commands.
3009
3bd72c6f
DJ
30102006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
3011
3012 * symfile.c (place_section): Correct retry logic.
3013
a244bdca
CF
30142006-02-19 Christopher Faylor <cgf@timesys.com>
3015
3016 * win32_nat.c (cygwin_load_start): New variable.
3017 (cygwin_load_end): Ditto.
3018 (have_saved_context): Ditto.
3019 (saved_context): Ditto.
3020 (max_dll_name_len): Delete obsolete variable.
3021 (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll
3022 if we are in a cygwin signal rather than a windows signal.
3023 (solib_symbols_add): Detect and store beginning and end of cygwin DLL
3024 if dll being loaded is the cygwin DLL.
3025 (register_loaded_dll): Remove calculation of max_dll_name_len.
3026 (win32_clear_solib): Ditto.
3027 (handle_load_dll): Delete obsolete variable. Remove unneeded call to
3028 solib_add.
3029 (handle_output_debug_string): Detect and store signal information sent
3030 by Cygwin here.
3031 (handle_exception): Silently pass on errors in the cygwin DLL. Return
3032 -1 on first pass exception.
3033 (win32_continue): Remove spurious clearing of continue_status.
3034 (get_win32_debug_event): Deal differently first chance exception.
3035
806e23c0
RC
30362006-02-19 Randolph Chung <tausq@debian.org>
3037
3038 * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no
3039 unwind entry.
3040
d843c49c
FF
30412006-02-16 Fred Fish <fnf@specifix.com>
3042
3043 * eval.c (evaluate_subexp_standard): For OP_TYPE, return
3044 a non lval value zero, of the appropriate type, when avoiding
3045 side effects.
3046 * typeprint.c (ptype_eval): Remove function and declaration.
3047 (ptype_command): Simplify to just a call to whatis_exp.
3048
1c5bada0
PB
30492006-02-15 Paul Brook <paul@codesourcery.com>
3050
3051 * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc):
3052 Load insn opcodes as unsigned values.
3053
96c1eda2
AO
30542006-02-14 Alexandre Oliva <aoliva@redhat.com>
3055
3056 * doublest.h (DOUBLEST): Use long double only if we can scan
3057 it in. Undefine HAVE_LONG_DOUBLE otherwise.
3058 (DOUBLEST_FORMAT): New.
3059 * c-exp.y (parse_number): Use it.
3060 * jv-exp.y (parse_number): Likewise.
3061 * objc-exp.y (parse_number): Likewise.
3062 * p-exp.y (parse_number): Likewise.
3063 * varobj.c (free_variable): Silence type-punning warnings.
3064 * tui/tui-data.h (struct tui_list): Change type of list member.
3065 * tui/tui-data.c: Remove no-longer-needed type casts.
3066 (source_windows): Silence type-punning warnings.
3067 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
3068
92dd43fa
MK
30692006-02-13 Mark Kettenis <kettenis@gnu.org>
3070
3071 Fix PR breakpoints/2080.
3072 * i386-tdep.c (struct i386_frame_cache): Add stack_align member.
3073 (i386_analyze_stack_align): New function.
3074 (i386_analyze_prologue): Use i386_analyze_stack_align.
3075 (i386_frame_cache): Deal with stack realignment.
3076
7314787a
NR
30772006-02-14 Nick Roberts <nickrob@snap.net.nz>
3078
3079 * mi/gdb-mi.el: Use more functions from gdb-ui.el.
3080 (gdb-break-list-regexp): Match "what" field if present.
be85b69f 3081 (gdb-stack-list-frames-regexp): Match "from" field if present.
7314787a
NR
3082 (gdb-stack-list-frames-handler): Present output like "info
3083 breakpoints" so regexps can be shared with gdb-ui
3084
0ea3f30e
DJ
30852006-02-10 Daniel Jacobowitz <dan@codesourcery.com>
3086
3087 * NEWS: Mention native Windows support.
3088 * Makefile.in (gdb_select_h, ser_tcp_h): New.
3089 (ALLDEPFILES): Add ser-mingw.c.
3090 (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o)
3091 (ser-tcp.o, ser-unix.o): Update.
3092 (ser-mingw.o): New rule.
3093 * configure: Regenerated.
3094 * configure.ac: Add ser-mingw.o for mingw32.
3095 * ser-mingw.c: New file.
3096 * event-loop.c: Include "gdb_select.h".
3097 (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c.
3098 * ser-base.c: Include "gdb_select.h".
3099 (ser_base_wait_for): Use gdb_select.
3100 * serial.c (serial_for_fd): New function.
3101 (serial_fdopen): Try "terminal" before "hardwire". Initialize
3102 the allocated struct serial.
3103 (serial_wait_handle): New function.
3104 * serial.h (serial_for_fd, serial_wait_handle): New prototypes.
3105 (struct serial_ops) [USE_WIN32API]: Add wait_handle.
3106 * gdb_select.h: New file.
3107 * ser-tcp.c: Include "ser-tcp.h". Remove unused "ser-unix.h" include.
3108 (net_close, net_read_prim, net_write_prim): Make global.
3109 (net_open): Likewise. Pass an exception set to select. Whitespace fix.
3110 Document why we can not use gdb_select.
3111 (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here.
3112 * ser-tcp.h: New file.
3113 * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here.
3114 (handle_sigio): Use gdb_select.
3115 (initialize_stdin_serial): New function.
3116 * terminal.h (initialize_stdin_serial): New prototype.
3117 * top.c (gdb_init): Call initialize_stdin_serial.
3118 * mingw-hdep.c (gdb_select): New function, moved from gdb_select in
3119 event-loop.c. Add exception condition support. Use serial_for_fd
3120 and serial_wait_handle. Fix timeout handling.
3121 * posix-hdep.c: Include "gdb_select.h".
3122 (gdb_select): New function.
3123 * remote-st.c (connect_command): Use gdb_select.
3124 * ser-unix.c: Include "gdb_select.h".
3125 (hardwire_send_break, wait_for): Use gdb_select.
3126
121ce6e5
DJ
31272006-02-10 Daniel Jacobowitz <dan@codesourcery.com>
3128
3129 * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
3130 (ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c.
3131 * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs
3132 to posix-hdep.o by default.
3133 * configure: Regenerated.
3134 * configure.host: Document gdb_host_obs. Add an entry for
3135 i[34567]86-*-mingw32*.
3136 * mingw-hdep.c, posix-hdep.c: New files.
3137 * utils.c (safe_strerror): Remove, moved to posix-hdep.o.
3138
1f82754b
JB
31392006-02-10 Joel Brobecker <brobecker@adacore.com>
3140
3141 * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX.
3142 * osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX.
3143 * rs6000-tdep.h: New file.
3144 * rs6000-tdep.c: Include "rs6000-tdep.h".
3145 (rs6000_gdbarch_init): Remove enabling of software single step.
3146 Will be done in the AIX-specific initialization routine.
3147 * rs6000-aix-tdep.c: New file.
3148 * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o.
3149 * Makefile.in (rs6000_tdep_h): New variable.
3150 (rs6000-tdep.o): Update dependencies.
3151 (rs6000-aix-tdep.o): New rule.
3152
577b7047
JB
31532006-02-10 Joel Brobecker <brobecker@adacore.com>
3154
3155 * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd
3156 instead of add_setshow_zinteger_cmd to defined the aix-thread
3157 boolean setting.
3158
ff800d76
NR
31592006-02-10 Nick Roberts <nickrob@snap.net.nz>
3160
3161 * mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50.
3162
5afb4e99
DJ
31632006-02-09 Daniel Jacobowitz <dan@codesourcery.com>
3164
3165 * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to
3166 30 bits. Add load_all_dies flag.
3167 (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set.
3168 Load DW_TAG_member by default. Remove internal_error call.
3169 (find_partial_die): Reload the compilation unit if we can not find
3170 a DIE in the cache. Call internal_error here if we still can not
3171 find the DIE.
3172
a832795c
NR
31732006-02-10 Nick Roberts <nickrob@snap.net.nz>
3174
3175 * breakpoint.c (print_one_breakpoint): Add break to case
3176 bp_catch_vfork in switch statement.
3177
c9dd6fef
WZ
31782006-02-08 Wu Zhou <woodzltc@cn.ibm.com>
3179
3180 * config/i386/nm-i386sol2.h: Update copyright year.
3181 * config/mips/nm-irix5.h: Ditto.
3182 * config/sparc/nm-sol2.h: Ditto.
3183 * s390-nat.c: Ditto.
3184 * ppc-linux-nat.c: Ditto.
3185
2a3cdf79
WZ
31862006-02-08 Wu Zhou <woodzltc@cn.ibm.com>
3187
3188 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Delete.
3189 * config/i386/nm-i386sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
3190 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
3191 * config/mips/nm-irix5.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
3192 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
3193 * config/sparc/nm-sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
3194 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
3195 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): New.
3196 (inf_ttrace_region_size_ok_for_hw_watchpoint): Delete.
3197 (inf_ttrace_target): Delete to_region_size_ok_for_hw_watchpoint and
3198 add to_region_ok_for_hw_watchpoint.
3199 * s390-nat.c (s390_region_size_ok_for_hw_watchpoint): Delete.
3200 (s390_region_ok_for_hw_watchpoint): New.
3201 (_initialize_s390_nat): Delete to_region_size_ok_for_hw_watchpoint
3202 and add to_region_ok_for_hw_watchpoint.
3203 * target.c (default_region_size_ok_for_hw_watchpoint,
3204 debug_to_region_size_ok_for_hw_watchpoint): Delete prototype.
3205 (update_current_target): Delete to_region_size_ok_for_hw_watchpoint
3206 inheritance and default_region_size_ok_for_hw_watchpoint.
3207 (default_region_ok_for_hw_watchpoint): If len is less than or equal
3208 the length of void pointer, return ok.
3209 (default_region_size_ok_for_hw_watchpoint): Delete.
3210 (debug_to_region_size_ok_for_hw_watchpoint): Delete.
3211 (setup_target_debug): Delete to_region_size_ok_for_hw_watchpoint.
3212 * target.h (struct target_ops): Delete
3213 to_region_size_ok_for_hw_watchpoint.
3214 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
3215
e0d24f8d
WZ
32162006-02-08 Ben Elliston <bje@au1.ibm.com>
3217 Wu Zhou <woodzltc@cn.ibm.com>
3218
3219 * ppc-linux-nat.c (PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG,
3220 PTRACE_GETSIGINFO): Define.
3221 (last_stopped_data_address): New.
3222 (ppc_linux_check_watch_resources): New function.
3223 (ppc_linux_region_ok_for_hw_watchpoint): New function.
3224 (ppc_linux_insert_watchpoint): New function.
3225 (ppc_linux_remove_watchpoint): New function.
3226 (ppc_linux_stopped_data_address): New function.
3227 (ppc_linux_stopped_by_watchpoint): New function.
3228 (_initialize_ppc_linux_nat): Set the above hardware watchpoint
3229 related target vectors.
3230 * rs6000-tdep.c (rs6000_gdbarch_init): Set PPC architectures
3231 to have nonsteppable watchpoint.
3232 * target.c (default_region_ok_for_hw_watchpoint,
3233 debug_to_region_ok_for_hw_watchpoint): New prototypes.
3234 (update_current_target): Inherit to_region_ok_for_hw_watchpoint
3235 and set default to_region_ok_for_hw_watchpoint.
3236 (default_region_ok_for_hw_watchpoint): New function.
3237 (debug_to_region_ok_for_hw_watchpoint): New function.
3238 (setup_target_debug): Set to_region_ok_for_hw_watchpoint of
3239 debug_target.
3240 * target.h (struct target_ops): Add a new target vector
3241 to_region_ok_for_hw_watchpoint.
3242 (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Define this if it is not
3243 defined anyplace else.
927890d0 3244
e0d24f8d 32452005-02-07 Joel Brobecker <brobecker@adacore.com>
927890d0
JB
3246 * symfile.c (add_symbol_file_command): Abort if the user forgot
3247 to provide the address when the file has been loaded.
3248
f4d408c6
DJ
32492006-02-07 Daniel Jacobowitz <dan@codesourcery.com>
3250
3251 * MAINTAINERS: Update file based on maintainers survey. Add
3252 a note to Past Maintainers. Move unresponsive or inactive
3253 maintainers to Authorized Committers or Past Maintainers as
3254 appropriate. Correct Jim Kingdon's email address. Remove
3255 vacant areas of responsibility.
3256
38fcd64c
DJ
32572006-02-06 Vladimir Prus <ghost@cs.msu.su>
3258
3259 * breakpoint.c (print_one_breakpoint): For MI-like UI, output
3260 fullname field.
3261
7b871fab
DJ
32622006-02-03 Daniel Jacobowitz <dan@codesourcery.com>
3263
3264 * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR.
3265 * exceptions.c (exception_none, exceptions_state_mc_init)
3266 (throw_vfatal): Use GDB_NO_ERROR.
3267
e4cd0d6a
MK
32682006-02-02 Mark Kettenis <kettenis@gnu.org>
3269
3270 * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and
3271 r_map_size members. Add r_version_offset, r_version_size and
3272 r_ldsomap_offset members.
3273 * solib-svr4.c (solib_svr4_r_map): Renamed from
3274 fetch_link_map_member. Simplify using read_memory_typed_address.
3275 (solib_svr4_r_ldsomap): New function.
3276 (open_symbol_file_object): Use solib_svr_r_map.
3277 (svr4_current_sos): Use solib_svr4_r_map and look for the dynamic
3278 linker by using solib_svr4_r_ldsomap.
3279 (svr4_ilp32_fetch_link_map_offsets)
3280 (svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct
3281 link_map_offsets'.
3282 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for
3283 changes to `struct link_map_offsets'.
3284 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets)
3285 (mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to
3286 `struct link_map_offsets'.
3287
e26af52f
DJ
32882006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3289
3290 * linux-nat.c (struct saved_ptids, threads_to_delete)
3291 (record_dead_thread, prune_lwps, find_thread_from_lwp)
3292 (exit_lwp): New.
3293 (linux_nat_resume): Call prune_lwps.
3294 (wait_lwp, linux_nat_wait): Call exit_lwp.
3295
46e9880c
DJ
32962006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3297
3298 * printcmd.c (printf_command): Make format string checking
3299 stricter. Add separate cases for long_arg, ptr_arg, and
3300 long_double_arg.
3301 * utils.c (xstrvprintf): Improve the error message issued
3302 for a bad format string.
3303 * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE):
3304 New variables.
3305 (gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove
3306 $(NO_WERROR_CFLAGS).
3307 (printcmd.o): Likewise. Use $(GDB_WARN_CFLAGS_NO_FORMAT) and
3308 enable -Werror.
3309
37a105a1
DJ
33102006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3311
3312 * Makefile.in (remote.o): Update.
3313 * remote.c (show_packet_config_cmd): Shorten messages.
3314 (remote_set_cmdlist, remote_show_cmdlist): Make file-static.
3315 (show_remote_cmd): Iterate.
3316 (_initialize_remote): Remove remote_set_cmdlist,
3317 remote_show_cmdlist.
3318
ae5a43e0
DJ
33192006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3320
3321 * Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
3322 * defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
3323 prototypes.
3324 * dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
3325 (hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
3326 * utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
3327 ...here.
3328 * gdbtypes.c: Include "hashtab.h".
3329 (build_gdbtypes): Remove extra prototype.
3330 (struct type_pair, type_pair_hash, type_pair_eq)
3331 (create_copied_types_hash, copy_type_recursive): New.
3332 * gdbtypes.h: Include "hashtab.h".
3333 (TYPE_ZALLOC): New.
3334 (create_copied_types_hash, copy_type_recursive): New prototypes.
3335 * objfiles.c (free_objfile): Call preserve_values.
3336 * symfile.c (reread_symbols): Likewise.
3337 (clear_symtab_users): Remove calls to clear_value_history and
3338 clear_internalvars.
3339 * value.c (clear_value_history, clear_internalvars): Removed.
3340 (preserve_one_value, preserve_values): New functions.
3341 * value.h (clear_value_history, clear_internalvars): Removed.
3342 (preserve_values): New prototype.
3343
3344 * tracepoint.c (_initialize_tracepoint): Do not initialize convenience
3345 variables here.
3346
b929c77f
MK
33472006-01-29 Mark Kettenis <kettenis@gnu.org>
3348
3349 * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
3350 Fixes PR tdep/2075.
3351
1581f359
JB
33522006-01-27 Joel Brobecker <brobecker@adacore.com>
3353
3354 * MAINTAINERS: Use a consistent email address for brobecker.
3355
37706b70
JB
33562006-01-27 Joel Brobecker <brobecker@adacore.com>
3357
3358 * infcmd.c (post_create_inferior): Fix copy/paste error introduced
3359 in the previous change.
3360
9353355f
DJ
33612006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
3362
3363 PR gdb/1914
3364 * fork-child.c (fork_inferior): Don't call
3365 solib_create_inferior_hook.
3366 * infcmd.c (post_create_inferior): Call solib_add,
3367 solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs.
3368 (attach_command): Don't call solib_add or
3369 re_enable_breakpoints_in_shlibs. Call post_create_inferior
3370 instead.
3371 * remote.c (remote_open_1): Don't call solib_create_inferior_hook
3372 or observer_notify_inferior_created. Call post_create_inferior
3373 instead.
3374 * corelow.c: Don't include "observer.h".
3375 (solib_add_stub): Deleted.
3376 (core_open): Don't call observer_notify_inferior_created or
3377 solib_add_stub. Call post_create_inferior instead.
3378 * inf-ptrace.c: Don't include "observer.h".
3379 (inf_ptrace_attach): Don't call observer_notify_inferior_created.
3380 * inf-ttrace.c: Don't include "observer.h".
3381 (inf_ttrace_attach): Don't call observer_notify_inferior_created.
3382 * inferior.h (solib_create_inferior_hook): Remove redundant
3383 prototype.
3384 * inftarg.c: Don't include "observer.h".
3385 (child_attach): Don't call observer_notify_inferior_created.
3386 * Makefile.in: Update dependencies.
3387
281b533b
DJ
33882006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
3389
3390 * infcmd.c: Include "observer.h".
3391 (post_create_inferior): New function.
3392 (run_command_1): Call it. Also call proceed.
3393 * inferior.h (post_create_inferior): New prototype.
3394 * Makefile.in (infcmd.o): Update.
3395
3396 * gnu-nat.c (gnu_create_inferior): Don't call proceed.
3397 * go32-nat.c (go32_create_inferior): Likewise.
3398 * nto-procfs.c (procfs_create_inferior): Likewise.
3399 * procfs.c (procfs_create_inferior): Likewise.
3400 * remote-sim.c (gdbsim_create_inferior): Likewise.
3401 * remote.c (extended_remote_create_inferior)
3402 (extended_remote_async_create_inferior): Likewise.
3403 * win32-nat.c (win32_create_inferior): Likewise.
3404 * wince.c (child_create_inferior): Likewise.
3405
3406 * monitor.c (monitor_create_inferior): Don't call proceed.
3407 Set the PC manually.
3408 * ocd.c (ocd_create_inferior): Likewise.
3409 * remote-e7000.c (e7000_create_inferior): Likewise.
3410 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
3411 * remote-mips.c (mips_create_inferior): Likewise.
3412 * remote-rdp.c (remote_rdp_create_inferior): Likewise.
3413 * remote-sds.c (sds_create_inferior): Likewise.
3414 * remote-st.c (st2000_create_inferior): Likewise.
3415
3416 * inf-ptrace.c (inf_ptrace_create_inferior): Don't call
3417 proceed or observer_notify_inferior_created.
3418 * inf-ttrace.c (inf_ttrace_create_inferior): Likewise.
3419 * inftarg.c (child_create_inferior): Likewise.
3420
e23fc6de
DJ
34212006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
3422
3423 * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
3424 after mourning the inferior.
3425
13d6656b
JB
34262006-01-24 Jim Blandy <jimb@redhat.com>
3427
3428 * valarith.c (binop_user_defined_p): Handle refs to typedefs.
3429
59f92a09
FF
34302006-01-24 Fred Fish <fnf@specifix.com>
3431
3432 * parse.c (source.h): Include.
3433 (parse_exp_in_context): Use static source context if no
3434 other context found.
3435
dda63807
AS
34362006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
3437
3438 * sh-tdep.c: Include reggroups.h.
3439 (sh_register_reggroup_p): New function.
3440 (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p.
3441 * Makefile.in (sh-tdep.o): Add dependency on reggroups.h.
3442
4b505b12
AS
34432006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
3444
3445 * cli/cli-cmds.c: Include fcntl.h.
3446 (source_command): Use the GDB search path to find script files.
3447
721d14ba
DJ
34482006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
3449
3450 PR tdep/2029
3451 Suggested by Till Straumann <strauman@slac.stanford.edu>:
3452 * rs6000-tdep.c (skip_prologue): Update check for later mtlr
3453 instructions. Handle PIC bcl.
3454
3d64d617
DJ
34552006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
3456
3457 * config/djgpp/README: Typo fix.
3458 * config/djgpp/fnchange.lst: Update.
3459
0a8f48b9
MK
34602006-01-22 Mark Kettenis <kettenis@gnu.org>
3461
c893be75
MK
3462 * sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
3463 (sparc_address_from_register): New prototype.
3464 (sparcnbsd_step_trap): New prototype.
3465 * sparc-tdep.c (sparc_address_from_register): Make globally
3466 visible.
3467 (sparc_analyze_control_transfer): Change prototype to accept
3468 `struct gdbarch *' as first argument. Allow for optional hnadling
3469 for trap instructions.
3470 (sparc_step_trap): New function.
3471 (sparc_software_single_step): Adjust call to
3472 sparc_analyze_control_trabsfer.
3473 (sparc32_gdbarch_init): Initialize TDEP->step_trap.
3474 * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function.
3475 (sparc32nbsd_init_abi): Set TDEP->step_trap.
3476 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap.
3477 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap.
3478
0a8f48b9
MK
3479 * sparc-tdep.c (sparc32_return_value): Convert to use
3480 RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of
3481 RETURN_VALUE_STRUCT_CONVENTION.
3482 (sparc32_extract_struct_value_address): Remove.
3483
1f3a99d5
DJ
34842006-01-21 Daniel Jacobowitz <dan@codesourcery.com>
3485
3486 * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
3487 (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.
3488
84eb3c4f
DJ
34892006-01-21 Daniel Jacobowitz <dan@codesourcery.com>
3490
3491 * solib.c (info_sharedlibrary_command): Avoid internal_error.
3492
878d9193
MK
34932006-01-21 Mark Kettenis <kettenis@gnu.org>
3494
3495 * i386-tdep.c (i386_mxcsr_type): New variable.
3496 (i386_init_types): Initialize i386_mxcsr_type.
3497 (i386_register_type): Return i386_mxcsr_type for %mxcsr.
3498 * i386-tdep.c (i386_mxcsr_type): New extern.
3499 * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for
3500 %mxcsr.
3501
acab6ab2
MM
35022006-01-20 Mark Mitchell <mark@codesourcery.com>
3503
3504 * Makefile.in (remote-rdi.o): Remove.
3505 (rdi-share/libangsd.a): Likewise.
3506 * README: Don't mention remote-rdi.c.
3507 * NEWS: Mention removal of rdi-share.
3508 * configure.ac: Don't configure rdi-share subdirectory.
3509 * remote-rdi.c: Remove.
3510 * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o.
3511 (TDEPLIBS): Remove rdi-share/libangsd.a.
3512 * rdi-share/Makefile.am: Remove.
3513 * rdi-share/Makefile.in: Likewise.
3514 * rdi-share/README.CYGNUS: Likewise.
3515 * rdi-share/aclocal.m4: Likewise.
3516 * rdi-share/adp.h: Likewise.
3517 * rdi-share/adperr.h: Likewise.
3518 * rdi-share/angel.h: Likewise.
3519 * rdi-share/angel_bytesex.c: Likewise.
3520 * rdi-share/angel_bytesex.h: Likewise.
3521 * rdi-share/angel_endian.h: Likewise.
3522 * rdi-share/ardi.c: Likewise.
3523 * rdi-share/ardi.h: Likewise.
3524 * rdi-share/armdbg.h: Likewise.
3525 * rdi-share/buffers.h: Likewise.
3526 * rdi-share/chandefs.h: Likewise.
3527 * rdi-share/channels.h: Likewise.
3528 * rdi-share/chanpriv.h: Likewise.
3529 * rdi-share/configure: Likewise.
3530 * rdi-share/configure.in: Likewise.
3531 * rdi-share/crc.c: Likewise.
3532 * rdi-share/crc.h: Likewise.
3533 * rdi-share/dbg_conf.h: Likewise.
3534 * rdi-share/dbg_cp.h: Likewise.
3535 * rdi-share/dbg_hif.h: Likewise.
3536 * rdi-share/dbg_rdi.h: Likewise.
3537 * rdi-share/devclnt.h: Likewise.
3538 * rdi-share/devices.h: Likewise.
3539 * rdi-share/devsw.c: Likewise.
3540 * rdi-share/devsw.h: Likewise.
3541 * rdi-share/drivers.c: Likewise.
3542 * rdi-share/drivers.h: Likewise.
3543 * rdi-share/etherdrv.c: Likewise.
3544 * rdi-share/ethernet.h: Likewise.
3545 * rdi-share/host.h: Likewise.
3546 * rdi-share/hostchan.c: Likewise.
3547 * rdi-share/hostchan.h: Likewise.
3548 * rdi-share/hsys.c: Likewise.
3549 * rdi-share/hsys.h: Likewise.
3550 * rdi-share/logging.c: Likewise.
3551 * rdi-share/logging.h: Likewise.
3552 * rdi-share/msgbuild.c: Likewise.
3553 * rdi-share/msgbuild.h: Likewise.
3554 * rdi-share/params.c: Likewise.
3555 * rdi-share/params.h: Likewise.
3556 * rdi-share/rx.c: Likewise.
3557 * rdi-share/rxtx.h: Likewise.
3558 * rdi-share/serdrv.c: Likewise.
3559 * rdi-share/serpardr.c: Likewise.
3560 * rdi-share/sys.h: Likewise.
3561 * rdi-share/tx.c: Likewise.
3562 * rdi-share/unixcomm.c: Likewise.
3563 * rdi-share/unixcomm.h: Likewise.
3564
4577207e
MK
35652006-01-21 Mark Kettenis <kettenis@gnu.org>
3566
3567 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
3568 Change type of last argument to `gdb_byte *'.
3569
34f55018
MK
35702006-01-20 Mark Kettenis <kettenis@gnu.org>
3571
3572 * hppa-tdep.h (hppa_in_solib_call_trampoline)
3573 (hppa_skip_trampoline_code): New prototypes.
3574 * hppa-tdep.c (struct insn_pattern): New.
3575 (hppa_long_branch_stub, hppa_long_branch_pic_stub)
3576 (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved
3577 here from hppa-linux-tdep.c
3578 (HPPA_MAX_INSN_PATTERN_LEN): New define.
3579 (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall)
3580 (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New
3581 functions based on functions removed from hppa-linux-tdep.c.
3582 * hppa-linux-tdep.c (hppa_long_branch_stub)
3583 (hppa_long_branch_pic_stub, hppa_import_stub)
3584 (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c.
3585 (insns_match_pattern_relaxed, hppa_linux_in_dyncall)
3586 (hppa_linux_in_solib_call_trampoline)
3587 (hppa_linux_skip_trampoline_code): Removed.
3588 (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to
3589 hppa_in_solib_call_trampoline and skip_trampoline_code to
3590 hppa_skip_trampoline_code.
3591 * hppabsd-tdep.c (hppabsd_init_abi): Set
3592 TDEP->in_solib_call_trampoline and skip_trampoline_code.
3593
7be93b9e
JB
35942006-01-20 Jim Blandy <jimb@redhat.com>
3595
f408839d
JB
3596 * MAINTAINERS: Change my E-mail address.
3597
7be93b9e
JB
3598 * configure.ac: Add -Wno-pointer-sign to list of build warnings.
3599 * configure: Regenerated.
3600
b2a74f99
DJ
36012006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
3602
3603 * MAINTAINERS: Overhaul.
3604
4f2aea11
MK
36052006-01-18 Mark Kettenis <kettenis@gnu.org>
3606
5ae96ec1
MK
3607 Based on a previous patch form Michal Ludvig:
3608 * amd64-tdep.c (amd64_sse_type): Remove.
3609 (amd64_register_info): Use i386_eflags_type and i386_sse_type
3610 where appropriate.
3611 (AMD64_NUM_REGS): Use ARRAY_SIZE.
3612 (amd64_register_type): Remove code to build amd_sse_type.
3613 * i386-tdep.c (i386_eflag_type): New variable.
3614 (i386_mmx_type, i386_sse_type): Make global.
3615 (i386_init_types): New function.
3616 (i386_build_mmx_type, i386_build_sse_type): Remove functions.
3617 (i386_register_type): Return i386_eflag_type, i386_sse_type and
3618 i386_mmx_type when appropriate.
3619 (_initialize_i386_tdep): Call i386_init_types.
3620 * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type):
3621 Declare extern.
3622
4f2aea11
MK
3623 Based on a previous patch form Michal Ludvig:
3624 * gdbtypes.c (append_flags_type_flag, init_flags_type): New
3625 functions.
3626 (is_integral_type, rank_one_type, recursive_dump_type): Add
3627 support for TYPE_CODE_FLAGS.
3628 * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS.
3629 (append_flags_type_field, init_flags_type): New prototypes.
3630 * ada-valprint.c (ada_val_print_1): Add support for
3631 TYPE_CODE_FLAGS.
3632 * c-valprint.c (c_val_print): Likewise.
3633 * f-valprint.c (f_val_print): Likewise.
3634 * p-valprint.c (pascal_val_print): Likewise.
3635 * valprint.c (val_print_type_code_flags): New function.
3636 * valprint.h (val_print_type_code_flags): New prototype.
3637 * value.c (unpack_long, value_from_longest): Add support for
3638 TYPE_CODE_FLAGS.
3639
4cdb5adf
CF
36402006-01-17 Christopher Faylor <cgf@timesys.com>
3641
3642 * MAINTAINERS: Very belatedly remove myself from from the list of
3643 people caught up in the paper trail.
3644
1193688d
JB
36452006-01-17 Jim Blandy <jimb@redhat.com>
3646
4e38b386
JB
3647 * symtab.h (struct general_symbol_info): Use gdb_byte for
3648 value.bytes.
3649 * stabsread.c (define_symbol): Use gdb_byte for the buffer holding
3650 a floating-point constant's value.
3651 * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer
3652 to char *.
3653 * findvar.c (read_var_value): Eliminate needless temporary.
3654
1193688d
JB
3655 * dwarf2-frame.c (dwarf2_read_section): Update forward declaration
3656 to match prior change to dwarf2_read_section's type.
3657
0d1243d9
PG
36582006-01-16 Paul Gilliam <pgilliam@us.ibm.com>
3659
3660 * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define.
3661 * rs6000-tdep.c (insn_changes_sp_or_jumps)
3662 (rs6000_in_function_epilogue_p): New functions.
3663 (rs6000_gdbarch_init): Set in_function_epilogue_p.
3664
fe1b8b76
JB
36652006-01-17 Jim Blandy <jimb@redhat.com>
3666
3667 * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head)
3668 (struct line_header, struct partial_die_info, struct dwarf_block):
3669 Use gdb_byte for members that refer to Dwarf section contents.
3670 (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines,
3671 dwarf_decode_macros, load_comp_unit, load_partial_dies,
3672 locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev,
3673 read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes,
3674 read_8_bytes, read_address, read_attribute, read_attribute_value,
3675 read_comp_unit, read_comp_unit_head, read_die_and_children,
3676 read_die_and_siblings, read_full_die, read_indirect_string,
3677 read_initial_length, read_n_bytes, read_offset, read_partial_die,
3678 read_signed_leb128, read_string, read_unsigned_leb128,
3679 skip_children, skip_leb128, skip_one_die): Same.
3680
a0841d7a
DJ
36812006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
3682
3683 * complaints.c (stop_whining): Make signed.
3684 * linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
3685
939b2b42
DJ
36862006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
3687
3688 * dwarf2read.c, remote-fileio.c, remote.h: Update copyright
3689 notices.
3690
891d2f0b
DJ
36912006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
3692
3693 * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length)
3694 (read_offset): Change BYTES_READ argument to unsigned int.
3695 (dwarf2_build_psymtabs_easy, read_comp_unit_head)
3696 (create_all_comp_units, dwarf2_get_pc_bounds)
3697 (dwarf_decode_line_header, var_decode_location)
3698 (dwarf_decode_macros): Change local BYTES_READ variables to
3699 unsigned int.
3700 (read_indirect_string): Remove obsolete cast.
3701
cfd77fa1
DJ
37022006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
3703
3704 * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
3705 argument.
3706 (remote_fileio_func_open, remote_fileio_func_rename)
3707 (remote_fileio_func_unlink, remote_fileio_func_stat)
3708 (remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
3709 (remote_fileio_func_system): Cast the arguments to
3710 remote_read_bytes and remote_write_bytes.
3711 (remote_fileio_func_read, remote_fileio_func_write): Use a
3712 gdb_byte buffer.
3713 * remote.h (remote_read_bytes, remote_write_bytes): Update
3714 prototypes.
3715 * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument.
3716 (threadref_to_int): Replace bogus char * cast.
3717 (remote_unpack_thread_info_response): Use int for tag.
3718 (remote_threads_extra_info, remote_check_symbols): Cast string
3719 arguments to hex2bin.
3720 (remote_wait): Use a char buffer for packets and a gdb_byte
3721 buffer for registers.
3722 (remote_async_wait): Likewise.
3723 (remote_prepare_to_store, store_register_using_P)
3724 (remote_store_registers): Use gdb_byte buffers.
3725 (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer
3726 for MYADDR and char buffers for strings.
3727 (remote_xfer_partial): Add casts for string operations on READBUF.
3728 (remote_rcmd): Cast strings passed to bin2hex.
3729
60bf0650
MM
37302006-01-16 Mark Mitchell <mark@codesourcery.com>
3731
3732 * aclocal.m4: Regenerate.
3733
60e81fcc
NS
37342006-01-16 Nathan Sidwell <nathan@codesourcery.com>
3735
3736 * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY,
3737 MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2,
3738 MT_COPRO_PSEUDOREG_REGS members. Adjust MT_NUM_PSEUDO_REGS.
3739 (mt_register_name): Lazily synthesize name for coprocessor pseudo
3740 array registers.
3741 (mt_copro_register_type): New. Broken out of ...
3742 (mt_register_type): ... here. Use it. Deal with coprocessor
3743 pseudo array.
3744 (mt_select_coprocessor): New.
3745 (mt_pseudo_register_read, mt_pseudo_register_write): Deal with
3746 coprocessor pseudo array.
3747
f365de73
AS
37482006-01-16 Andrew Stubbs <andrew.stubbs@st.com>
3749
3750 * breakpoint.c (insert_breakpoints): Check that a thread exists
3751 before inserting thread specific breakpoints.
3752
9d519230
MK
37532006-01-15 Mark Kettenis <kettenis@gnu.org>
3754
6062517a
MK
3755 * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
3756 commit.
3757
9d519230
MK
3758 * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.
3759 * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove.
3760 * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove.
3761 * config/alpha/nm-nbsd.h: Remove file.
3762 * config/alpha/nm-fbsd.h: Remove file
3763 * config/alpha/nbsd.mh (NAT_FILE): Remove.
3764 * config/alpha/fbsd.mh (NAT_FILE): Remove.
3765
0a029df5
DJ
37662006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
3767
3768 * macroexp.c (expand): Initialize argc.
3769 * stabsread.c (read_type): Handle errors from read_args.
3770 (read_args): Return NULL for errors.
3771
1731e543
MK
37722006-01-15 Mark Kettenis <kettenis@gnu.org>
3773
3774 * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of
3775 strcmp to compare string to a byte buffer.
3776
777ea8f1
DJ
37772006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
3778
3779 * printcmd.c (output_command): Always initialize fmt.size.
3780 (printf_command): Use gdb_byte.
3781 * symfile.c (separate_debug_file_exists): Use gdb_byte.
3782 (load_section_callback, read_target_long_array): Likewise.
3783 (simple_read_overlay_table, simple_read_overlay_region_table)
3784 (simple_overlay_update_1): Correct calls to read_target_long_array.
3785 * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *.
3786 Also change local pointers.
3787 (val_print_string): Use gdb_byte.
3788
4b17b389
MK
37892006-01-15 Mark Kettenis <kettenis@gnu.org>
3790
3791 * alphafbsd-tdep.c: Include "solib-svr4.h".
3792 (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to
3793 svr4_lp64_fetch_link_map_offsets.
3794 * Makefile.in (alphafbsd-tdep.o): Update dependencies.
3795 * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and
3796 solib-svr4.o.
3797 * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
3798 and solib-legacy.o.
3799 * config/alpha/nm-fbsd.h: Don't include "solib.h".
3800
bd4109fb
DJ
38012006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
3802
3803 * source.c (_initialize_source): Use add_setshow_integer_cmd.
3804
1dce6535
DJ
38052006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
3806
3807 * linux-fork.c (delete_fork_command, detach_fork_command): Use
3808 PIDGET.
3809
76a9d10f
MK
38102006-01-15 Mark Kettenis <kettenis@gnu.org>
3811
3812 * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets):
3813 Remove.
3814 (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
3815 svr4_ilp32_fetch_link_map_offsets.
3816 * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove
3817 function.
3818 (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
3819 svr4_ilp32_fetch_link_map_offsets.
3820 * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets)
3821 (mips64_linux_svr4_fetch_link_map_offsets): Remove functions.
3822 (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
3823 svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
3824 where appropriate.
3825 * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets):
3826 Simply call svr4_ilp32_fetch_link_map_offsets.
3827 (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call
3828 svr4_lp64_fetch_link_map_offsets.
3829 * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove
3830 function.
3831 (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
3832 svr4_ilp32_fetch_link_map_offsets.
3833 * s390-tdep.c (s390_svr4_fetch_link_map_offsets)
3834 (s390x_svr4_fetch_link_map_offsets): Remove functions.
3835 (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
3836 svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
3837 where appropriate.
3838
469db033
MK
38392006-01-15 Mark Kettenis <kettenis@gnu.org>
3840
25224166
MK
3841 * arm-tdep.c (arm_return_value): Change type of readbuf and
3842 writebuf arguments to `gdb_byte *'.
3843
469db033
MK
3844 * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".
3845 * Makefile.in (s390-tdep.o): Update dependencies.
3846
4dd7c9f6
MK
38472006-01-14 Mark Kettenis <kettenis@gnu.org>
3848
081bf9da
MK
3849 * sol2-tdep.h. sol2-tdep.c: New files.
3850 * amd64-sol2-tdep.c: Include "sol2-tdep.h".
3851 (amd64_sol2_init_abi): Set skip_solib_resolver.
3852 * i386-sol2-tdep.c: Include "sol2-tdep.h".
3853 (i386_sol2_init_abi): Set skip_solib_resolver.
3854 * sparc-sol2-tdep.c: Include "sol2-tdep.h".
3855 (sparc32_sol2_init_abi): Set skip_solib_resolver.
3856 * sparc64-sol2-tdep.c: Include "sol2-tdep.h".
3857 (sparc64_sol2_init_abi): Set skip_solib_resolver.
3858 * Makefile.in (sol2_tdep_h): New variable.
3859 (ALLDEPFILES): Add sol2-tdep.c.
3860 (sol2-tdep.o): New target.
3861 (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o)
3862 (sparc64-sol2-tdep.o): Update dependencies
3863 * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o.
3864 * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
3865 * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o.
3866 * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
3867
c0f96416
MK
3868 * hppa-linux-tdep.c: Fix copyright indentation.
3869
4dd7c9f6
MK
3870 * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM.
3871 * hppabsd-nat.c (hppabsd_fpregset_supplies_p)
3872 (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New
3873 functions.
3874 (hppabsd_fetch_registers, hppabsd_store_registers): Handle
3875 floating-point registers.
3876
6da86618
MM
38772006-01-13 Mark Mitchell <mark@codesourcery.com>
3878
3879 * event-loop.c (gdb_select): Detect file descriptors that have
3880 been closed.
3881
ed944ce7
MK
38822006-01-13 Mark Kettenis <kettenis@gnu.org>
3883
3884 * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64,
3885 and long_double_format accordingly.
3886
03ee6b2e
PH
38872006-01-12 Paul N. Hilfinger <hilfinger@adacore.com>
3888
3889 * ada-exp.y (yyerror): Change message to ignore the argument, avoiding
3890 translation problems.
3891 * ada-lang.c (ada_value_struct_elt): Change interface and handling
3892 of errors to avoid translation problem (and less than optimal error
3893 messages).
3894 (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp):
3895 Use new interface to ada_value_struct_elt.
3896 * ada_lang.h (ada_value_struct_elt): Update declaration to new
3897 interface.
3898
3899 * ChangeLog: remove reference to ada-tasks.c from entry of
3900 2006-01-07.
3901
24b06219
MK
39022006-01-11 Mark Kettenis <kettenis@gnu.org>
3903
3904 * remote.c (get_memory_packet_size, set_thread)
3905 (remote_unpack_thread_info_response, remote_get_threadinfo)
3906 (parse_threadlist_response, remote_get_threadlist)
3907 (remote_current_thread, remote_threads_info)
3908 (remote_threads_extra_info, extended_remote_restart, get_offsets)
3909 (remote_check_symbols, remote_open_1, remote_detach)
3910 (remote_async_wait, remote_fetch_registers)
3911 (remote_store_registers, check_binary_download, putpkt_binary)
3912 (remote_insert_breakpoint, remote_insert_watchpoint)
3913 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
3914 (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd)
3915 (packet_command): Remove redundant parenthesis.
3916
15550d6b
MK
39172006-01-10 Mark Kettenis <kettenis@gnu.org>
3918
dfb65433
MK
3919 * corefile.c (read_memory_integer, read_memory_unsigned_integer)
3920 (read_memory_typed_address, write_memory)
3921 (write_memory_unsigned_integer, write_memory_signed_integer): Use
3922 gdb_byte where appropriate.
3923
508416a1
MK
3924 * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into
3925 'gdb_byte *'.
3926
f6519ebc
MK
3927 * target.h (target_read_memory_partial, target_write_memory_partial):
3928 Change second argument to 'gdb_byte *'.
3929 * target.c (target_xfer_memory_partial): Change third argument to
3930 'gdb_byte *'.
3931 (target_read_memory_partial, target_write_memory_partial): Change
3932 second argument to 'gdb_byte *'.
3933
15550d6b
MK
3934 * linespec.c (decode_objc): Make i1 and i2 unsigned.
3935 (find_method): Set values.sals to NULL.
3936
d7a30af7
MK
39372006-01-09 Mark Kettenis <kettenis@gnu.org>
3938
3939 * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
3940 of 'char *' in cast.
3941
e1d5a0d2
PH
39422006-01-07 Paul N. Hilfinger <hilfinger@adacore.com>
3943
3944 * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup.
03ee6b2e 3945 * ada-lang.c: I18n markup.
e1d5a0d2
PH
3946 Editorial: change "can not" => "cannot" throughout.
3947
790124be
MK
39482006-01-07 Mark Kettenis <kettenis@gnu.org>
3949
3950 * Makefile.in: Sort dependencies.
3951
3c481fdc
EZ
39522006-01-07 Eli Zaretskii <eliz@gnu.org>
3953
3954 * top.c (control_level): Remove unused variable.
3955
cb5d864f
FF
39562006-01-06 Fred Fish <fnf@specifix.com>
3957
3958 * objfiles.c (source.h): Include.
3959 (free_objfile): Update comment about clear_symtab_users().
3960 (free_objfile): Check all symtabs of objfile being freed and if
3961 one of them is the current source symtab, call
3962 clear_current_source_symtab_and_line().
3963
ac264b3b
MS
39642006-01-04 Michael Snyder <msnyder@redhat.com>
3965
3966 Checkpoint/Restart for Linux.
3967 * linux-nat.c: Add support for debugging multiple forks.
3968 Add #include for linux-fork.h (interface spec).
3969 (super_mourn_inferior): New function pointer.
3970 (child_mourn_inferior): New function / target method.
3971 (linux_target): Claim to_mourn_inferior method pointer.
3972 (child_follow_fork): Call interface to linux-fork, conditionally
3973 add new fork processes to list of debugged processes.
3974 (kill_inferior): Use interface to linux-fork to kill
3975 multiple processes.
3976
3977 * linux-fork.h: New file.
3978 * linux-fork.c: New file. Support for debugging multiple forks
3979 of the same program. Support for checkpoint and restart commands.
3980
3981 * infrun.c (nullify_last_target_wait_ptid): New function.
3982
3983 * Makefile.in: Add linux-fork.
3984 * config/*/linux.mh: Add linux-fork.
3985 * NEWS: Mention new functionality.
3986
f98ce7c2
PH
39872006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com>
3988
3989 * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc):
3990 Change uses of "illegal" to "invalid".
3991
52ce6436
PH
39922006-01-02 Paul N. Hilfinger <hilfinger@adacore.com>
3993
3994 * ada-exp.y: Considerable reorganization to move functionality
3995 from ada-lex.l to here, where it is logically more appropriate.
3996 The original reason, however, was to prevent premature name
3997 lookups for selector names in record aggregates.
3998 (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns
3999 NAME for all of these.
4000 (VAR): New artificial token to clarify precedence rules.
4001 (OTHERS): New lexeme.
4002 (empty_stoken): New symbol.
4003 (%union): Remove ssym, voidval.
4004 (%type): Remove <voidval> type declarations.
4005 (syntax definitions): Add aggregates.
4006 Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING.
4007 Rename some non-terminals to be closer to reference manual usage.
4008 Tighten up expression syntax to disallow certain non-Ada
4009 constructions such as X and then Y or else Z.
4010 (ada_parse): Remove initialization of left_block_context.
4011 (write_var_from_name): Remove.
4012 (write_var_or_type): New function, containing previous code from
4013 defunct write_var_from_name and name_lookup.
4014 (block_lookup): New function, moved from ada-lex.l
4015 (select_possible_type_sym): New function, factored out of
4016 name_lookup, which used to be in ada-lex.l.
4017 (find_primitive_type): Ditto.
4018 (chop_selector): Ditto.
4019 (write_ambiguous_var): New function, factored out of defunct
4020 write_var_from_name.
4021 (write_selectors): New function.
4022 (write_name_assoc): New function.
4023 (write_exp_op_with_string): New function.
4024
4025 * ada-lex.l (processId): Change interface to return stoken.
4026 (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove.
4027 (block_lookup, name_lookup): Remove. Functionality moved to
4028 ada-exp.y.
4029 (state IN_STRING): Remove.
4030 (rules): Handle string escapes in processString.
4031 Add 'others' token.
4032 Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in
4033 yylval.sval (as simple strings).
4034 All name look-ups now handled in ada-exp.y.
4035 Introduce "::" (COLONCOLON) token and return as separate token.
4036 (processId): Change return convention. Comment.
4037 Leave leading "'" in place.
4038 (processString): New function.
4039 (find_dot_all): Add note to comment.
4040 Fix problem that allowed match only at the end.
4041
4042 * ada-lang.c: Introduce aggregates.
4043 (find_struct_field): Add new parameter to count fields skipped, and
4044 allow other output parameters to be NULL.
4045 (value_tag_from_contents_and_address, ada_value_struct_elt): Use
4046 new find_struct_field.
4047 (ada_index_struct_field, assign_aggregate, ada_is_array_type)
4048 (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field)
4049 (num_component_specs, assign_component, assign_aggregate):
4050 (aggregate_assign_from_choices,aggregate_assign_positional)
4051 (aggregate_assign_others,add_component_interval):
4052 New functions.
4053 (ada_evaluate_subexp): Declare.
4054 Add aggregate-related operators.
4055 (ada_forward_operator_length): Declare.
4056 (resolve_subexp): Add cases for new aggregate operators and OP_NAME.
4057 Consolidate Ada operators, using ada_forward_operator_length.
4058 (ada_search_struct_field): Search in forward order.
4059 (ADA_OPERATORS): Add new aggregate operators.
4060 (ada_operator_length, ada_op_name, ada_forward_operator_length)
4061 (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate
4062 operators and OP_NAME.
4063 (ada_type_of_array): Use longest_to_int.
4064 (value_assign_to_component): New function.
4065 (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body):
4066 Add OP_NAME case.
4067 (ada_forward_operator_length, ada_dump_subexp_body):
4068 Add OP_STRING case.
4069
4070 * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS,
4071 OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL.
4072
529cad9c
PH
40732006-01-02 Paul N. Hilfinger <hilfinger@adacore.com>
4074
4075 * ada-lang.c (process_raise_exception_name): Remove extraneous
4076 definition from unsubmitted code.
4077
4078 (is_lower_alphanum): New function.
4079 (ada_decode): Add support for decoding protected object subprograms
4080 and entries, and of entities declared inside protected object
4081 subprograms.
4082 Also add missing handling for__{DIGITS}+ suffixes.
4083 Allow '$<digits>' as valid overloading suffix.
4084 (is_name_suffix): Add handling for protected type entriy suffixes.
4085 Also add support for protected type subprogram suffixes, but keep
4086 it commented out for now, as there is an ambiguity between these
4087 entities and other internally generated entities.
4088 Allow '$<digits>' as valid overloading suffix.
4089 (is_valid_name_for_wild_match): New function.
4090 (wild_match): Add an exra level of verification of the entity name
4091 before declaring it a match for the given pattern.
4092
4093 (ada_type_of_array, ada_evaluate_subexp): Use more proper
4094 longest_to_int rather than cast.
4095
4096 (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment.
4097
4098 (ada_coerce_to_simple_array): Call check_size to make sure
4099 that the object size is reasonable.
4100
4101 (ada_value_primitive_packed_val): Use correct location in target
4102 buffer for extracting packed record fields that are themselves records.
4103
4104 (add_defn_to_vec): Do not try to replace a stub type by its full
4105 type. Avoids a potential infinite loop.
4106
4107 (ada_lookup_symbol): Move return incorrectly placed return statement,
4108 causing a loop that should be scanning all object files to only
4109 scan the first one.
4110
4111 (ada_tag_name_2): New function.
4112 (ada_tag_name_1): If no 'tsd' field found in the dispatching table,
4113 use alternative representation.
4114
4115 (ada_find_renaming_symbol): Strip the function name suffix when
4116 computing the XR type name.
4117
4118 (ada_to_fixed_type): Try determining the tag only if we have the
4119 object's address.
4120 (to_fixed_array_type): Add comments.
4121
4122 (ada_check_typedef): Replace expression checking whether the given
4123 type is a stub or not by a "call" to TYPE_STUB. Clearer and more
4124 consistent.
4125
4126 * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow
4127 '$' in addition to '.' for runtime auxiliary function name suffixes.
4128 See changes to ada_decode above.
4129
4130 (struct task_control_block): Add field called_task. (This change is
4131 to keep synchronized with our local sources; it does not affect the
4132 public version yet.)
4133
4134 * ada-typeprint.c (ada_print_type): Use int_string for printing
4135 modulus of modular type.
4136
4137 (print_range): Trivial editorial comment fix.
4138
4139 * ada-valprint.c (ada_emit_char): Use normal Ada syntax for
4140 double quote in string.
4141
9b799fe6
JB
41422006-01-01 Joel Brobecker <brobecker@adacore.com>
4143
4144 * top.c: Add 2006 to list of copyright years in file header.
4145
0bee0712
JB
41462006-01-01 Joel Brobecker <brobecker@adacore.com>
4147
4148 * top.c (print_gdb_version): Update copyright year to 2006.
4149
13c763f4
JB
41502006-01-01 Roger Sayle <roger@eyesopen.com>
4151 Elena Zannoni <ezannoni@redhat.com>
4152
4153 PR symtab/1651
4154 * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab
4155 for NULL before assigning this_symtab_psymtab->objfile to objfile.
4156 (scan_xcoff_symtab): Initialize next_symbol_text_func.
4157 (Committed by Jim Blandy)
4158
e50f0da1 4159For older changes see ChangeLog-2005.
c906108c
SS
4160\f
4161Local Variables:
4162mode: change-log
4163left-margin: 8
4164fill-column: 74
4165version-control: never
4166End:
This page took 0.99298 seconds and 4 git commands to generate.