Commit | Line | Data |
---|---|---|
75e192e6 DM |
1 | 2006-04-04 David S. Miller <davem@davemloft.net> |
2 | ||
3 | * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o | |
4 | * config/linux64.h (NATDEPFILES): Likewise | |
5 | * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset, | |
6 | fill_fpregset): New. | |
7 | * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset, | |
8 | fill_fpregset): New. | |
9 | ||
dbcd679b AS |
10 | 2006-04-04 Andreas Schwab <schwab@suse.de> |
11 | ||
12 | * Makefile.in (elf_common_h): Define. | |
13 | ||
357d3800 AS |
14 | 2006-04-03 Andrew Stubbs <andrew.stubbs@st.com> |
15 | ||
16 | * sh-tdep.c (sh_dwarf2_frame_init_reg): New function. | |
17 | (sh_gdbarch_init): Call dwarf2_frame_set_init_reg(). | |
18 | ||
d3c139e9 AS |
19 | 2006-03-31 Andrew Stubbs <andrew.stubbs@st.com> |
20 | ||
21 | * value.h (struct internalvar): Add field 'endian'. | |
22 | * value.c (lookup_internalvar): Initialise endian. | |
23 | (value_of_internalvar): Flip the endian of built-in types if required. | |
24 | (set_internalvar): Set the endian. | |
25 | (show_convenience): Access the value through value_of_internalvar(). | |
26 | ||
bb858e6a DJ |
27 | 2006-03-30 Vladimir Prus <ghost@cs.msu.su> |
28 | ||
29 | * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum | |
30 | instead of hardcoded integer literals. | |
31 | ||
61d9b92f DJ |
32 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
33 | ||
34 | * cli/cli-script.c (insert_args): Handle NULL user_args. | |
35 | ||
f7060f85 DJ |
36 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
37 | ||
38 | * arm-tdep.c (thumb_scan_prologue): Don't try to analyze | |
39 | the function at zero if we have no symbols. | |
40 | ||
295bf0ff DJ |
41 | 2006-03-30 Adrien Kunysz <a_kunysz@yahoo.com> |
42 | ||
43 | * i386-stub.c (getpacket): Fix array overflow. | |
44 | * m32r-stub.c (getpacket): Likewise. | |
45 | * m68k-stub.c (getpacket): Likewise. | |
46 | * sh-stub.c (getpacket): Likewise. | |
47 | * sparc-stub.c (getpacket): Likewise. | |
48 | ||
7abfe014 DJ |
49 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
50 | ||
51 | * frame.h (set_current_sal_from_frame): New prototype. | |
52 | * stack.c (set_current_sal_from_frame): Make global. | |
53 | * infrun.c (normal_stop): Call set_current_sal_from_frame. | |
54 | ||
0ec9a092 DJ |
55 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
56 | ||
57 | * linux-thread-db.c: Include "linux-nat.h". | |
58 | (check_for_thread_db): New function, split out from | |
59 | thread_db_new_objfile. Remove dead check for active | |
60 | thread_db on inapplicable targets. | |
61 | (thread_db_new_objfile): Call check_for_thread_db. | |
62 | * Makefile.in (linux-thread-db.o): Update. | |
63 | * linux-nat.c (child_post_attach): Call check_for_thread_db. | |
64 | (linux_child_post_startup_inferior): Likewise. | |
65 | (lin_lwp_attach_lwp): Call target_post_attach instead of | |
66 | child_post_attach. | |
67 | * linux-nat.h (check_for_thread_db): New prototype. | |
68 | ||
6d820c5c DJ |
69 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
70 | ||
71 | * remote.c (struct remote_state): Add BUF and BUF_SIZE. | |
72 | (init_remote_state): Initialize the new fields. | |
73 | (get_memory_packet_size): Update BUF and BUF_SIZE if necessary. | |
74 | (set_thread, remote_thread_alive, remote_unpack_thread_info_response) | |
75 | (remote_get_threadinfo, parse_threadlist_response) | |
76 | (remote_get_threadlist, remote_current_thread, remote_threads_info) | |
77 | (remote_threads_extra_info, extended_remote_restart, get_offsets) | |
78 | (remote_check_symbols, remote_open_1, remote_detach) | |
79 | (remove_vcont_probe, remote_vcont_resume, remote_resume) | |
80 | (remote_wait, remote_async_wait, fetch_register_using_p) | |
81 | (remote_fetch_registers, store_register_using_P) | |
82 | (remote_store_registers, check_binary_download, remote_write_bytes) | |
83 | (remote_read_bytes, remote_insert_breakpoint) | |
84 | (remote_remove_breakpoint, remote_insert_watchpoint) | |
85 | (remote_remove_watchpoint, remote_insert_hw_breakpoint) | |
86 | (remote_remove_hw_breakpoint, compare_sections_command) | |
87 | (remote_xfer_partial, remote_rcmd, packet_command) | |
88 | (remote_get_thread_local_address): Use the global incoming buffer | |
89 | instead of alloca or xmalloc. Limit outgoing packets to | |
90 | rs->remote_packet_size and incoming packets to rs->buf_size. | |
91 | Update calls to getpkt and remote_send. | |
92 | (remote_send): Take arguments by reference. | |
93 | (putpkt_binary): Eliminate junkbuf. Use skip_frame. | |
94 | (skip_frame): New function. | |
95 | (read_frame): Take arguments by reference. Expand the packet | |
96 | buffer instead of issuing an error. | |
97 | (getpkt, getpkt_sane): Take arguments by reference. | |
98 | * remote.h (getpkt): Update prototype and doc. | |
99 | * tracepoint.c (remote_get_noisy_reply): Take arguments by | |
100 | reference. | |
101 | (target_buf): Change from array to pointer. | |
102 | (target_buf_size): New variable. | |
103 | (remote_set_transparent_ranges): Update call to getpkt. | |
104 | (trace_start_command, trace_stop_command, trace_status_command): | |
105 | Update calls to remote_get_noisy_reply. | |
106 | (finish_tfind_command): Take arguments by reference. | |
107 | (trace_find_command, trace_find_pc_command) | |
108 | (trace_find_tracepoint_command, trace_find_line_command): | |
109 | (trace_find_range_command, trace_find_outside_command): Update | |
110 | calls to finish_tfind_command. | |
111 | (_initialize_tracepoint): Initialize target_buf_size and target_buf. | |
112 | ||
3d8dcac6 RC |
113 | 2005-03-30 Randolph Chung <tausq@debian.org> |
114 | ||
115 | * hppa-linux-tdep.c: Include regset.h. | |
116 | (GR_REGNUM, TR_REGNUM, greg_map): New. | |
117 | (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New. | |
118 | (hppa_linux_regset, hppa_linux_fpregset): New. | |
119 | (hppa_linux_regset_from_core_section): New. | |
120 | (hppa_linux_init_abi): Set regset_from_core_section. | |
121 | (_initialize_hppa_linux_tdep): Register osabi handler for | |
122 | 64-bit Linux. | |
123 | * Makefile.in (hppa-linux-tdep.o): Update dependencies. | |
124 | * config/pa/linux.mh: Stop using core-regset.o | |
125 | ||
29d375ac RC |
126 | 2006-03-30 Randolph Chung <tausq@debian.org> |
127 | ||
128 | * hppa-tdep.c (hppa_find_unwind_entry_in_block): New. | |
129 | (hppa_frame_cache): Use new function to find unwind entry. | |
130 | (hppa_frame_this_id): Likewise. | |
131 | (hppa_frame_unwind_sniffer): Likewise. | |
132 | ||
f4267320 DJ |
133 | 2006-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
134 | ||
135 | * NEWS: Mention the removal of NLM. | |
136 | ||
137 | 2006-03-29 Steve Ellcey <sje@cup.hp.com> | |
138 | ||
139 | * Makefile.in (nlm): Remove target. | |
140 | * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm. | |
141 | * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm. | |
142 | * configure: Regenerate. | |
143 | * doc/gdb.texinfo: Remove gdbserve.nlm documentation. | |
144 | * nlm: Remove directory. | |
145 | ||
698ba934 DJ |
146 | 2006-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
147 | ||
148 | * Makefile.in (utils.o): Update. | |
149 | * top.c (in_user_command): New. | |
150 | (command_line_input): Use input_from_terminal_p. | |
151 | (input_from_terminal_p): Don't check caution. Handle | |
152 | stdin == NULL for Insight. | |
153 | * top.h (in_user_command, caution): New declarations. | |
154 | * utils.c: Include "top.h". | |
155 | (query, defaulted_query): Check caution here. Move the call | |
156 | to input_from_terminal_p higher. | |
157 | * cli/cli-script.c (do_restore_user_call_depth): Only decrement | |
158 | the depth. Update in_user_command if necessary. | |
159 | (execute_user_command): Don't clobber old_chain. Set | |
160 | in_user_command. Let do_restore_user_call_depth handle | |
161 | user_call_depth. | |
162 | (read_command_lines): Check whether to prompt before calling | |
163 | Insight hooks. | |
164 | * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary | |
165 | input_from_terminal_p check. | |
166 | ||
2f00de94 UW |
167 | 2006-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
168 | ||
169 | * s390-nat.c (s390_insert_watchpoint): Add missing argument. | |
170 | (s390_remove_watchpoint): Likewise. | |
171 | ||
7d30c22d JB |
172 | 2006-03-28 Jim Blandy <jimb@codesourcery.com> |
173 | ||
174 | * prologue-value.c, prologue-value.h: New files. | |
175 | * Makefile.in (prologue_value_h): New variable. | |
176 | (HFILES_NO_SRCDIR): List prologue-value.h. | |
177 | (SFILES): List prologue-value.c. | |
178 | (COMMON_OBS): List prologue-value.o. | |
179 | (prologue-value.o): New rule. | |
180 | ||
05c6a9a1 MS |
181 | 2006-03-27 Michael Snyder <msnyder@redhat.com> |
182 | ||
183 | * xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call, | |
184 | xstormy16_pointer_to_address, xstormy16_address_to_pointer, | |
185 | xstormy16_frame_prev_register): Change void* to gdb_byte*. | |
186 | (xstormy16_push_dummy_call): Add block-local char* val, | |
187 | to avoid type conflict with outer scope variable. | |
188 | ||
4e6cbc38 AS |
189 | 2006-03-27 Andrew Stubbs <andrew.stubbs@st.com> |
190 | ||
191 | * sh-tdep.c (sh_gdbarch_init): Add missing architectures. | |
192 | ||
75483fbe NR |
193 | 2006-03-27 Nick Roberts <nickrob@snap.net.nz> |
194 | ||
195 | * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero | |
196 | offsets for languages like Fortran. | |
197 | ||
97ce3a05 RC |
198 | 2006-03-26 Randolph Chung <tausq@debian.org> |
199 | ||
200 | * config/pa/hppa64.mt: Use HPUX version of the tm file. | |
201 | ||
be85b69f NR |
202 | 2006-03-25 Nick Roberts <nickrob@snap.net.nz> |
203 | ||
204 | * mi/gdb-mi.el (gdbmi-send): Improve regexp to repeat commands. | |
205 | Try to deal with continuation line. | |
206 | (gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new | |
207 | variable names. | |
208 | (gdb-break-list-regexp, gdb-stack-list-frames-regexp): | |
209 | Future proof against new fields being added to MI output. | |
210 | (gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file) | |
211 | (gdbmi-frame-handler): Update to new variable name | |
212 | gdb-get-buffer-create. | |
213 | (gdbmi-frame-handler): Use hollow-right-triangle for all selected | |
214 | frames which except the innermost (where execution has stopped). | |
215 | ||
7fc4b1a1 RC |
216 | 2006-03-24 Randolph Chung <tausq@debian.org> |
217 | ||
218 | * solib-som.c (link_map_start): Don't error out if there is | |
219 | not yet a link map. | |
220 | ||
f973ed9c DJ |
221 | 2006-03-24 Daniel Jacobowitz <dan@codesourcery.com> |
222 | ||
223 | * linux-nat.c (linux_ops_saved): New. | |
224 | (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops) | |
225 | (child_mourn_inferior, child_wait, linux_nat_create_inferior) | |
226 | (linux_nat_fetch_registers, linux_nat_store_registers) | |
227 | (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete. | |
228 | (init_lwp_list): Don't set threaded. | |
229 | (add_lwp): Don't modify threaded. | |
230 | (delete_lwp): Don't mention non-threaded mode. | |
231 | (linux_nat_switch_fork): New. | |
232 | (linux_nat_attach): Update inferior_ptid. | |
233 | (linux_nat_wait): Handle num_lwps == 0 at entry. Don't check | |
234 | threaded flag. | |
235 | (linux_nat_kill): Handle pending forks and saved forks. | |
236 | (linux_nat_mourn_inferior): Handle saved forks. | |
237 | (linux_nat_pid_to_str): Don't use the LWP form when there is | |
238 | only one thread. | |
239 | (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior. | |
240 | (linux_nat_add_target): New. | |
241 | (_initialize_linux_nat): Don't initialize the linux native target | |
242 | here. | |
243 | * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New | |
244 | prototypes. | |
245 | * linux-fork.c: Include "linux-nat.h". | |
246 | (add_fork): Update initial PID. | |
247 | (fork_load_infrun_state): Call linux_nat_switch_fork. | |
248 | * Makefile.in (linux-fork.o): Update. | |
249 | ||
250 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use | |
251 | linux_nat_add_target instead of add_target. | |
252 | * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise. | |
253 | * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise. | |
254 | * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise. | |
255 | * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise. | |
256 | * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise. | |
257 | * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise. | |
258 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise. | |
259 | * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise. | |
260 | * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise. | |
261 | * s390-nat.c (_initialize_s390_nat): Likewise. | |
262 | * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise. | |
263 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise. | |
264 | ||
791b663b DJ |
265 | 2006-03-24 Daniel Jacobowitz <dan@codesourcery.com> |
266 | ||
267 | * linux-fork.c: Include "gdb_assert.h". | |
268 | (fork_load_infrun_state): Set inferior_ptid and stop_pc here. | |
269 | Update the register cache and selected frame also. | |
270 | (linux_fork_mourn_inferior): Use fork_load_infrun_state. Return | |
271 | to single fork mode if necessary. | |
272 | (linux_fork_context): Remove bits handled by fork_load_infrun_state. | |
273 | * Makefile.in (linux_fork_h): New. | |
274 | (linux-fork.o, linux-nat.o): Update. | |
275 | ||
d311d956 AS |
276 | 2006-03-23 Andreas Schwab <schwab@suse.de> |
277 | ||
278 | * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o. | |
279 | ||
a849c9ab JB |
280 | 2006-03-18 Jim Blandy <jimb@codesourcery.com> |
281 | ||
282 | * symtab.h (enum address_class): Doc fix. | |
283 | ||
cf913f37 MS |
284 | 2006-03-16 Michael Snyder <msnyder@redhat.com> |
285 | ||
712e3020 | 286 | * tracepoint.c (tracepoint_save_command): Fix typo in error msg. |
88c231eb | 287 | * target.c (push_target): Fix typo in comment. |
94e08568 | 288 | * remote.c (remote_watch_data_address): Fix typo in comment. |
cf913f37 MS |
289 | * i386-tdep.c (i386_push_dummy_call): Fix typo in comment. |
290 | ||
7c699b81 KB |
291 | 2006-03-15 Kevin Buettner <kevinb@redhat.com> |
292 | ||
293 | * frv-linux-tdep.c (gdbcore.h, regcache.h, regset.h, gdb_string.h): | |
294 | Include. | |
295 | (FRV_ELF_NGREG, FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR, FRV_PT_CCCR) | |
296 | (FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0, FRV_PT_GNER1) | |
297 | (FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR, FRV_PT_TBR) | |
298 | (FRV_PT_EXEC_FDPIC_LOADMAP, FRV_PT_INTERP_FDPIC_LOADMAP): Define. | |
299 | (frv_elf_greg_t, frv_elf_gregset_t, frv_elf_fpreg_t) | |
300 | (frv_elf_fpregset_t): Define types. | |
301 | (frv_linux_supply_gregset, frv_linux_supply_fpregset) | |
302 | (frv_linux_regset_from_core_section: New functions. | |
303 | (frv_linux_gregset, frv_linux_fpregset): New static globals. | |
304 | (frv_linux_init_abi): Register the `regset_from_core_section' method. | |
305 | * Makefile.in (frv-linux-tdep.o): Update dependencies. | |
306 | * solib-frv.c (frv_current_sos): Relocate main executable after | |
307 | loading core file. | |
308 | (frv_clear_solib): Clean up space associated with | |
309 | `main_executable_lm_info'. | |
310 | * config/frv/frv.mt (TDEPFILES): Add corelow.o to this list. | |
311 | ||
d37eb719 DJ |
312 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
313 | ||
314 | * Makefile.in (mips_linux_tdep_h): New. | |
315 | (mpis-linux-nat.o, mips-linux-tdep.o): Update. | |
316 | * mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and | |
317 | <sys/ptrace.h>. | |
318 | (have_ptrace_regsets, super_fetch_registers, super_store_registers) | |
319 | (mips64_linux_regsets_fetch_registers) | |
320 | (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers) | |
321 | (mips64_linux_store_registers): New. | |
322 | (_initialize_mips_linux_nat): Override to_fetch_registers and | |
323 | to_store_registers. | |
324 | * mips-linux-tdep.h: New file. | |
325 | * mips-linux-tdep.c: Include "mips-linux-tdep.c". | |
326 | (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t) | |
327 | (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO) | |
328 | (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC) | |
329 | (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE) | |
330 | (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t) | |
331 | (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t) | |
332 | (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR) | |
333 | (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR) | |
334 | (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI) | |
335 | (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS) | |
336 | (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete. | |
337 | (supply_32bit_reg): Use gdb_byte. | |
338 | (supply_64bit_reg): New. | |
339 | (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset) | |
340 | (mips_fill_fpregset, fetch_core_registers, supply_gregset) | |
341 | (fill_gregset, supply_fpregset): Update for renamed types. | |
342 | (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg. | |
343 | (mips64_fill_gregset): Make global. Handle 32-bit register | |
344 | sizes. | |
345 | (mips64_fill_fpregset): Make global. Use gdb_byte. Handle | |
346 | FP regsets properly. | |
347 | ||
9f62d0e2 DJ |
348 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
349 | ||
350 | * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset. | |
351 | (mips_fill_gregset): Renamed from fill_gregset. | |
352 | (mips_supply_fpregset): Renamed from supply_fpregset. | |
353 | (mips_fill_fpregset): Renamed from fill_fpregset. | |
354 | (fetch_core_registers): Update calls. | |
355 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New | |
356 | functions. | |
357 | ||
26c53e50 DJ |
358 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
359 | ||
360 | * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64. | |
361 | ||
5b652102 DJ |
362 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
363 | ||
364 | * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16): | |
365 | Correct arithmetic for 64-bit CORE_ADDR. | |
366 | ||
d05f6826 DJ |
367 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
368 | ||
369 | * mips-linux-tdep.c: Include "floatformat.h". | |
370 | (mips_linux_init_abi): Use 128-bit long double for N32 and N64. | |
0a407ead DJ |
371 | * mips-tdep.c (mips_n32n64_return_value): Support 128-bit long |
372 | double. | |
d05f6826 DJ |
373 | (print_gp_register_row): Don't print spaces before ignored |
374 | or floating point registers. | |
6367c6b1 | 375 | * Makefile.in (mips-linux-tdep.o): Update. |
d05f6826 | 376 | |
3e5af19e DJ |
377 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
378 | ||
379 | * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32 | |
380 | for code addresses. | |
381 | (non_heuristic_proc_desc): Likewise. | |
382 | ||
dc60ece8 DJ |
383 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
384 | ||
385 | * mips-linux-nat.c: Include "gdb_proc_service.h". | |
386 | (PTRACE_GET_THREAD_AREA): Define. | |
387 | (ps_get_thread_area): New. | |
388 | * Makefile.in (mips-linux-nat.o): Update. | |
389 | ||
2f83030f JB |
390 | 2006-03-13 Jim Blandy <jimb@codesourcery.com> |
391 | ||
392 | * MAINTAINERS: Use my work address. | |
393 | ||
56aac7e8 | 394 | 2006-03-09 Michael Snyder <msnyder@redhat.com> |
a9877905 | 395 | |
56aac7e8 MS |
396 | * linux-nat.c (kill_inferior): Just call target_mourn_inferior |
397 | instead of getting tricky for the multi-fork case. | |
398 | * linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid | |
399 | for each fork, and then use init_fork_list to delete them. | |
a9877905 | 400 | |
831004b7 AO |
401 | 2006-03-08 Alexandre Oliva <aoliva@redhat.com> |
402 | ||
403 | * solib-svr4.c (svr4_current_sos): Move up initialization of | |
404 | l_addr, such that it clearly covers all cases. | |
405 | ||
f1b4b38e AS |
406 | 2006-03-08 Andreas Schwab <schwab@suse.de> |
407 | ||
408 | * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt use of | |
409 | libunwind_frame_prev_register to use a gdb_byte buffer and | |
410 | extract_unsigned_integer. | |
411 | (ia64_libunwind_sigtramp_frame_prev_register): Likewise. | |
412 | ||
413 | * libunwind-frame.c (libunwind_frame_prev_register): Change type | |
414 | of last argument to `gdb_byte *' | |
415 | * libunwind-frame.h: Adjust declaration. | |
416 | ||
f53f0d0b PB |
417 | 2006-03-08 Paul Brook <paul@codesourcery.com> |
418 | ||
419 | * arm-tdep.c (arm_push_dummy_call): Remove stack alignment. | |
420 | (arm_frame_align): New function. | |
421 | (arm_gdbarch_init): Use it. | |
422 | ||
b67fd56f AC |
423 | 2006-03-03 Khem Raj <khem@mvista.com> |
424 | ||
425 | * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte. | |
426 | Committed by Andrew Cagney. | |
427 | ||
a64ae7e0 CV |
428 | 2006-03-02 Corinna Vinschen <vinschen@redhat.com> |
429 | ||
430 | * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint | |
431 | address to MDR register. | |
432 | ||
9733fc94 DJ |
433 | 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com> |
434 | ||
435 | * gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive | |
436 | calls. | |
437 | ||
4897bfb9 RC |
438 | 2006-03-01 Randolph Chung <tausq@debian.org> |
439 | ||
440 | * somread.c (som_symfile_read): Update comment and remove unneeded | |
441 | use of a deprecated variable. | |
442 | ||
6fcecea0 RC |
443 | 2006-03-01 Randolph Chung <tausq@debian.org> |
444 | ||
445 | * hppa-tdep.h (unwind_table_entry): Update field names to match HP | |
446 | runtime specification. | |
447 | * hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise. | |
448 | (unwind_command): Likewise. | |
449 | ||
46acf081 RC |
450 | 2006-03-01 Randolph Chung <tausq@debian.org> |
451 | ||
452 | * hppa-tdep.c (hppa_frame_cache): Handle Region_Description and | |
453 | Pseudo_SP_Set in unwind record. | |
454 | ||
477e69e8 RC |
455 | 2006-03-01 Randolph Chung <tausq@debian.org> |
456 | ||
457 | * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use | |
458 | TDEP->is_elf to determine if we are working with a SOM binary. | |
459 | (null_symtab_and_line): Remove unused variable. | |
460 | * config/pa/hppa64.mt: Use tm-hppa.h. | |
461 | * config/pa/tm-hppa64.h: Remove file. | |
462 | ||
848359ac WZ |
463 | 2006-03-01 Wu Zhou <woodzltc@cn.ibm.com> |
464 | ||
465 | * f-typeprint.c (f_type_print_base): Delete the redundant space. | |
466 | ||
f9ec92b6 KB |
467 | 2006-02-28 Kevin Buettner <kevinb@redhat.com> |
468 | ||
469 | * Makefile.in (mn10300-linux-tdep.o): Update dependencies. | |
470 | * mn10300-linux-tdep.c (frame.h, trad-frame.h, tramp-frame.h): | |
471 | Include. | |
472 | (am33_linux_sigframe_cache_init): New function. | |
473 | (am33_linux_sigframe, am33_linux_rt_sigframe): New signal frame | |
474 | descriptions. | |
475 | (AM33_SIGCONTEXT_D0, AM33_SIGCONTEXT_D1, AM33_SIGCONTEXT_D2) | |
476 | (AM33_SIGCONTEXT_D3, AM33_SIGCONTEXT_A0, AM33_SIGCONTEXT_A1) | |
477 | (AM33_SIGCONTEXT_A2, AM33_SIGCONTEXT_A3, AM33_SIGCONTEXT_E0) | |
478 | (AM33_SIGCONTEXT_E1, AM33_SIGCONTEXT_E2, AM33_SIGCONTEXT_E3) | |
479 | (AM33_SIGCONTEXT_E4, AM33_SIGCONTEXT_E5, AM33_SIGCONTEXT_E6) | |
480 | (AM33_SIGCONTEXT_E7, AM33_SIGCONTEXT_LAR, AM33_SIGCONTEXT_LIR) | |
481 | (AM33_SIGCONTEXT_MDR, AM33_SIGCONTEXT_MCVF, AM33_SIGCONTEXT_MCRL) | |
482 | (AM33_SIGCONTEXT_MCRH, AM33_SIGCONTEXT_MDRQ, AM33_SIGCONTEXT_SP) | |
483 | (AM33_SIGCONTEXT_EPSW, AM33_SIGCONTEXT_PC, AM33_SIGCONTEXT_FPUCONTEXT): | |
484 | New constants. | |
485 | (am33_linux_init_osabi): Register signal frame unwinders. | |
486 | ||
e92e42f5 KB |
487 | 2006-02-28 Kevin Buettner <kevinb@redhat.com> |
488 | ||
489 | * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack | |
490 | out of pattern match by saving relevant state. Fix stack size | |
491 | adjustment bug. | |
492 | ||
cc10cae3 AO |
493 | 2006-02-28 Alexandre Oliva <aoliva@redhat.com> |
494 | ||
495 | * solib-svr4.h (struct link_map_offsets): Add l_ld_offset and | |
496 | l_ld_size fields. | |
497 | * solib-svr4.c (struct lm_info): Add l_addr field. | |
498 | (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR. | |
499 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): New. | |
500 | (LM_DYNAMIC_FROM_LINK_MAP): New. | |
501 | (LM_ADDR_CHECK): New. Use it instead of LM_ADDR. | |
502 | (svr4_current_sos): Initialize l_addr. Adjust. | |
503 | (svr4_relocate_section_addresses): Adjust. | |
504 | (svr4_ilp32_fetch_link_map_offsets): Define new members. | |
505 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
506 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
507 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise. | |
508 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
509 | * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h). | |
510 | ||
691342f9 DM |
511 | 2006-02-26 David S. Miller <davem@sunset.davemloft.net> |
512 | ||
513 | * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o. | |
514 | * config/sparc/linux64.mt (TDEPFILES): Likewise. | |
515 | ||
2c387241 AM |
516 | 2006-02-27 Alan Modra <amodra@bigpond.net.au> |
517 | ||
518 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type. | |
519 | (ppc_linux_remove_watchpoint): Likewise, and args. | |
520 | ||
3597fb82 MK |
521 | 2006-02-26 Mark Kettenis <kettenis@gnu.org> |
522 | ||
523 | * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize | |
524 | "soft" interrupts. | |
525 | ||
637d6690 CW |
526 | 2006-02-24 Charles Wilson <cygwin@cwilson.fastmail.fm> |
527 | ||
528 | * gdb/defs.h: unconditionally include <fcntl.h>, and | |
529 | ensure that O_BINARY is defined. | |
530 | * gdb/solib.c(solib_open): ensure solib files are opened in | |
531 | binary mode. | |
532 | * gdb/corelow.c: Remove O_BINARY macro definition. | |
533 | * gdb/exec.c: Remove O_BINARY macro definition | |
534 | * gdb/remote-rdp.c: Remove O_BINARY macro definition | |
535 | * gdb/source.c: Remove O_BINARY macro definition | |
536 | * gdb/symfile.c: Remove O_BINARY macro definition | |
537 | ||
9846e541 RC |
538 | 2006-02-24 Randolph Chung <tausq@debian.org> |
539 | ||
540 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize | |
541 | argreg. | |
542 | * solib-som.c (som_solib_remove_inferior_hook): Remove unused | |
543 | function. | |
544 | ||
2a5e440c WZ |
545 | 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com> |
546 | ||
547 | * f-exp.y: Symbol '%' is not used as the modulus operator in | |
548 | Fortran. Delete this from Fortran expression. | |
549 | It is now used by Fortran 90 and later to access the member | |
550 | of derived type. Add this into Fortran expression. | |
551 | * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT. | |
552 | Print each elements in the derived type. | |
553 | * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter | |
554 | level into the function definition to do indented printing. And | |
555 | call fprintfi_filtered instead to do indented printing. | |
556 | (f_type_print_base): Replace fprintf_filtered with the indented | |
557 | version (fprintfi_filtered). | |
558 | (f_type_print_base): Call indented print_equivalent_f77_float_type. | |
559 | (f_type_print_base): Add code to handle TYPE_CODE_STRUCT. Print | |
560 | the definition of the derived type. | |
561 | ||
92128691 DJ |
562 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
563 | ||
564 | * gdb_curses.h: Provide a fallback prototype for tgetnum. | |
565 | ||
a6205f53 DJ |
566 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
567 | ||
568 | * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE | |
569 | also. | |
570 | (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT. | |
571 | (DOUBLEST_SCAN_FORMAT): New. | |
572 | * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions. | |
573 | (processReal): Use DOUBLEST_SCAN_FORMAT. | |
574 | * c-exp.y (parse_number): Likewise. | |
575 | * jv-exp.y (parse_number): Likewise. | |
576 | * objc-exp.y (parse_number): Likewise. | |
577 | * p-exp.y (parse_number): Likewise. | |
578 | ||
0f0b8dcd DJ |
579 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
580 | ||
581 | * event-top.c (async_do_nothing, async_disconnect) | |
582 | (async_stop_sig, async_float_handler): Remove duplicated | |
583 | prototypes. | |
584 | (handle_sighup): Guard prototype with SIGHUP. | |
585 | (async_do_nothing): Guard function and prototype with | |
586 | SIGQUIT || SIGHUP. | |
587 | (async_disconnect): Guard prototype with SIGHUP. | |
588 | (async_stop_sig): Guard prototype with STOP_SIGNAL. | |
589 | ||
4e91d01c DJ |
590 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
591 | ||
592 | * maint.c (maintenance_dump_me): Remove unnecessary prototype. | |
593 | ||
1e0600be DJ |
594 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
595 | ||
596 | * win32-termcap.c (tputs): Return 0. | |
597 | ||
094a342e MK |
598 | 2006-02-21 Mark Kettenis <kettenis@gnu.org> |
599 | ||
600 | * configure.ac: Introduce ---enable-werror, which adds -Werror to | |
601 | the compiler command line. Enabled by default. Disable with | |
602 | --disable-werror. | |
603 | * configure regenerate. | |
604 | ||
74763737 DJ |
605 | 2006-02-21 Daniel Jacobowitz <dan@codesourcery.com> |
606 | ||
607 | * elfread.c (elf_symtab_read): Skip symbols which BFD considers | |
608 | special. | |
609 | ||
13d35ae5 AS |
610 | 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> |
611 | ||
612 | * defs.h (directory_switch): Add prototype. | |
613 | * main.c (captured_main): Use directory_switch() instead of | |
614 | directory_command() to add directories from the -d switch. | |
615 | * source.c (directory_switch): New function. | |
616 | (add_path): Use buildargv() to parse spaces in filenames properly. | |
617 | Strip multiple trailing '/' rather than just one. | |
618 | ||
5b96932b AS |
619 | 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> |
620 | ||
621 | * symfile.c (add_symbol_file_command): Use buildargv(), instead of | |
622 | hand decoding the command line, to allow use of quotes and spaces. | |
623 | (_initialize_symfile): Reorganize the help message for add-symbol-file | |
624 | such that 'help files' shows a better message. | |
625 | ||
a6b0a3f3 AS |
626 | 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> |
627 | ||
628 | * sh-tdep.c (sh_generic_show_regs): Reformat both code and output. | |
629 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise. | |
630 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise. | |
631 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise. | |
632 | ||
17fbb0bd DJ |
633 | 2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
634 | ||
635 | * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN | |
636 | and __SIGRTMIN + 1. | |
637 | ||
444abaca DJ |
638 | 2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
639 | ||
640 | * remote.c: Add an enumeration for configurable remote | |
641 | packets. | |
642 | (remote_protocol_packets, set_remote_protocol_packet_cmd) | |
643 | (show_remote_protocol_packet_cmd): New. | |
644 | (remote_protocol_vcont) | |
645 | (set_remote_protocol_vcont_packet_cmd) | |
646 | (show_remote_protocol_vcont_packet_cmd) | |
647 | (remote_protocol_qSymbol) | |
648 | (set_remote_protocol_qSymbol_packet_cmd) | |
649 | (show_remote_protocol_qSymbol_packet_cmd) | |
650 | (remote_protocol_P, set_remote_protocol_P_packet_cmd) | |
651 | (show_remote_protocol_P_packet_cmd) | |
652 | (remote_protocol_Z) | |
653 | (set_remote_protocol_Z_software_bp_packet_cmd) | |
654 | (show_remote_protocol_Z_software_bp_packet_cmd) | |
655 | (set_remote_protocol_Z_hardware_bp_packet_cmd) | |
656 | (show_remote_protocol_Z_hardware_bp_packet_cmd) | |
657 | (set_remote_protocol_Z_write_wp_packet_cmd) | |
658 | (show_remote_protocol_Z_write_wp_packet_cmd) | |
659 | (set_remote_protocol_Z_read_wp_packet_cmd) | |
660 | (show_remote_protocol_Z_read_wp_packet_cmd) | |
661 | (set_remote_protocol_Z_access_wp_packet_cmd) | |
662 | (show_remote_protocol_Z_access_wp_packet_cmd) | |
663 | (remote_protocol_binary_download) | |
664 | (set_remote_protocol_binary_download_cmd) | |
665 | (show_remote_protocol_binary_download_cmd) | |
666 | (remote_protocol_qPart_auxv) | |
667 | (set_remote_protocol_qPart_auxv_packet_cmd) | |
668 | (show_remote_protocol_qPart_auxv_packet_cmd) | |
669 | (remote_protocol_qGetTLSAddr) | |
670 | (set_remote_protocol_qGetTLSAddr_packet_cmd) | |
671 | (show_remote_protocol_qGetTLSAddr_packet_cmd) | |
672 | (remote_protocol_p) | |
673 | (set_remote_protocol_p_packet_cmd) | |
674 | (show_remote_protocol_p_packet_cmd): Delete. | |
675 | ||
676 | (init_all_packet_configs): Simplify. | |
677 | (set_remote_protocol_Z_packet_cmd) | |
678 | (show_remote_protocol_Z_packet_cmd) | |
679 | (remote_check_symbols, remote_vcont_probe, remote_vcont_resume) | |
680 | (remote_fetch_registers, remote_prepare_to_store) | |
681 | (remote_store_registers, check_binary_download) | |
682 | (remote_write_bytes, remote_insert_breakpoint) | |
683 | (remote_remove_breakpoint, remote_insert_watchpoint) | |
684 | (remote_remove_watchpoint, remote_insert_hw_breakpoint) | |
685 | (remote_remove_hw_breakpoint, remote_xfer_partial) | |
686 | (remote_get_thread_local_address): Update for packet array. | |
687 | (_initialize_remote): Likewise; also update for common | |
688 | set/show commands. | |
689 | ||
3bd72c6f DJ |
690 | 2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
691 | ||
692 | * symfile.c (place_section): Correct retry logic. | |
693 | ||
a244bdca CF |
694 | 2006-02-19 Christopher Faylor <cgf@timesys.com> |
695 | ||
696 | * win32_nat.c (cygwin_load_start): New variable. | |
697 | (cygwin_load_end): Ditto. | |
698 | (have_saved_context): Ditto. | |
699 | (saved_context): Ditto. | |
700 | (max_dll_name_len): Delete obsolete variable. | |
701 | (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll | |
702 | if we are in a cygwin signal rather than a windows signal. | |
703 | (solib_symbols_add): Detect and store beginning and end of cygwin DLL | |
704 | if dll being loaded is the cygwin DLL. | |
705 | (register_loaded_dll): Remove calculation of max_dll_name_len. | |
706 | (win32_clear_solib): Ditto. | |
707 | (handle_load_dll): Delete obsolete variable. Remove unneeded call to | |
708 | solib_add. | |
709 | (handle_output_debug_string): Detect and store signal information sent | |
710 | by Cygwin here. | |
711 | (handle_exception): Silently pass on errors in the cygwin DLL. Return | |
712 | -1 on first pass exception. | |
713 | (win32_continue): Remove spurious clearing of continue_status. | |
714 | (get_win32_debug_event): Deal differently first chance exception. | |
715 | ||
806e23c0 RC |
716 | 2006-02-19 Randolph Chung <tausq@debian.org> |
717 | ||
718 | * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no | |
719 | unwind entry. | |
720 | ||
d843c49c FF |
721 | 2006-02-16 Fred Fish <fnf@specifix.com> |
722 | ||
723 | * eval.c (evaluate_subexp_standard): For OP_TYPE, return | |
724 | a non lval value zero, of the appropriate type, when avoiding | |
725 | side effects. | |
726 | * typeprint.c (ptype_eval): Remove function and declaration. | |
727 | (ptype_command): Simplify to just a call to whatis_exp. | |
728 | ||
1c5bada0 PB |
729 | 2006-02-15 Paul Brook <paul@codesourcery.com> |
730 | ||
731 | * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc): | |
732 | Load insn opcodes as unsigned values. | |
733 | ||
96c1eda2 AO |
734 | 2006-02-14 Alexandre Oliva <aoliva@redhat.com> |
735 | ||
736 | * doublest.h (DOUBLEST): Use long double only if we can scan | |
737 | it in. Undefine HAVE_LONG_DOUBLE otherwise. | |
738 | (DOUBLEST_FORMAT): New. | |
739 | * c-exp.y (parse_number): Use it. | |
740 | * jv-exp.y (parse_number): Likewise. | |
741 | * objc-exp.y (parse_number): Likewise. | |
742 | * p-exp.y (parse_number): Likewise. | |
743 | * varobj.c (free_variable): Silence type-punning warnings. | |
744 | * tui/tui-data.h (struct tui_list): Change type of list member. | |
745 | * tui/tui-data.c: Remove no-longer-needed type casts. | |
746 | (source_windows): Silence type-punning warnings. | |
747 | * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise. | |
748 | ||
92dd43fa MK |
749 | 2006-02-13 Mark Kettenis <kettenis@gnu.org> |
750 | ||
751 | Fix PR breakpoints/2080. | |
752 | * i386-tdep.c (struct i386_frame_cache): Add stack_align member. | |
753 | (i386_analyze_stack_align): New function. | |
754 | (i386_analyze_prologue): Use i386_analyze_stack_align. | |
755 | (i386_frame_cache): Deal with stack realignment. | |
756 | ||
7314787a NR |
757 | 2006-02-14 Nick Roberts <nickrob@snap.net.nz> |
758 | ||
759 | * mi/gdb-mi.el: Use more functions from gdb-ui.el. | |
760 | (gdb-break-list-regexp): Match "what" field if present. | |
be85b69f | 761 | (gdb-stack-list-frames-regexp): Match "from" field if present. |
7314787a NR |
762 | (gdb-stack-list-frames-handler): Present output like "info |
763 | breakpoints" so regexps can be shared with gdb-ui | |
764 | ||
0ea3f30e DJ |
765 | 2006-02-10 Daniel Jacobowitz <dan@codesourcery.com> |
766 | ||
767 | * NEWS: Mention native Windows support. | |
768 | * Makefile.in (gdb_select_h, ser_tcp_h): New. | |
769 | (ALLDEPFILES): Add ser-mingw.c. | |
770 | (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o) | |
771 | (ser-tcp.o, ser-unix.o): Update. | |
772 | (ser-mingw.o): New rule. | |
773 | * configure: Regenerated. | |
774 | * configure.ac: Add ser-mingw.o for mingw32. | |
775 | * ser-mingw.c: New file. | |
776 | * event-loop.c: Include "gdb_select.h". | |
777 | (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c. | |
778 | * ser-base.c: Include "gdb_select.h". | |
779 | (ser_base_wait_for): Use gdb_select. | |
780 | * serial.c (serial_for_fd): New function. | |
781 | (serial_fdopen): Try "terminal" before "hardwire". Initialize | |
782 | the allocated struct serial. | |
783 | (serial_wait_handle): New function. | |
784 | * serial.h (serial_for_fd, serial_wait_handle): New prototypes. | |
785 | (struct serial_ops) [USE_WIN32API]: Add wait_handle. | |
786 | * gdb_select.h: New file. | |
787 | * ser-tcp.c: Include "ser-tcp.h". Remove unused "ser-unix.h" include. | |
788 | (net_close, net_read_prim, net_write_prim): Make global. | |
789 | (net_open): Likewise. Pass an exception set to select. Whitespace fix. | |
790 | Document why we can not use gdb_select. | |
791 | (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here. | |
792 | * ser-tcp.h: New file. | |
793 | * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here. | |
794 | (handle_sigio): Use gdb_select. | |
795 | (initialize_stdin_serial): New function. | |
796 | * terminal.h (initialize_stdin_serial): New prototype. | |
797 | * top.c (gdb_init): Call initialize_stdin_serial. | |
798 | * mingw-hdep.c (gdb_select): New function, moved from gdb_select in | |
799 | event-loop.c. Add exception condition support. Use serial_for_fd | |
800 | and serial_wait_handle. Fix timeout handling. | |
801 | * posix-hdep.c: Include "gdb_select.h". | |
802 | (gdb_select): New function. | |
803 | * remote-st.c (connect_command): Use gdb_select. | |
804 | * ser-unix.c: Include "gdb_select.h". | |
805 | (hardwire_send_break, wait_for): Use gdb_select. | |
806 | ||
121ce6e5 DJ |
807 | 2006-02-10 Daniel Jacobowitz <dan@codesourcery.com> |
808 | ||
809 | * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies. | |
810 | (ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c. | |
811 | * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs | |
812 | to posix-hdep.o by default. | |
813 | * configure: Regenerated. | |
814 | * configure.host: Document gdb_host_obs. Add an entry for | |
815 | i[34567]86-*-mingw32*. | |
816 | * mingw-hdep.c, posix-hdep.c: New files. | |
817 | * utils.c (safe_strerror): Remove, moved to posix-hdep.o. | |
818 | ||
1f82754b JB |
819 | 2006-02-10 Joel Brobecker <brobecker@adacore.com> |
820 | ||
821 | * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX. | |
822 | * osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX. | |
823 | * rs6000-tdep.h: New file. | |
824 | * rs6000-tdep.c: Include "rs6000-tdep.h". | |
825 | (rs6000_gdbarch_init): Remove enabling of software single step. | |
826 | Will be done in the AIX-specific initialization routine. | |
827 | * rs6000-aix-tdep.c: New file. | |
828 | * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o. | |
829 | * Makefile.in (rs6000_tdep_h): New variable. | |
830 | (rs6000-tdep.o): Update dependencies. | |
831 | (rs6000-aix-tdep.o): New rule. | |
832 | ||
577b7047 JB |
833 | 2006-02-10 Joel Brobecker <brobecker@adacore.com> |
834 | ||
835 | * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd | |
836 | instead of add_setshow_zinteger_cmd to defined the aix-thread | |
837 | boolean setting. | |
838 | ||
ff800d76 NR |
839 | 2006-02-10 Nick Roberts <nickrob@snap.net.nz> |
840 | ||
841 | * mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50. | |
842 | ||
5afb4e99 DJ |
843 | 2006-02-09 Daniel Jacobowitz <dan@codesourcery.com> |
844 | ||
845 | * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to | |
846 | 30 bits. Add load_all_dies flag. | |
847 | (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set. | |
848 | Load DW_TAG_member by default. Remove internal_error call. | |
849 | (find_partial_die): Reload the compilation unit if we can not find | |
850 | a DIE in the cache. Call internal_error here if we still can not | |
851 | find the DIE. | |
852 | ||
a832795c NR |
853 | 2006-02-10 Nick Roberts <nickrob@snap.net.nz> |
854 | ||
855 | * breakpoint.c (print_one_breakpoint): Add break to case | |
856 | bp_catch_vfork in switch statement. | |
857 | ||
c9dd6fef WZ |
858 | 2006-02-08 Wu Zhou <woodzltc@cn.ibm.com> |
859 | ||
860 | * config/i386/nm-i386sol2.h: Update copyright year. | |
861 | * config/mips/nm-irix5.h: Ditto. | |
862 | * config/sparc/nm-sol2.h: Ditto. | |
863 | * s390-nat.c: Ditto. | |
864 | * ppc-linux-nat.c: Ditto. | |
865 | ||
2a3cdf79 WZ |
866 | 2006-02-08 Wu Zhou <woodzltc@cn.ibm.com> |
867 | ||
868 | * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Delete. | |
869 | * config/i386/nm-i386sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. | |
870 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. | |
871 | * config/mips/nm-irix5.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. | |
872 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. | |
873 | * config/sparc/nm-sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. | |
874 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. | |
875 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): New. | |
876 | (inf_ttrace_region_size_ok_for_hw_watchpoint): Delete. | |
877 | (inf_ttrace_target): Delete to_region_size_ok_for_hw_watchpoint and | |
878 | add to_region_ok_for_hw_watchpoint. | |
879 | * s390-nat.c (s390_region_size_ok_for_hw_watchpoint): Delete. | |
880 | (s390_region_ok_for_hw_watchpoint): New. | |
881 | (_initialize_s390_nat): Delete to_region_size_ok_for_hw_watchpoint | |
882 | and add to_region_ok_for_hw_watchpoint. | |
883 | * target.c (default_region_size_ok_for_hw_watchpoint, | |
884 | debug_to_region_size_ok_for_hw_watchpoint): Delete prototype. | |
885 | (update_current_target): Delete to_region_size_ok_for_hw_watchpoint | |
886 | inheritance and default_region_size_ok_for_hw_watchpoint. | |
887 | (default_region_ok_for_hw_watchpoint): If len is less than or equal | |
888 | the length of void pointer, return ok. | |
889 | (default_region_size_ok_for_hw_watchpoint): Delete. | |
890 | (debug_to_region_size_ok_for_hw_watchpoint): Delete. | |
891 | (setup_target_debug): Delete to_region_size_ok_for_hw_watchpoint. | |
892 | * target.h (struct target_ops): Delete | |
893 | to_region_size_ok_for_hw_watchpoint. | |
894 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. | |
895 | ||
e0d24f8d WZ |
896 | 2006-02-08 Ben Elliston <bje@au1.ibm.com> |
897 | Wu Zhou <woodzltc@cn.ibm.com> | |
898 | ||
899 | * ppc-linux-nat.c (PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, | |
900 | PTRACE_GETSIGINFO): Define. | |
901 | (last_stopped_data_address): New. | |
902 | (ppc_linux_check_watch_resources): New function. | |
903 | (ppc_linux_region_ok_for_hw_watchpoint): New function. | |
904 | (ppc_linux_insert_watchpoint): New function. | |
905 | (ppc_linux_remove_watchpoint): New function. | |
906 | (ppc_linux_stopped_data_address): New function. | |
907 | (ppc_linux_stopped_by_watchpoint): New function. | |
908 | (_initialize_ppc_linux_nat): Set the above hardware watchpoint | |
909 | related target vectors. | |
910 | * rs6000-tdep.c (rs6000_gdbarch_init): Set PPC architectures | |
911 | to have nonsteppable watchpoint. | |
912 | * target.c (default_region_ok_for_hw_watchpoint, | |
913 | debug_to_region_ok_for_hw_watchpoint): New prototypes. | |
914 | (update_current_target): Inherit to_region_ok_for_hw_watchpoint | |
915 | and set default to_region_ok_for_hw_watchpoint. | |
916 | (default_region_ok_for_hw_watchpoint): New function. | |
917 | (debug_to_region_ok_for_hw_watchpoint): New function. | |
918 | (setup_target_debug): Set to_region_ok_for_hw_watchpoint of | |
919 | debug_target. | |
920 | * target.h (struct target_ops): Add a new target vector | |
921 | to_region_ok_for_hw_watchpoint. | |
922 | (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Define this if it is not | |
923 | defined anyplace else. | |
927890d0 | 924 | |
e0d24f8d | 925 | 2005-02-07 Joel Brobecker <brobecker@adacore.com> |
927890d0 JB |
926 | * symfile.c (add_symbol_file_command): Abort if the user forgot |
927 | to provide the address when the file has been loaded. | |
928 | ||
f4d408c6 DJ |
929 | 2006-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
930 | ||
931 | * MAINTAINERS: Update file based on maintainers survey. Add | |
932 | a note to Past Maintainers. Move unresponsive or inactive | |
933 | maintainers to Authorized Committers or Past Maintainers as | |
934 | appropriate. Correct Jim Kingdon's email address. Remove | |
935 | vacant areas of responsibility. | |
936 | ||
38fcd64c DJ |
937 | 2006-02-06 Vladimir Prus <ghost@cs.msu.su> |
938 | ||
939 | * breakpoint.c (print_one_breakpoint): For MI-like UI, output | |
940 | fullname field. | |
941 | ||
7b871fab DJ |
942 | 2006-02-03 Daniel Jacobowitz <dan@codesourcery.com> |
943 | ||
944 | * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR. | |
945 | * exceptions.c (exception_none, exceptions_state_mc_init) | |
946 | (throw_vfatal): Use GDB_NO_ERROR. | |
947 | ||
e4cd0d6a MK |
948 | 2006-02-02 Mark Kettenis <kettenis@gnu.org> |
949 | ||
950 | * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and | |
951 | r_map_size members. Add r_version_offset, r_version_size and | |
952 | r_ldsomap_offset members. | |
953 | * solib-svr4.c (solib_svr4_r_map): Renamed from | |
954 | fetch_link_map_member. Simplify using read_memory_typed_address. | |
955 | (solib_svr4_r_ldsomap): New function. | |
956 | (open_symbol_file_object): Use solib_svr_r_map. | |
957 | (svr4_current_sos): Use solib_svr4_r_map and look for the dynamic | |
958 | linker by using solib_svr4_r_ldsomap. | |
959 | (svr4_ilp32_fetch_link_map_offsets) | |
960 | (svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct | |
961 | link_map_offsets'. | |
962 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for | |
963 | changes to `struct link_map_offsets'. | |
964 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets) | |
965 | (mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to | |
966 | `struct link_map_offsets'. | |
967 | ||
e26af52f DJ |
968 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
969 | ||
970 | * linux-nat.c (struct saved_ptids, threads_to_delete) | |
971 | (record_dead_thread, prune_lwps, find_thread_from_lwp) | |
972 | (exit_lwp): New. | |
973 | (linux_nat_resume): Call prune_lwps. | |
974 | (wait_lwp, linux_nat_wait): Call exit_lwp. | |
975 | ||
46e9880c DJ |
976 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
977 | ||
978 | * printcmd.c (printf_command): Make format string checking | |
979 | stricter. Add separate cases for long_arg, ptr_arg, and | |
980 | long_double_arg. | |
981 | * utils.c (xstrvprintf): Improve the error message issued | |
982 | for a bad format string. | |
983 | * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE): | |
984 | New variables. | |
985 | (gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove | |
986 | $(NO_WERROR_CFLAGS). | |
987 | (printcmd.o): Likewise. Use $(GDB_WARN_CFLAGS_NO_FORMAT) and | |
988 | enable -Werror. | |
989 | ||
37a105a1 DJ |
990 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
991 | ||
992 | * Makefile.in (remote.o): Update. | |
993 | * remote.c (show_packet_config_cmd): Shorten messages. | |
994 | (remote_set_cmdlist, remote_show_cmdlist): Make file-static. | |
995 | (show_remote_cmd): Iterate. | |
996 | (_initialize_remote): Remove remote_set_cmdlist, | |
997 | remote_show_cmdlist. | |
998 | ||
ae5a43e0 DJ |
999 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
1000 | ||
1001 | * Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update. | |
1002 | * defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add | |
1003 | prototypes. | |
1004 | * dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC. | |
1005 | (hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to... | |
1006 | * utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate): | |
1007 | ...here. | |
1008 | * gdbtypes.c: Include "hashtab.h". | |
1009 | (build_gdbtypes): Remove extra prototype. | |
1010 | (struct type_pair, type_pair_hash, type_pair_eq) | |
1011 | (create_copied_types_hash, copy_type_recursive): New. | |
1012 | * gdbtypes.h: Include "hashtab.h". | |
1013 | (TYPE_ZALLOC): New. | |
1014 | (create_copied_types_hash, copy_type_recursive): New prototypes. | |
1015 | * objfiles.c (free_objfile): Call preserve_values. | |
1016 | * symfile.c (reread_symbols): Likewise. | |
1017 | (clear_symtab_users): Remove calls to clear_value_history and | |
1018 | clear_internalvars. | |
1019 | * value.c (clear_value_history, clear_internalvars): Removed. | |
1020 | (preserve_one_value, preserve_values): New functions. | |
1021 | * value.h (clear_value_history, clear_internalvars): Removed. | |
1022 | (preserve_values): New prototype. | |
1023 | ||
1024 | * tracepoint.c (_initialize_tracepoint): Do not initialize convenience | |
1025 | variables here. | |
1026 | ||
b929c77f MK |
1027 | 2006-01-29 Mark Kettenis <kettenis@gnu.org> |
1028 | ||
1029 | * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL. | |
1030 | Fixes PR tdep/2075. | |
1031 | ||
1581f359 JB |
1032 | 2006-01-27 Joel Brobecker <brobecker@adacore.com> |
1033 | ||
1034 | * MAINTAINERS: Use a consistent email address for brobecker. | |
1035 | ||
37706b70 JB |
1036 | 2006-01-27 Joel Brobecker <brobecker@adacore.com> |
1037 | ||
1038 | * infcmd.c (post_create_inferior): Fix copy/paste error introduced | |
1039 | in the previous change. | |
1040 | ||
9353355f DJ |
1041 | 2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> |
1042 | ||
1043 | PR gdb/1914 | |
1044 | * fork-child.c (fork_inferior): Don't call | |
1045 | solib_create_inferior_hook. | |
1046 | * infcmd.c (post_create_inferior): Call solib_add, | |
1047 | solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs. | |
1048 | (attach_command): Don't call solib_add or | |
1049 | re_enable_breakpoints_in_shlibs. Call post_create_inferior | |
1050 | instead. | |
1051 | * remote.c (remote_open_1): Don't call solib_create_inferior_hook | |
1052 | or observer_notify_inferior_created. Call post_create_inferior | |
1053 | instead. | |
1054 | * corelow.c: Don't include "observer.h". | |
1055 | (solib_add_stub): Deleted. | |
1056 | (core_open): Don't call observer_notify_inferior_created or | |
1057 | solib_add_stub. Call post_create_inferior instead. | |
1058 | * inf-ptrace.c: Don't include "observer.h". | |
1059 | (inf_ptrace_attach): Don't call observer_notify_inferior_created. | |
1060 | * inf-ttrace.c: Don't include "observer.h". | |
1061 | (inf_ttrace_attach): Don't call observer_notify_inferior_created. | |
1062 | * inferior.h (solib_create_inferior_hook): Remove redundant | |
1063 | prototype. | |
1064 | * inftarg.c: Don't include "observer.h". | |
1065 | (child_attach): Don't call observer_notify_inferior_created. | |
1066 | * Makefile.in: Update dependencies. | |
1067 | ||
281b533b DJ |
1068 | 2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> |
1069 | ||
1070 | * infcmd.c: Include "observer.h". | |
1071 | (post_create_inferior): New function. | |
1072 | (run_command_1): Call it. Also call proceed. | |
1073 | * inferior.h (post_create_inferior): New prototype. | |
1074 | * Makefile.in (infcmd.o): Update. | |
1075 | ||
1076 | * gnu-nat.c (gnu_create_inferior): Don't call proceed. | |
1077 | * go32-nat.c (go32_create_inferior): Likewise. | |
1078 | * nto-procfs.c (procfs_create_inferior): Likewise. | |
1079 | * procfs.c (procfs_create_inferior): Likewise. | |
1080 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
1081 | * remote.c (extended_remote_create_inferior) | |
1082 | (extended_remote_async_create_inferior): Likewise. | |
1083 | * win32-nat.c (win32_create_inferior): Likewise. | |
1084 | * wince.c (child_create_inferior): Likewise. | |
1085 | ||
1086 | * monitor.c (monitor_create_inferior): Don't call proceed. | |
1087 | Set the PC manually. | |
1088 | * ocd.c (ocd_create_inferior): Likewise. | |
1089 | * remote-e7000.c (e7000_create_inferior): Likewise. | |
1090 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
1091 | * remote-mips.c (mips_create_inferior): Likewise. | |
1092 | * remote-rdp.c (remote_rdp_create_inferior): Likewise. | |
1093 | * remote-sds.c (sds_create_inferior): Likewise. | |
1094 | * remote-st.c (st2000_create_inferior): Likewise. | |
1095 | ||
1096 | * inf-ptrace.c (inf_ptrace_create_inferior): Don't call | |
1097 | proceed or observer_notify_inferior_created. | |
1098 | * inf-ttrace.c (inf_ttrace_create_inferior): Likewise. | |
1099 | * inftarg.c (child_create_inferior): Likewise. | |
1100 | ||
e23fc6de DJ |
1101 | 2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> |
1102 | ||
1103 | * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints | |
1104 | after mourning the inferior. | |
1105 | ||
13d6656b JB |
1106 | 2006-01-24 Jim Blandy <jimb@redhat.com> |
1107 | ||
1108 | * valarith.c (binop_user_defined_p): Handle refs to typedefs. | |
1109 | ||
59f92a09 FF |
1110 | 2006-01-24 Fred Fish <fnf@specifix.com> |
1111 | ||
1112 | * parse.c (source.h): Include. | |
1113 | (parse_exp_in_context): Use static source context if no | |
1114 | other context found. | |
1115 | ||
dda63807 AS |
1116 | 2006-01-23 Andrew Stubbs <andrew.stubbs@st.com> |
1117 | ||
1118 | * sh-tdep.c: Include reggroups.h. | |
1119 | (sh_register_reggroup_p): New function. | |
1120 | (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p. | |
1121 | * Makefile.in (sh-tdep.o): Add dependency on reggroups.h. | |
1122 | ||
4b505b12 AS |
1123 | 2006-01-23 Andrew Stubbs <andrew.stubbs@st.com> |
1124 | ||
1125 | * cli/cli-cmds.c: Include fcntl.h. | |
1126 | (source_command): Use the GDB search path to find script files. | |
1127 | ||
721d14ba DJ |
1128 | 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com> |
1129 | ||
1130 | PR tdep/2029 | |
1131 | Suggested by Till Straumann <strauman@slac.stanford.edu>: | |
1132 | * rs6000-tdep.c (skip_prologue): Update check for later mtlr | |
1133 | instructions. Handle PIC bcl. | |
1134 | ||
3d64d617 DJ |
1135 | 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com> |
1136 | ||
1137 | * config/djgpp/README: Typo fix. | |
1138 | * config/djgpp/fnchange.lst: Update. | |
1139 | ||
0a8f48b9 MK |
1140 | 2006-01-22 Mark Kettenis <kettenis@gnu.org> |
1141 | ||
c893be75 MK |
1142 | * sparc-tdep.h (struct gdbarch_tdep): Add step_trap member. |
1143 | (sparc_address_from_register): New prototype. | |
1144 | (sparcnbsd_step_trap): New prototype. | |
1145 | * sparc-tdep.c (sparc_address_from_register): Make globally | |
1146 | visible. | |
1147 | (sparc_analyze_control_transfer): Change prototype to accept | |
1148 | `struct gdbarch *' as first argument. Allow for optional hnadling | |
1149 | for trap instructions. | |
1150 | (sparc_step_trap): New function. | |
1151 | (sparc_software_single_step): Adjust call to | |
1152 | sparc_analyze_control_trabsfer. | |
1153 | (sparc32_gdbarch_init): Initialize TDEP->step_trap. | |
1154 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function. | |
1155 | (sparc32nbsd_init_abi): Set TDEP->step_trap. | |
1156 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap. | |
1157 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap. | |
1158 | ||
0a8f48b9 MK |
1159 | * sparc-tdep.c (sparc32_return_value): Convert to use |
1160 | RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of | |
1161 | RETURN_VALUE_STRUCT_CONVENTION. | |
1162 | (sparc32_extract_struct_value_address): Remove. | |
1163 | ||
1f3a99d5 DJ |
1164 | 2006-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
1165 | ||
1166 | * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address) | |
1167 | (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte. | |
1168 | ||
84eb3c4f DJ |
1169 | 2006-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
1170 | ||
1171 | * solib.c (info_sharedlibrary_command): Avoid internal_error. | |
1172 | ||
878d9193 MK |
1173 | 2006-01-21 Mark Kettenis <kettenis@gnu.org> |
1174 | ||
1175 | * i386-tdep.c (i386_mxcsr_type): New variable. | |
1176 | (i386_init_types): Initialize i386_mxcsr_type. | |
1177 | (i386_register_type): Return i386_mxcsr_type for %mxcsr. | |
1178 | * i386-tdep.c (i386_mxcsr_type): New extern. | |
1179 | * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for | |
1180 | %mxcsr. | |
1181 | ||
acab6ab2 MM |
1182 | 2006-01-20 Mark Mitchell <mark@codesourcery.com> |
1183 | ||
1184 | * Makefile.in (remote-rdi.o): Remove. | |
1185 | (rdi-share/libangsd.a): Likewise. | |
1186 | * README: Don't mention remote-rdi.c. | |
1187 | * NEWS: Mention removal of rdi-share. | |
1188 | * configure.ac: Don't configure rdi-share subdirectory. | |
1189 | * remote-rdi.c: Remove. | |
1190 | * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o. | |
1191 | (TDEPLIBS): Remove rdi-share/libangsd.a. | |
1192 | * rdi-share/Makefile.am: Remove. | |
1193 | * rdi-share/Makefile.in: Likewise. | |
1194 | * rdi-share/README.CYGNUS: Likewise. | |
1195 | * rdi-share/aclocal.m4: Likewise. | |
1196 | * rdi-share/adp.h: Likewise. | |
1197 | * rdi-share/adperr.h: Likewise. | |
1198 | * rdi-share/angel.h: Likewise. | |
1199 | * rdi-share/angel_bytesex.c: Likewise. | |
1200 | * rdi-share/angel_bytesex.h: Likewise. | |
1201 | * rdi-share/angel_endian.h: Likewise. | |
1202 | * rdi-share/ardi.c: Likewise. | |
1203 | * rdi-share/ardi.h: Likewise. | |
1204 | * rdi-share/armdbg.h: Likewise. | |
1205 | * rdi-share/buffers.h: Likewise. | |
1206 | * rdi-share/chandefs.h: Likewise. | |
1207 | * rdi-share/channels.h: Likewise. | |
1208 | * rdi-share/chanpriv.h: Likewise. | |
1209 | * rdi-share/configure: Likewise. | |
1210 | * rdi-share/configure.in: Likewise. | |
1211 | * rdi-share/crc.c: Likewise. | |
1212 | * rdi-share/crc.h: Likewise. | |
1213 | * rdi-share/dbg_conf.h: Likewise. | |
1214 | * rdi-share/dbg_cp.h: Likewise. | |
1215 | * rdi-share/dbg_hif.h: Likewise. | |
1216 | * rdi-share/dbg_rdi.h: Likewise. | |
1217 | * rdi-share/devclnt.h: Likewise. | |
1218 | * rdi-share/devices.h: Likewise. | |
1219 | * rdi-share/devsw.c: Likewise. | |
1220 | * rdi-share/devsw.h: Likewise. | |
1221 | * rdi-share/drivers.c: Likewise. | |
1222 | * rdi-share/drivers.h: Likewise. | |
1223 | * rdi-share/etherdrv.c: Likewise. | |
1224 | * rdi-share/ethernet.h: Likewise. | |
1225 | * rdi-share/host.h: Likewise. | |
1226 | * rdi-share/hostchan.c: Likewise. | |
1227 | * rdi-share/hostchan.h: Likewise. | |
1228 | * rdi-share/hsys.c: Likewise. | |
1229 | * rdi-share/hsys.h: Likewise. | |
1230 | * rdi-share/logging.c: Likewise. | |
1231 | * rdi-share/logging.h: Likewise. | |
1232 | * rdi-share/msgbuild.c: Likewise. | |
1233 | * rdi-share/msgbuild.h: Likewise. | |
1234 | * rdi-share/params.c: Likewise. | |
1235 | * rdi-share/params.h: Likewise. | |
1236 | * rdi-share/rx.c: Likewise. | |
1237 | * rdi-share/rxtx.h: Likewise. | |
1238 | * rdi-share/serdrv.c: Likewise. | |
1239 | * rdi-share/serpardr.c: Likewise. | |
1240 | * rdi-share/sys.h: Likewise. | |
1241 | * rdi-share/tx.c: Likewise. | |
1242 | * rdi-share/unixcomm.c: Likewise. | |
1243 | * rdi-share/unixcomm.h: Likewise. | |
1244 | ||
4577207e MK |
1245 | 2006-01-21 Mark Kettenis <kettenis@gnu.org> |
1246 | ||
1247 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): | |
1248 | Change type of last argument to `gdb_byte *'. | |
1249 | ||
34f55018 MK |
1250 | 2006-01-20 Mark Kettenis <kettenis@gnu.org> |
1251 | ||
1252 | * hppa-tdep.h (hppa_in_solib_call_trampoline) | |
1253 | (hppa_skip_trampoline_code): New prototypes. | |
1254 | * hppa-tdep.c (struct insn_pattern): New. | |
1255 | (hppa_long_branch_stub, hppa_long_branch_pic_stub) | |
1256 | (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved | |
1257 | here from hppa-linux-tdep.c | |
1258 | (HPPA_MAX_INSN_PATTERN_LEN): New define. | |
1259 | (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall) | |
1260 | (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New | |
1261 | functions based on functions removed from hppa-linux-tdep.c. | |
1262 | * hppa-linux-tdep.c (hppa_long_branch_stub) | |
1263 | (hppa_long_branch_pic_stub, hppa_import_stub) | |
1264 | (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c. | |
1265 | (insns_match_pattern_relaxed, hppa_linux_in_dyncall) | |
1266 | (hppa_linux_in_solib_call_trampoline) | |
1267 | (hppa_linux_skip_trampoline_code): Removed. | |
1268 | (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to | |
1269 | hppa_in_solib_call_trampoline and skip_trampoline_code to | |
1270 | hppa_skip_trampoline_code. | |
1271 | * hppabsd-tdep.c (hppabsd_init_abi): Set | |
1272 | TDEP->in_solib_call_trampoline and skip_trampoline_code. | |
1273 | ||
7be93b9e JB |
1274 | 2006-01-20 Jim Blandy <jimb@redhat.com> |
1275 | ||
f408839d JB |
1276 | * MAINTAINERS: Change my E-mail address. |
1277 | ||
7be93b9e JB |
1278 | * configure.ac: Add -Wno-pointer-sign to list of build warnings. |
1279 | * configure: Regenerated. | |
1280 | ||
b2a74f99 DJ |
1281 | 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
1282 | ||
1283 | * MAINTAINERS: Overhaul. | |
1284 | ||
4f2aea11 MK |
1285 | 2006-01-18 Mark Kettenis <kettenis@gnu.org> |
1286 | ||
5ae96ec1 MK |
1287 | Based on a previous patch form Michal Ludvig: |
1288 | * amd64-tdep.c (amd64_sse_type): Remove. | |
1289 | (amd64_register_info): Use i386_eflags_type and i386_sse_type | |
1290 | where appropriate. | |
1291 | (AMD64_NUM_REGS): Use ARRAY_SIZE. | |
1292 | (amd64_register_type): Remove code to build amd_sse_type. | |
1293 | * i386-tdep.c (i386_eflag_type): New variable. | |
1294 | (i386_mmx_type, i386_sse_type): Make global. | |
1295 | (i386_init_types): New function. | |
1296 | (i386_build_mmx_type, i386_build_sse_type): Remove functions. | |
1297 | (i386_register_type): Return i386_eflag_type, i386_sse_type and | |
1298 | i386_mmx_type when appropriate. | |
1299 | (_initialize_i386_tdep): Call i386_init_types. | |
1300 | * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type): | |
1301 | Declare extern. | |
1302 | ||
4f2aea11 MK |
1303 | Based on a previous patch form Michal Ludvig: |
1304 | * gdbtypes.c (append_flags_type_flag, init_flags_type): New | |
1305 | functions. | |
1306 | (is_integral_type, rank_one_type, recursive_dump_type): Add | |
1307 | support for TYPE_CODE_FLAGS. | |
1308 | * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS. | |
1309 | (append_flags_type_field, init_flags_type): New prototypes. | |
1310 | * ada-valprint.c (ada_val_print_1): Add support for | |
1311 | TYPE_CODE_FLAGS. | |
1312 | * c-valprint.c (c_val_print): Likewise. | |
1313 | * f-valprint.c (f_val_print): Likewise. | |
1314 | * p-valprint.c (pascal_val_print): Likewise. | |
1315 | * valprint.c (val_print_type_code_flags): New function. | |
1316 | * valprint.h (val_print_type_code_flags): New prototype. | |
1317 | * value.c (unpack_long, value_from_longest): Add support for | |
1318 | TYPE_CODE_FLAGS. | |
1319 | ||
4cdb5adf CF |
1320 | 2006-01-17 Christopher Faylor <cgf@timesys.com> |
1321 | ||
1322 | * MAINTAINERS: Very belatedly remove myself from from the list of | |
1323 | people caught up in the paper trail. | |
1324 | ||
1193688d JB |
1325 | 2006-01-17 Jim Blandy <jimb@redhat.com> |
1326 | ||
4e38b386 JB |
1327 | * symtab.h (struct general_symbol_info): Use gdb_byte for |
1328 | value.bytes. | |
1329 | * stabsread.c (define_symbol): Use gdb_byte for the buffer holding | |
1330 | a floating-point constant's value. | |
1331 | * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer | |
1332 | to char *. | |
1333 | * findvar.c (read_var_value): Eliminate needless temporary. | |
1334 | ||
1193688d JB |
1335 | * dwarf2-frame.c (dwarf2_read_section): Update forward declaration |
1336 | to match prior change to dwarf2_read_section's type. | |
1337 | ||
0d1243d9 PG |
1338 | 2006-01-16 Paul Gilliam <pgilliam@us.ibm.com> |
1339 | ||
1340 | * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define. | |
1341 | * rs6000-tdep.c (insn_changes_sp_or_jumps) | |
1342 | (rs6000_in_function_epilogue_p): New functions. | |
1343 | (rs6000_gdbarch_init): Set in_function_epilogue_p. | |
1344 | ||
fe1b8b76 JB |
1345 | 2006-01-17 Jim Blandy <jimb@redhat.com> |
1346 | ||
1347 | * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head) | |
1348 | (struct line_header, struct partial_die_info, struct dwarf_block): | |
1349 | Use gdb_byte for members that refer to Dwarf section contents. | |
1350 | (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines, | |
1351 | dwarf_decode_macros, load_comp_unit, load_partial_dies, | |
1352 | locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev, | |
1353 | read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes, | |
1354 | read_8_bytes, read_address, read_attribute, read_attribute_value, | |
1355 | read_comp_unit, read_comp_unit_head, read_die_and_children, | |
1356 | read_die_and_siblings, read_full_die, read_indirect_string, | |
1357 | read_initial_length, read_n_bytes, read_offset, read_partial_die, | |
1358 | read_signed_leb128, read_string, read_unsigned_leb128, | |
1359 | skip_children, skip_leb128, skip_one_die): Same. | |
1360 | ||
a0841d7a DJ |
1361 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
1362 | ||
1363 | * complaints.c (stop_whining): Make signed. | |
1364 | * linux-thread-db.c (thread_db_store_registers): Use gdb_byte. | |
1365 | ||
939b2b42 DJ |
1366 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
1367 | ||
1368 | * dwarf2read.c, remote-fileio.c, remote.h: Update copyright | |
1369 | notices. | |
1370 | ||
891d2f0b DJ |
1371 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
1372 | ||
1373 | * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length) | |
1374 | (read_offset): Change BYTES_READ argument to unsigned int. | |
1375 | (dwarf2_build_psymtabs_easy, read_comp_unit_head) | |
1376 | (create_all_comp_units, dwarf2_get_pc_bounds) | |
1377 | (dwarf_decode_line_header, var_decode_location) | |
1378 | (dwarf_decode_macros): Change local BYTES_READ variables to | |
1379 | unsigned int. | |
1380 | (read_indirect_string): Remove obsolete cast. | |
1381 | ||
cfd77fa1 DJ |
1382 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
1383 | ||
1384 | * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte | |
1385 | argument. | |
1386 | (remote_fileio_func_open, remote_fileio_func_rename) | |
1387 | (remote_fileio_func_unlink, remote_fileio_func_stat) | |
1388 | (remote_fileio_func_fstat, remote_fileio_func_gettimeofday) | |
1389 | (remote_fileio_func_system): Cast the arguments to | |
1390 | remote_read_bytes and remote_write_bytes. | |
1391 | (remote_fileio_func_read, remote_fileio_func_write): Use a | |
1392 | gdb_byte buffer. | |
1393 | * remote.h (remote_read_bytes, remote_write_bytes): Update | |
1394 | prototypes. | |
1395 | * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument. | |
1396 | (threadref_to_int): Replace bogus char * cast. | |
1397 | (remote_unpack_thread_info_response): Use int for tag. | |
1398 | (remote_threads_extra_info, remote_check_symbols): Cast string | |
1399 | arguments to hex2bin. | |
1400 | (remote_wait): Use a char buffer for packets and a gdb_byte | |
1401 | buffer for registers. | |
1402 | (remote_async_wait): Likewise. | |
1403 | (remote_prepare_to_store, store_register_using_P) | |
1404 | (remote_store_registers): Use gdb_byte buffers. | |
1405 | (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer | |
1406 | for MYADDR and char buffers for strings. | |
1407 | (remote_xfer_partial): Add casts for string operations on READBUF. | |
1408 | (remote_rcmd): Cast strings passed to bin2hex. | |
1409 | ||
60bf0650 MM |
1410 | 2006-01-16 Mark Mitchell <mark@codesourcery.com> |
1411 | ||
1412 | * aclocal.m4: Regenerate. | |
1413 | ||
60e81fcc NS |
1414 | 2006-01-16 Nathan Sidwell <nathan@codesourcery.com> |
1415 | ||
1416 | * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY, | |
1417 | MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2, | |
1418 | MT_COPRO_PSEUDOREG_REGS members. Adjust MT_NUM_PSEUDO_REGS. | |
1419 | (mt_register_name): Lazily synthesize name for coprocessor pseudo | |
1420 | array registers. | |
1421 | (mt_copro_register_type): New. Broken out of ... | |
1422 | (mt_register_type): ... here. Use it. Deal with coprocessor | |
1423 | pseudo array. | |
1424 | (mt_select_coprocessor): New. | |
1425 | (mt_pseudo_register_read, mt_pseudo_register_write): Deal with | |
1426 | coprocessor pseudo array. | |
1427 | ||
f365de73 AS |
1428 | 2006-01-16 Andrew Stubbs <andrew.stubbs@st.com> |
1429 | ||
1430 | * breakpoint.c (insert_breakpoints): Check that a thread exists | |
1431 | before inserting thread specific breakpoints. | |
1432 | ||
9d519230 MK |
1433 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
1434 | ||
6062517a MK |
1435 | * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous |
1436 | commit. | |
1437 | ||
9d519230 MK |
1438 | * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint. |
1439 | * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove. | |
1440 | * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove. | |
1441 | * config/alpha/nm-nbsd.h: Remove file. | |
1442 | * config/alpha/nm-fbsd.h: Remove file | |
1443 | * config/alpha/nbsd.mh (NAT_FILE): Remove. | |
1444 | * config/alpha/fbsd.mh (NAT_FILE): Remove. | |
1445 | ||
0a029df5 DJ |
1446 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
1447 | ||
1448 | * macroexp.c (expand): Initialize argc. | |
1449 | * stabsread.c (read_type): Handle errors from read_args. | |
1450 | (read_args): Return NULL for errors. | |
1451 | ||
1731e543 MK |
1452 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
1453 | ||
1454 | * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of | |
1455 | strcmp to compare string to a byte buffer. | |
1456 | ||
777ea8f1 DJ |
1457 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
1458 | ||
1459 | * printcmd.c (output_command): Always initialize fmt.size. | |
1460 | (printf_command): Use gdb_byte. | |
1461 | * symfile.c (separate_debug_file_exists): Use gdb_byte. | |
1462 | (load_section_callback, read_target_long_array): Likewise. | |
1463 | (simple_read_overlay_table, simple_read_overlay_region_table) | |
1464 | (simple_overlay_update_1): Correct calls to read_target_long_array. | |
1465 | * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *. | |
1466 | Also change local pointers. | |
1467 | (val_print_string): Use gdb_byte. | |
1468 | ||
4b17b389 MK |
1469 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
1470 | ||
1471 | * alphafbsd-tdep.c: Include "solib-svr4.h". | |
1472 | (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
1473 | svr4_lp64_fetch_link_map_offsets. | |
1474 | * Makefile.in (alphafbsd-tdep.o): Update dependencies. | |
1475 | * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and | |
1476 | solib-svr4.o. | |
1477 | * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o | |
1478 | and solib-legacy.o. | |
1479 | * config/alpha/nm-fbsd.h: Don't include "solib.h". | |
1480 | ||
bd4109fb DJ |
1481 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
1482 | ||
1483 | * source.c (_initialize_source): Use add_setshow_integer_cmd. | |
1484 | ||
1dce6535 DJ |
1485 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
1486 | ||
1487 | * linux-fork.c (delete_fork_command, detach_fork_command): Use | |
1488 | PIDGET. | |
1489 | ||
76a9d10f MK |
1490 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
1491 | ||
1492 | * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets): | |
1493 | Remove. | |
1494 | (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
1495 | svr4_ilp32_fetch_link_map_offsets. | |
1496 | * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove | |
1497 | function. | |
1498 | (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to | |
1499 | svr4_ilp32_fetch_link_map_offsets. | |
1500 | * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets) | |
1501 | (mips64_linux_svr4_fetch_link_map_offsets): Remove functions. | |
1502 | (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
1503 | svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets | |
1504 | where appropriate. | |
1505 | * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets): | |
1506 | Simply call svr4_ilp32_fetch_link_map_offsets. | |
1507 | (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call | |
1508 | svr4_lp64_fetch_link_map_offsets. | |
1509 | * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove | |
1510 | function. | |
1511 | (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
1512 | svr4_ilp32_fetch_link_map_offsets. | |
1513 | * s390-tdep.c (s390_svr4_fetch_link_map_offsets) | |
1514 | (s390x_svr4_fetch_link_map_offsets): Remove functions. | |
1515 | (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to | |
1516 | svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets | |
1517 | where appropriate. | |
1518 | ||
469db033 MK |
1519 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
1520 | ||
25224166 MK |
1521 | * arm-tdep.c (arm_return_value): Change type of readbuf and |
1522 | writebuf arguments to `gdb_byte *'. | |
1523 | ||
469db033 MK |
1524 | * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h". |
1525 | * Makefile.in (s390-tdep.o): Update dependencies. | |
1526 | ||
4dd7c9f6 MK |
1527 | 2006-01-14 Mark Kettenis <kettenis@gnu.org> |
1528 | ||
081bf9da MK |
1529 | * sol2-tdep.h. sol2-tdep.c: New files. |
1530 | * amd64-sol2-tdep.c: Include "sol2-tdep.h". | |
1531 | (amd64_sol2_init_abi): Set skip_solib_resolver. | |
1532 | * i386-sol2-tdep.c: Include "sol2-tdep.h". | |
1533 | (i386_sol2_init_abi): Set skip_solib_resolver. | |
1534 | * sparc-sol2-tdep.c: Include "sol2-tdep.h". | |
1535 | (sparc32_sol2_init_abi): Set skip_solib_resolver. | |
1536 | * sparc64-sol2-tdep.c: Include "sol2-tdep.h". | |
1537 | (sparc64_sol2_init_abi): Set skip_solib_resolver. | |
1538 | * Makefile.in (sol2_tdep_h): New variable. | |
1539 | (ALLDEPFILES): Add sol2-tdep.c. | |
1540 | (sol2-tdep.o): New target. | |
1541 | (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o) | |
1542 | (sparc64-sol2-tdep.o): Update dependencies | |
1543 | * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o. | |
1544 | * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. | |
1545 | * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o. | |
1546 | * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. | |
1547 | ||
c0f96416 MK |
1548 | * hppa-linux-tdep.c: Fix copyright indentation. |
1549 | ||
4dd7c9f6 MK |
1550 | * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM. |
1551 | * hppabsd-nat.c (hppabsd_fpregset_supplies_p) | |
1552 | (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New | |
1553 | functions. | |
1554 | (hppabsd_fetch_registers, hppabsd_store_registers): Handle | |
1555 | floating-point registers. | |
1556 | ||
6da86618 MM |
1557 | 2006-01-13 Mark Mitchell <mark@codesourcery.com> |
1558 | ||
1559 | * event-loop.c (gdb_select): Detect file descriptors that have | |
1560 | been closed. | |
1561 | ||
ed944ce7 MK |
1562 | 2006-01-13 Mark Kettenis <kettenis@gnu.org> |
1563 | ||
1564 | * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64, | |
1565 | and long_double_format accordingly. | |
1566 | ||
03ee6b2e PH |
1567 | 2006-01-12 Paul N. Hilfinger <hilfinger@adacore.com> |
1568 | ||
1569 | * ada-exp.y (yyerror): Change message to ignore the argument, avoiding | |
1570 | translation problems. | |
1571 | * ada-lang.c (ada_value_struct_elt): Change interface and handling | |
1572 | of errors to avoid translation problem (and less than optimal error | |
1573 | messages). | |
1574 | (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp): | |
1575 | Use new interface to ada_value_struct_elt. | |
1576 | * ada_lang.h (ada_value_struct_elt): Update declaration to new | |
1577 | interface. | |
1578 | ||
1579 | * ChangeLog: remove reference to ada-tasks.c from entry of | |
1580 | 2006-01-07. | |
1581 | ||
24b06219 MK |
1582 | 2006-01-11 Mark Kettenis <kettenis@gnu.org> |
1583 | ||
1584 | * remote.c (get_memory_packet_size, set_thread) | |
1585 | (remote_unpack_thread_info_response, remote_get_threadinfo) | |
1586 | (parse_threadlist_response, remote_get_threadlist) | |
1587 | (remote_current_thread, remote_threads_info) | |
1588 | (remote_threads_extra_info, extended_remote_restart, get_offsets) | |
1589 | (remote_check_symbols, remote_open_1, remote_detach) | |
1590 | (remote_async_wait, remote_fetch_registers) | |
1591 | (remote_store_registers, check_binary_download, putpkt_binary) | |
1592 | (remote_insert_breakpoint, remote_insert_watchpoint) | |
1593 | (remote_remove_watchpoint, remote_insert_hw_breakpoint) | |
1594 | (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd) | |
1595 | (packet_command): Remove redundant parenthesis. | |
1596 | ||
15550d6b MK |
1597 | 2006-01-10 Mark Kettenis <kettenis@gnu.org> |
1598 | ||
dfb65433 MK |
1599 | * corefile.c (read_memory_integer, read_memory_unsigned_integer) |
1600 | (read_memory_typed_address, write_memory) | |
1601 | (write_memory_unsigned_integer, write_memory_signed_integer): Use | |
1602 | gdb_byte where appropriate. | |
1603 | ||
508416a1 MK |
1604 | * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into |
1605 | 'gdb_byte *'. | |
1606 | ||
f6519ebc MK |
1607 | * target.h (target_read_memory_partial, target_write_memory_partial): |
1608 | Change second argument to 'gdb_byte *'. | |
1609 | * target.c (target_xfer_memory_partial): Change third argument to | |
1610 | 'gdb_byte *'. | |
1611 | (target_read_memory_partial, target_write_memory_partial): Change | |
1612 | second argument to 'gdb_byte *'. | |
1613 | ||
15550d6b MK |
1614 | * linespec.c (decode_objc): Make i1 and i2 unsigned. |
1615 | (find_method): Set values.sals to NULL. | |
1616 | ||
d7a30af7 MK |
1617 | 2006-01-09 Mark Kettenis <kettenis@gnu.org> |
1618 | ||
1619 | * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead | |
1620 | of 'char *' in cast. | |
1621 | ||
e1d5a0d2 PH |
1622 | 2006-01-07 Paul N. Hilfinger <hilfinger@adacore.com> |
1623 | ||
1624 | * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup. | |
03ee6b2e | 1625 | * ada-lang.c: I18n markup. |
e1d5a0d2 PH |
1626 | Editorial: change "can not" => "cannot" throughout. |
1627 | ||
790124be MK |
1628 | 2006-01-07 Mark Kettenis <kettenis@gnu.org> |
1629 | ||
1630 | * Makefile.in: Sort dependencies. | |
1631 | ||
3c481fdc EZ |
1632 | 2006-01-07 Eli Zaretskii <eliz@gnu.org> |
1633 | ||
1634 | * top.c (control_level): Remove unused variable. | |
1635 | ||
cb5d864f FF |
1636 | 2006-01-06 Fred Fish <fnf@specifix.com> |
1637 | ||
1638 | * objfiles.c (source.h): Include. | |
1639 | (free_objfile): Update comment about clear_symtab_users(). | |
1640 | (free_objfile): Check all symtabs of objfile being freed and if | |
1641 | one of them is the current source symtab, call | |
1642 | clear_current_source_symtab_and_line(). | |
1643 | ||
ac264b3b MS |
1644 | 2006-01-04 Michael Snyder <msnyder@redhat.com> |
1645 | ||
1646 | Checkpoint/Restart for Linux. | |
1647 | * linux-nat.c: Add support for debugging multiple forks. | |
1648 | Add #include for linux-fork.h (interface spec). | |
1649 | (super_mourn_inferior): New function pointer. | |
1650 | (child_mourn_inferior): New function / target method. | |
1651 | (linux_target): Claim to_mourn_inferior method pointer. | |
1652 | (child_follow_fork): Call interface to linux-fork, conditionally | |
1653 | add new fork processes to list of debugged processes. | |
1654 | (kill_inferior): Use interface to linux-fork to kill | |
1655 | multiple processes. | |
1656 | ||
1657 | * linux-fork.h: New file. | |
1658 | * linux-fork.c: New file. Support for debugging multiple forks | |
1659 | of the same program. Support for checkpoint and restart commands. | |
1660 | ||
1661 | * infrun.c (nullify_last_target_wait_ptid): New function. | |
1662 | ||
1663 | * Makefile.in: Add linux-fork. | |
1664 | * config/*/linux.mh: Add linux-fork. | |
1665 | * NEWS: Mention new functionality. | |
1666 | ||
f98ce7c2 PH |
1667 | 2006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com> |
1668 | ||
1669 | * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc): | |
1670 | Change uses of "illegal" to "invalid". | |
1671 | ||
52ce6436 PH |
1672 | 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> |
1673 | ||
1674 | * ada-exp.y: Considerable reorganization to move functionality | |
1675 | from ada-lex.l to here, where it is logically more appropriate. | |
1676 | The original reason, however, was to prevent premature name | |
1677 | lookups for selector names in record aggregates. | |
1678 | (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns | |
1679 | NAME for all of these. | |
1680 | (VAR): New artificial token to clarify precedence rules. | |
1681 | (OTHERS): New lexeme. | |
1682 | (empty_stoken): New symbol. | |
1683 | (%union): Remove ssym, voidval. | |
1684 | (%type): Remove <voidval> type declarations. | |
1685 | (syntax definitions): Add aggregates. | |
1686 | Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING. | |
1687 | Rename some non-terminals to be closer to reference manual usage. | |
1688 | Tighten up expression syntax to disallow certain non-Ada | |
1689 | constructions such as X and then Y or else Z. | |
1690 | (ada_parse): Remove initialization of left_block_context. | |
1691 | (write_var_from_name): Remove. | |
1692 | (write_var_or_type): New function, containing previous code from | |
1693 | defunct write_var_from_name and name_lookup. | |
1694 | (block_lookup): New function, moved from ada-lex.l | |
1695 | (select_possible_type_sym): New function, factored out of | |
1696 | name_lookup, which used to be in ada-lex.l. | |
1697 | (find_primitive_type): Ditto. | |
1698 | (chop_selector): Ditto. | |
1699 | (write_ambiguous_var): New function, factored out of defunct | |
1700 | write_var_from_name. | |
1701 | (write_selectors): New function. | |
1702 | (write_name_assoc): New function. | |
1703 | (write_exp_op_with_string): New function. | |
1704 | ||
1705 | * ada-lex.l (processId): Change interface to return stoken. | |
1706 | (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove. | |
1707 | (block_lookup, name_lookup): Remove. Functionality moved to | |
1708 | ada-exp.y. | |
1709 | (state IN_STRING): Remove. | |
1710 | (rules): Handle string escapes in processString. | |
1711 | Add 'others' token. | |
1712 | Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in | |
1713 | yylval.sval (as simple strings). | |
1714 | All name look-ups now handled in ada-exp.y. | |
1715 | Introduce "::" (COLONCOLON) token and return as separate token. | |
1716 | (processId): Change return convention. Comment. | |
1717 | Leave leading "'" in place. | |
1718 | (processString): New function. | |
1719 | (find_dot_all): Add note to comment. | |
1720 | Fix problem that allowed match only at the end. | |
1721 | ||
1722 | * ada-lang.c: Introduce aggregates. | |
1723 | (find_struct_field): Add new parameter to count fields skipped, and | |
1724 | allow other output parameters to be NULL. | |
1725 | (value_tag_from_contents_and_address, ada_value_struct_elt): Use | |
1726 | new find_struct_field. | |
1727 | (ada_index_struct_field, assign_aggregate, ada_is_array_type) | |
1728 | (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field) | |
1729 | (num_component_specs, assign_component, assign_aggregate): | |
1730 | (aggregate_assign_from_choices,aggregate_assign_positional) | |
1731 | (aggregate_assign_others,add_component_interval): | |
1732 | New functions. | |
1733 | (ada_evaluate_subexp): Declare. | |
1734 | Add aggregate-related operators. | |
1735 | (ada_forward_operator_length): Declare. | |
1736 | (resolve_subexp): Add cases for new aggregate operators and OP_NAME. | |
1737 | Consolidate Ada operators, using ada_forward_operator_length. | |
1738 | (ada_search_struct_field): Search in forward order. | |
1739 | (ADA_OPERATORS): Add new aggregate operators. | |
1740 | (ada_operator_length, ada_op_name, ada_forward_operator_length) | |
1741 | (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate | |
1742 | operators and OP_NAME. | |
1743 | (ada_type_of_array): Use longest_to_int. | |
1744 | (value_assign_to_component): New function. | |
1745 | (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body): | |
1746 | Add OP_NAME case. | |
1747 | (ada_forward_operator_length, ada_dump_subexp_body): | |
1748 | Add OP_STRING case. | |
1749 | ||
1750 | * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS, | |
1751 | OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL. | |
1752 | ||
529cad9c PH |
1753 | 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> |
1754 | ||
1755 | * ada-lang.c (process_raise_exception_name): Remove extraneous | |
1756 | definition from unsubmitted code. | |
1757 | ||
1758 | (is_lower_alphanum): New function. | |
1759 | (ada_decode): Add support for decoding protected object subprograms | |
1760 | and entries, and of entities declared inside protected object | |
1761 | subprograms. | |
1762 | Also add missing handling for__{DIGITS}+ suffixes. | |
1763 | Allow '$<digits>' as valid overloading suffix. | |
1764 | (is_name_suffix): Add handling for protected type entriy suffixes. | |
1765 | Also add support for protected type subprogram suffixes, but keep | |
1766 | it commented out for now, as there is an ambiguity between these | |
1767 | entities and other internally generated entities. | |
1768 | Allow '$<digits>' as valid overloading suffix. | |
1769 | (is_valid_name_for_wild_match): New function. | |
1770 | (wild_match): Add an exra level of verification of the entity name | |
1771 | before declaring it a match for the given pattern. | |
1772 | ||
1773 | (ada_type_of_array, ada_evaluate_subexp): Use more proper | |
1774 | longest_to_int rather than cast. | |
1775 | ||
1776 | (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment. | |
1777 | ||
1778 | (ada_coerce_to_simple_array): Call check_size to make sure | |
1779 | that the object size is reasonable. | |
1780 | ||
1781 | (ada_value_primitive_packed_val): Use correct location in target | |
1782 | buffer for extracting packed record fields that are themselves records. | |
1783 | ||
1784 | (add_defn_to_vec): Do not try to replace a stub type by its full | |
1785 | type. Avoids a potential infinite loop. | |
1786 | ||
1787 | (ada_lookup_symbol): Move return incorrectly placed return statement, | |
1788 | causing a loop that should be scanning all object files to only | |
1789 | scan the first one. | |
1790 | ||
1791 | (ada_tag_name_2): New function. | |
1792 | (ada_tag_name_1): If no 'tsd' field found in the dispatching table, | |
1793 | use alternative representation. | |
1794 | ||
1795 | (ada_find_renaming_symbol): Strip the function name suffix when | |
1796 | computing the XR type name. | |
1797 | ||
1798 | (ada_to_fixed_type): Try determining the tag only if we have the | |
1799 | object's address. | |
1800 | (to_fixed_array_type): Add comments. | |
1801 | ||
1802 | (ada_check_typedef): Replace expression checking whether the given | |
1803 | type is a stub or not by a "call" to TYPE_STUB. Clearer and more | |
1804 | consistent. | |
1805 | ||
1806 | * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow | |
1807 | '$' in addition to '.' for runtime auxiliary function name suffixes. | |
1808 | See changes to ada_decode above. | |
1809 | ||
1810 | (struct task_control_block): Add field called_task. (This change is | |
1811 | to keep synchronized with our local sources; it does not affect the | |
1812 | public version yet.) | |
1813 | ||
1814 | * ada-typeprint.c (ada_print_type): Use int_string for printing | |
1815 | modulus of modular type. | |
1816 | ||
1817 | (print_range): Trivial editorial comment fix. | |
1818 | ||
1819 | * ada-valprint.c (ada_emit_char): Use normal Ada syntax for | |
1820 | double quote in string. | |
1821 | ||
9b799fe6 JB |
1822 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
1823 | ||
1824 | * top.c: Add 2006 to list of copyright years in file header. | |
1825 | ||
0bee0712 JB |
1826 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
1827 | ||
1828 | * top.c (print_gdb_version): Update copyright year to 2006. | |
1829 | ||
13c763f4 JB |
1830 | 2006-01-01 Roger Sayle <roger@eyesopen.com> |
1831 | Elena Zannoni <ezannoni@redhat.com> | |
1832 | ||
1833 | PR symtab/1651 | |
1834 | * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab | |
1835 | for NULL before assigning this_symtab_psymtab->objfile to objfile. | |
1836 | (scan_xcoff_symtab): Initialize next_symbol_text_func. | |
1837 | (Committed by Jim Blandy) | |
1838 | ||
e50f0da1 | 1839 | For older changes see ChangeLog-2005. |
c906108c SS |
1840 | \f |
1841 | Local Variables: | |
1842 | mode: change-log | |
1843 | left-margin: 8 | |
1844 | fill-column: 74 | |
1845 | version-control: never | |
1846 | End: |