Commit | Line | Data |
---|---|---|
6af4589c MS |
1 | 2002-02-05 Michael Snyder <msnyder@redhat.com> |
2 | ||
3 | * regcache.c (fetch_register): Call target_fetch_register | |
4 | only if we don't call FETCH_PSEUDO_REGISTER. | |
5 | (store_register): Call target_store_register only if we | |
6 | don't call STORE_PSEUDO_REGISTER. | |
7 | ||
a2cf933a EZ |
8 | 2002-02-05 Elena Zannoni <ezannoni@redhat.com> |
9 | ||
10 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
11 | ELF_MAKE_MSYMBOL_SPECIAL. | |
12 | * gdbarch.c, gdbarch.h: Regenerate. | |
13 | * arch-utils.c (default_make_msymbol_special): New function. | |
14 | * arch-utils.h (default_make_msymbol_special): Export. | |
15 | * elfread.c (elf_symtab_read): Compile use of | |
16 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
17 | multiarched. | |
18 | * coffread.c (coff_symtab_read): Ditto, for | |
19 | COFF_MAKE_MSYMBOL_SPECIAL. | |
20 | ||
6bb7be43 JB |
21 | 2002-02-05 Jim Blandy <jimb@redhat.com> |
22 | ||
23 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
24 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
25 | the appropriate truncation for target addresses, even when | |
26 | CORE_ADDR is larger than a target address. | |
27 | ||
e18651ec DJ |
28 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
29 | ||
30 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
31 | to (int *). | |
32 | ||
6b2725be DJ |
33 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
34 | ||
35 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
36 | code. | |
37 | ||
fca9e603 DJ |
38 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
39 | ||
40 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
41 | ||
6c537a52 DJ |
42 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
43 | ||
44 | * gdbserver/linux-low.c: Remove unused include files. | |
45 | ||
d844cde6 DJ |
46 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
47 | ||
48 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
49 | (read_inferior_memory): Use it. | |
50 | (write_inferior_memory): Likewise. | |
51 | ||
d07c63e7 DJ |
52 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
53 | ||
54 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
55 | grubbing through sys_errlist. | |
56 | ||
da6d8c04 DJ |
57 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
58 | ||
59 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
60 | ||
5b421780 PM |
61 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
62 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
63 | ||
9f60d481 AC |
64 | 2002-02-04 Andrew Cagney <ac131313@redhat.com> |
65 | ||
66 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
67 | (do_sfunc, set_cmd_sfunc): New functions. | |
68 | ||
69 | * command.h (struct cmd_list_element): Add field func. | |
70 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
71 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
72 | * cli/cli-decode.h: Ditto. | |
73 | ||
74 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
75 | (help_all, help_cmd_list): Ditto. | |
76 | (find_cmd, complete_on_cmdlist): Ditto. | |
77 | * top.c (execute_command): Ditto. | |
78 | ||
79 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
80 | function.sfunc. | |
81 | ||
82 | * infcmd.c (notice_args_read): Fix function signature. | |
83 | ||
84 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
85 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
86 | * utils.c (initialize_utils): Ditto. | |
87 | * maint.c (_initialize_maint_cmds): Ditto. | |
88 | * infrun.c (_initialize_infrun): Ditto. | |
89 | * demangle.c (_initialize_demangler): Ditto. | |
90 | * remote.c (add_packet_config_cmd): Ditto. | |
91 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
92 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
93 | * proc-api.c (_initialize_proc_api): Ditto. | |
94 | * kod.c (_initialize_kod): Ditto. | |
95 | * valprint.c (_initialize_valprint): Ditto. | |
96 | * top.c (init_main): Ditto. | |
97 | * infcmd.c (_initialize_infcmd): Ditto. | |
98 | * corefile.c (_initialize_core): Ditto. | |
99 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
100 | * arch-utils.c (initialize_current_architecture): Ditto. | |
101 | (_initialize_gdbarch_utils): Ditto. | |
102 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
103 | ||
104 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
105 | * wince.c (_initialize_inftarg): Ditto. | |
106 | * symfile.c (_initialize_symfile): Ditto. | |
107 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
108 | * language.c (_initialize_language): Ditto. | |
109 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
110 | ||
a2cf933a | 111 | >>>>>>> 1.2142 |
f9ba0717 MS |
112 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
113 | ||
114 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
115 | ||
0c74b2a7 DJ |
116 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
117 | ||
118 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
119 | Add rules for building the register data files. | |
120 | ||
c638789f DJ |
121 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
122 | ||
123 | * regformats/regdat.sh: Add braces to the definition of | |
124 | expedite_regs_${arch}. | |
125 | ||
db253027 DJ |
126 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
127 | ||
128 | * regformats/regdef.h (struct reg): Add comment describing the | |
129 | requirements for offset and size fields. | |
130 | ||
206be19c AS |
131 | 2002-02-04 Andreas Schwab <schwab@suse.de> |
132 | ||
133 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
134 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
135 | ||
181c1381 RE |
136 | 2002-02-04 Richard Earnshaw <rearnsha@arm.com> |
137 | ||
138 | * gdbarch.sh (copyright): Update years in generated header. | |
139 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 140 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
141 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
142 | * dbxread.c: Likewise. | |
143 | * dwarfread.c: Likewise. | |
144 | * elfread.c: Likewise. | |
145 | * somread.c: Likewise. | |
146 | ||
147 | * arm-tdep.c (arm_smash_text_address): New function. | |
148 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
149 | ||
fa4ba8da PM |
150 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
151 | ||
152 | Add support for hardware watchpoints on win32 native. | |
153 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of | |
154 | CONTEXT_DEBUG_REGISTERS. | |
155 | (dr variable): New variable. Static array containing a local copy | |
156 | of debug registers. | |
157 | (debug_registers_changed): New variable. Reflects when debug registers | |
158 | are changed and need to be written to inferior. | |
159 | (debug_registers_used): New variable. Reflects when any debug register | |
160 | was set, used when new threads are created. | |
161 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
162 | i386-nat code. | |
163 | (thread_rec): Set dr array if id is the thread of current_event . | |
164 | (child_continue, child_resume): Change the debug registers for all | |
165 | threads if debug_registers_changed. | |
166 | (child_add_thread): Change the debug registers if debug_registers_used. | |
167 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
168 | Link nm.h to new nm-cygwin.h file. | |
169 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
170 | of hardware registers. | |
171 | ||
a73c86fb AC |
172 | 2002-02-03 Andrew Cagney <ac131313@redhat.com> |
173 | ||
174 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
175 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
176 | <ac131313@redhat.com> IEEE_FLOAT removal. | |
177 | ||
acf5ed49 DJ |
178 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
179 | ||
180 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
181 | cp_print_class_method. | |
182 | * valops.c (search_struct_method): If there is only one method | |
183 | and args is NULL, return that method. | |
184 | ||
493d28d5 DJ |
185 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
186 | ||
187 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
188 | accessing tag_name directly. | |
189 | ||
7495dfdb DJ |
190 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
191 | ||
192 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
193 | of accessing tag_name directly. | |
194 | ||
dd6bda65 DJ |
195 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
196 | ||
197 | PR gdb/280 | |
198 | * gdbtypes.c (replace_type): New function. | |
199 | * gdbtypes.h (replace_type): Add prototype. | |
200 | * stabsread.c (read_type): Use replace_type. | |
201 | ||
88fe217c RE |
202 | 2002-02-03 Richard Earnshaw <rearnsha@arm.com> |
203 | ||
204 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
205 | ||
e5d66720 PS |
206 | 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
207 | ||
208 | * breakpoint.c (break_at_finish_command): Really export. | |
209 | (break_at_finish_at_depth_command): Ditto. | |
210 | (tbreak_at_finish_command): Ditto. | |
211 | * hppa-tdep.c: Include completer.h. | |
212 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
213 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
214 | ||
fffee0be AC |
215 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
216 | ||
217 | * utils.c (do_write): New function. | |
218 | (error_stream): Rewrite combining the code from error_begin and | |
219 | verror. | |
220 | (verror): Rewrite using error_stream. | |
221 | (error_begin): Delete function. | |
222 | ||
255e7dbf AC |
223 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
224 | ||
225 | * utils.c (error_begin): Make static. | |
226 | * defs.h (error_begin): Delete declaration. | |
227 | ||
228 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
229 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
230 | cplusplus_hint and return_to_top_level. | |
231 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
232 | and return_to_top_level. | |
233 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
234 | ||
ddfe3c15 AC |
235 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
236 | ||
237 | * language.h (type_error, range_error): Make string parameter | |
238 | constant. | |
239 | * language.c (warning_pre_print): Delete extern declaration. | |
240 | * dwarfread.c (warning_pre_print): Ditto. | |
241 | * language.c (type_error, range_error): Rewrite to use verror and | |
242 | vwarning instead of warning_begin. | |
243 | ||
03ac34d5 MS |
244 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
245 | ||
261c4ca2 MS |
246 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
247 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 248 | |
e00d1dc8 AC |
249 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
250 | ||
251 | * command.h (NO_FUNCTION): Delete macro. | |
252 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
253 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
254 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
255 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
256 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
257 | ||
76b79d6e DJ |
258 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
259 | ||
260 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
261 | Update ``this'' pointer when calling virtual functions. | |
262 | ||
799f9e91 MS |
263 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
264 | ||
c7bd442c | 265 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
266 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
267 | ||
3cf384d4 DJ |
268 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
269 | ||
270 | * regformats/reg-arm.dat: New file. | |
271 | * regformats/reg-i386.dat: New file. | |
272 | * regformats/reg-ia64.dat: New file. | |
273 | * regformats/reg-m68k.dat: New file. | |
274 | * regformats/reg-mips.dat: New file. | |
275 | * regformats/reg-ppc.dat: New file. | |
276 | * regformats/reg-sh.dat: New file. | |
277 | * regformats/regdef.h: New file. | |
278 | * regformats/regdat.sh: New file. | |
279 | ||
0defa245 RE |
280 | 2002-02-01 Richard Earnshaw <reanrsha@arm.com> |
281 | ||
282 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
283 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
284 | (arm_frame_num_args): New function. | |
285 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
286 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
287 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
288 | ||
405f26e6 MS |
289 | 2002-01-31 Michael Snyder <msnyder@redhat.com> |
290 | ||
502fd408 MS |
291 | * breakpoint.c (break_at_finish_command): Export. |
292 | (break_at_finish_at_depth_command): Export. | |
293 | (tbreak_at_finish_command): Export. | |
294 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
295 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
296 | "tbreak" commands, which are HPPA specific. | |
297 | ||
7d35e135 MS |
298 | * printcmd.c (disassemble_command): Remove an ancient |
299 | artifact of an old merge. | |
300 | ||
d874f1e2 MS |
301 | * symfile.h (enum overlay_debugging_state): |
302 | Define enum constant values for overlay mode. | |
303 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
304 | (overlay_is_mapped, overlay_auto_command, | |
305 | overlay_manual_command): Ditto. | |
306 | ||
9f04af04 MS |
307 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
308 | breakpoint_here_p, breakpoint_inserted_here_p, | |
309 | breakpoint_thread_match, bpstat_stop_status, | |
310 | describe_other_breakpoints, check_duplicates, clear_command): | |
311 | Coding standard fixes. | |
312 | ||
8add0441 | 313 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 314 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
315 | code: check bfd SEC_READONLY flag for section. |
316 | ||
e351066e AC |
317 | 2002-01-31 Andrew Cagney <ac131313@redhat.com> |
318 | ||
7d35e135 | 319 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 320 | |
8a48e967 DJ |
321 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
322 | ||
323 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
324 | data symbols, since we search based on textlow and texthigh. | |
325 | (find_pc_sect_symtab): Likewise. | |
326 | ||
f5a96129 AC |
327 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
328 | ||
329 | * defs.h (vwarning): Declare. | |
330 | (warning_begin): Delete declaration. | |
331 | * utils.c (vwarning): New function. | |
332 | (warning): Call vwarning. | |
333 | (warning_begin): Delete function. | |
334 | ||
335 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
336 | the warning message. | |
337 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
338 | warning_begin. | |
339 | ||
cefd4ef5 MS |
340 | 2002-01-30 Michael Snyder <msnyder@redhat.com> |
341 | ||
1a703748 MS |
342 | * NEWS: Mention "set trust-readonly-sections" command. |
343 | Mention generate-core-file command. | |
cefd4ef5 | 344 | |
3a11626d MS |
345 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
346 | ||
347 | * target.c: New command, "set trust-readonly-sections on". | |
348 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
349 | by reading them from the object file instead of from the target. | |
350 | (initialize_targets): Register command "set trust-readonly-sections". | |
351 | ||
d1c7e53b AC |
352 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
353 | ||
354 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
355 | pseudo-regs using a single loop. | |
356 | ||
e2c9a72c AC |
357 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
358 | ||
359 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
360 | ||
69824b4e MK |
361 | 2002-01-15 Rodney Brown <rbrown64@csc.com.au> |
362 | ||
363 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
364 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
365 | * i386v4-nat.c: Include i387-nat.h. | |
366 | (supply_fpregset): Use i387_supply_fsave. | |
367 | (fill_fpregset): Use i387_fill_fsave. | |
368 | ||
6eb69eab RE |
369 | 2002-01-30 Richard Earnshaw <rearnsha@arm.com> |
370 | ||
371 | * arm-tdep.c (arm_call_dummy_words): Define. | |
372 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
373 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
374 | (CALL_DUMMY_WORDS): Define. | |
375 | (arm_call_dummy_words): Declare. | |
376 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
377 | (arm_linux_call_dummy_words): Declare. | |
378 | ||
9852326a AS |
379 | 2002-01-30 Andreas Schwab <schwab@suse.de> |
380 | ||
381 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
382 | instead of referencing registers[] directly. | |
383 | ||
977a3030 AC |
384 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
385 | ||
386 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
387 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
388 | ||
2076c72b MS |
389 | 2002-01-28 Michael Snyder <msnyder@redhat.com> |
390 | ||
391 | * regcache.c (legacy_read_register_gen): Need to be able to | |
392 | read pseudo-register as well as real register. | |
393 | (legacy_write_register_gen): Ditto. | |
394 | ||
a2cf933a | 395 | >>>>>>> 1.2132 |
8fcc723b AC |
396 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
397 | ||
398 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
399 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
400 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
401 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
402 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
403 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
404 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
405 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
406 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
407 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
408 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
409 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
410 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
411 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
412 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
413 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
414 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
415 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
416 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
417 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
418 | ||
afe64c1a AC |
419 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
420 | ||
421 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
422 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
423 | (initialize_current_architecture): Update target_byte_order using | |
424 | information from BFD. | |
425 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): | |
426 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): | |
427 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. | |
428 | ||
75bc7ddf AC |
429 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
430 | ||
431 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
432 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
433 | ||
434 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
435 | #ifdef INVALID_FLOAT. | |
436 | * infcmd.c (do_registers_info): Ditto. | |
437 | * values.c (unpack_double): Ditto. Add comment. | |
438 | ||
439 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
440 | already commented out. | |
441 | ||
0280a90a AS |
442 | 2002-01-26 Andreas Schwab <schwab@suse.de> |
443 | ||
444 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
445 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
446 | registers and add support for PTRACE_GETREGS. | |
447 | ||
7072a954 AC |
448 | 2002-01-24 Andrew Cagney <ac131313@redhat.com> |
449 | ||
450 | GDB 5.1.1 released from 5.1 branch. | |
451 | * NEWS: Add 5.1.1 news. | |
452 | * README: Sync with 5.1 branch. | |
453 | ||
86f902e0 FF |
454 | 2002-01-23 Fred Fish <fnf@redhat.com> |
455 | ||
456 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
457 | stabstring on initial malloc. Reallocing will copy it for us, | |
458 | if necessary. | |
459 | ||
8af51c36 EZ |
460 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
461 | ||
462 | * Makefile.in (hpread_h): Delete. | |
463 | (HFILES_NO_SRCDIR): Remove hpread.h. | |
464 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
465 | (hpread.o): Update dependencies. | |
466 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
467 | ||
468 | * hp-psymtab-read.c: Remove file. | |
469 | * hp-symtab-read.c: Remove file. | |
470 | * hpread.h: Remove file. | |
471 | ||
472 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
473 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
474 | January 1999. | |
475 | ||
476 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
477 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, | |
478 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): | |
479 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
480 | ||
dc5cfeb6 EZ |
481 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
482 | ||
483 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
484 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
485 | variable and use that, instead of calling the function several | |
486 | times. | |
487 | ||
ea87b71b AO |
488 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
489 | ||
490 | * configure.host: Accept sparcv9 as alias for sparc64. | |
491 | * configure.tgt: Likewise. | |
492 | ||
13fc0c2f KB |
493 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
494 | ||
495 | * solib-aix5.c (build_so_list_from_mapfile) | |
496 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
497 | arguments is not reversed. | |
498 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
499 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
500 | ||
7bd872fe EZ |
501 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
502 | ||
503 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
504 | modified version of obsolete sh_fetch_pseudo_register. | |
505 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
506 | (sh4_register_read): New function. | |
507 | (sh_pseudo_register_write): New function. Renamed and modified | |
508 | version of obsolete sh_store_pseudo_register. | |
509 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
510 | (sh4_register_write): New function. | |
511 | (sh_gdbarch_init): Remove setting of gdbarch function | |
512 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
513 | register_convert_to_raw, register_convert_to_virtual, | |
514 | register_convertible. | |
515 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
516 | taken care by architecture specific functions | |
517 | register_read/register_write. | |
518 | (sh_sh4_register_convert_to_virtual): Make static. | |
519 | (sh_sh4_register_convert_to_raw): Ditto. | |
520 | ||
069e84fd AC |
521 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
522 | ||
523 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
524 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
525 | ||
526 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
527 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
528 | builtin_type_ieee_double_little, | |
529 | builtin_type_ieee_double_littlebyte_bigword, | |
530 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
531 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
532 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
533 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
534 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
535 | ||
211a4f69 CV |
536 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
537 | ||
538 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
539 | parameter. Set frameless flag if it exists and depended of | |
540 | whether the scanned function is frameless or not. | |
541 | (xstormy16_skip_prologue): If function is frameless, return | |
542 | result of xstormy16_scan_prologue(). | |
543 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
544 | call. | |
545 | ||
f81353e4 EZ |
546 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
547 | ||
548 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
549 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
550 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
551 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
552 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
553 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
554 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
555 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
556 | gdbarch_tdep() just once, assign result to variable and use that, | |
557 | instead of calling the function several times. | |
558 | ||
63c73a17 MK |
559 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
560 | ||
561 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
562 | macros instead of LAST_FPU_CTRL_REGNUM. | |
563 | (store_register): Likewise. | |
564 | ||
39ad761d JB |
565 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
566 | ||
567 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
568 | is up-to-date before running the program, not just when a program | |
569 | exits. | |
570 | ||
3d74b771 FF |
571 | 2002-01-21 Fred Fish <fnf@redhat.com> |
572 | ||
573 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
574 | when we have found all instructions we are looking for. | |
575 | ||
966fbf70 RE |
576 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
577 | ||
578 | * arm-tdep.c (arm_register_name): New function. | |
579 | (arm_registers_names): Make static. | |
580 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
581 | (arm_register_name): Declare. | |
582 | (REGISTER_NAME): Use it. | |
583 | ||
c3b4394c RE |
584 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
585 | Kevin Buettner <kevinb@redhat.com> | |
586 | ||
587 | Convert arm targets to new FRAME interface. | |
588 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
589 | (arm_frame_find_save_regs): Delete. | |
590 | (arm_frame_init_saved_regs): New. | |
591 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
592 | Allocate extra_info as required. Convert all uses of fsr.regs | |
593 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
594 | to use extra_info. | |
595 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
596 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
597 | (check_prologue_cache, save_prologue_cache): Likewise. | |
598 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
599 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
600 | (FRAME_FIND_SAVED_REGS): Delete. | |
601 | (arm_frame_find_saved_regs): Delete prototype. | |
602 | (arm_frame_init_saved_regs): New prototype. | |
603 | (FRAME_INIT_SAVED_REGS): Define. | |
604 | ||
61d99182 AC |
605 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
606 | ||
607 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
608 | ||
6aaea291 AC |
609 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
610 | ||
611 | From Jeff Law <law@redhat.com>: | |
612 | * infttrace.c: Include <sys/pstat.h>. | |
613 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
614 | exec file if the ttrace equivalent fails. | |
615 | ||
15f698d2 AC |
616 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
617 | ||
618 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
619 | (closeLogFile): Ditto. | |
620 | ||
f86ddd7c MC |
621 | 2002-01-20 Michael Chastain <mec@shout.net> |
622 | ||
623 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
624 | ||
904507ce AC |
625 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
626 | ||
627 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
628 | Zannoni and Eli Zaretskii. | |
629 | ||
d7f0b9ce DJ |
630 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
631 | ||
632 | * buildsym.c: Update copyright years. | |
633 | * c-typeprint.c: Likewise. | |
634 | * dwarf2read.c: Likewise. | |
635 | * f-typeprint.c: Likewise. | |
636 | * gdbtypes.c: Likewise. | |
637 | * gdbtypes.h: Likewise. | |
638 | * hp-symtab-read.c: Likewise. | |
639 | * hpread.c: Likewise. | |
640 | * mdebugread.c: Likewise. | |
641 | * p-typeprint.c: Likewise. | |
642 | ||
3fd3d7d2 AC |
643 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
644 | ||
645 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
646 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
647 | byte-order selectable. | |
648 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
649 | * arch-utils.c: Ditto. | |
650 | (set_endian): Ditto. | |
651 | (set_endian_from_file): Ditto. | |
652 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
653 | * gdbarch.sh: Ditto. | |
654 | * gdbarch.h: Re-generate. | |
655 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
656 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
657 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
658 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
659 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
660 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
661 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
662 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete | |
663 | macro definition. | |
664 | * config/mips/tm-wince.h: Remove #undef of macro | |
665 | TARGET_BYTE_ORDER_SELECTABLE. | |
666 | * config/sh/tm-wince.h: Ditto. | |
667 | ||
b02dede2 DJ |
668 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
669 | ||
670 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
671 | member function fields. Add accessor macro | |
672 | TYPE_FN_FIELD_ARTIFICIAL. | |
673 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
674 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
675 | functions. | |
676 | ||
c3643761 DJ |
677 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
678 | ||
679 | * f-typeprint.c: Delete unused function f_type_print_args. | |
680 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
681 | ||
8176bb6d DJ |
682 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
683 | ||
684 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
685 | comment. Add ``artificial'' to ``union field_location''. | |
686 | ||
687 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
688 | ||
689 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
690 | * mdebugread.c (parse_symbol): Likewise. | |
691 | * stabsread.c (define_symbol): Likewise. | |
692 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
693 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
694 | (hpread_doc_function_type): Likewise. | |
695 | * hpread.c (hpread_function_type): Likewise. | |
696 | ||
7fd60527 AC |
697 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
698 | ||
699 | * configure.in (host_makefile_frag): Only require a host makefile | |
700 | fragment when a native build. | |
701 | * configure: Re-generate. | |
702 | ||
c2f05ac9 AC |
703 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
704 | ||
705 | * doublest.h (floatformat_from_type): Declare. | |
706 | * doublest.c (floatformat_from_type): New function. | |
707 | (convert_typed_floating): Use. | |
708 | ||
709 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
710 | call to function floatformat_from_type. | |
711 | ||
712 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
713 | * gdbarch.h, gdbarch.c: Re-generate. | |
714 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
715 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
716 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
717 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
718 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
719 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
720 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
721 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
722 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
723 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
724 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
725 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
726 | ||
727 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
728 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
729 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
730 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
731 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
732 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
733 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
734 | ||
abf22e64 AJ |
735 | 2002-01-20 Jiri Smid <smid@suse.cz> |
736 | ||
737 | * configure.host, configure.tgt: Support x86-64. | |
738 | * NEWS: Note new target x86-64. | |
739 | ||
b7c4cbf8 AJ |
740 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
741 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
742 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
743 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
744 | x86-64-linux-nat.o): Fix dependencies. | |
745 | ||
82600034 AC |
746 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
747 | ||
748 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
749 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
750 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
751 | * config/sparc/xm-sun4os4.h: Delete file. | |
752 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 753 | |
bbe5c628 AC |
754 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
755 | ||
756 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
757 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
758 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
759 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
760 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
761 | * config/sparc/xm-sparclynx.h: Delete file. | |
762 | * config/m68k/xm-m68klynx.h: Delete file. | |
763 | * config/i386/xm-i386lynx.h: Delete file. | |
764 | * config/xm-lynx.h: Delete file. | |
765 | * config/djgpp/fnchange.lst: Update. | |
766 | ||
f8453e34 JT |
767 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
768 | ||
769 | * alpha-tdep.c (alpha_register_byte): New function. | |
770 | (alpha_register_raw_size): Ditto. | |
771 | (alpha_register_virtual_size): Ditto. | |
772 | (alpha_skip_prologue_internal): Renamed from | |
773 | alpha_skip_prologue. | |
774 | (alpha_skip_prologue): New version that calls | |
775 | alpha_skip_prologue_internal. | |
776 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
777 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
778 | second argument from alpha_skip_prologue. | |
779 | (REGISTER_BYTE): Use alpha_register_byte. | |
780 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
781 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
782 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
783 | generic_frameless_function_invocation_not. | |
784 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
785 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
786 | ||
52d9e613 AC |
787 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
788 | ||
789 | * config/mips/xm-news-mips.h: Delete file. | |
790 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
791 | ||
792 | * config/m88k/xm-m88k.h: Delete file. | |
793 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
794 | * config/m88k/xm-delta88v4.h: Ditto. | |
795 | * config/m88k/xm-delta88.h: Ditto. | |
796 | ||
797 | * config/alpha/xm-fbsd.h: Delete file. | |
798 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
799 | ||
800 | * config/sparc/xm-sparc.h: Delete file. | |
801 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
802 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
803 | * config/sparc/xm-sun4os4.h: Ditto. | |
804 | * config/sparc/xm-linux.h: Ditto. | |
805 | ||
806 | * config/i386/xm-windows.h: Delete file. | |
807 | ||
2d1b2124 AC |
808 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
809 | ||
810 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
811 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
812 | ||
ee1f65f0 JT |
813 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
814 | ||
815 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
816 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
817 | (CALL_DUMMY_P): Define. | |
818 | (CALL_DUMMY_WORDS): Define. | |
819 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
820 | ||
98081e55 PB |
821 | 2002-01-19 Per Bothner <per@bothner.com> |
822 | ||
823 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
824 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
825 | ||
0d056799 JT |
826 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
827 | ||
828 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
829 | (alpha_init_frame_pc_first): Ditto. | |
830 | (alpha_fix_call_dummy): Ditto. | |
831 | (alpha_store_struct_return): Ditto. | |
832 | (alpha_extract_struct_value_address): Ditto. | |
833 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
834 | alpha_register_virtual_type. | |
835 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
836 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
837 | alpha_extract_struct_value_address. | |
838 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
839 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
840 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
841 | ||
4604bcad MK |
842 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
843 | ||
844 | * i386gnu-nat.c: Include "i386-tdep.h". | |
845 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
846 | point states such that it doesn't require FP7_REGNUM. | |
847 | ||
140f9984 JT |
848 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
849 | ||
abf22e64 AJ |
850 | * alpha-tdep.c (frame_extra_info): New. |
851 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
852 | frame->extra_info. |
853 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
854 | (alpha_frame_saved_pc): Use frame->extra_info. |
855 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
856 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
857 | (init_extra_frame_info): Rename to... |
858 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 859 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
860 | (alpha_frame_locals_address): Ditto. |
861 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 862 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
863 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
864 | alpha_frame_args_address. | |
abf22e64 | 865 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 866 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
867 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
868 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
869 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
870 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
871 | ||
d734c450 JT |
872 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
873 | ||
874 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
875 | (alpha_cannot_fetch_register): Ditto. | |
876 | (alpha_cannot_store_register): Ditto. | |
877 | (alpha_register_convertible): Ditto. | |
878 | (alpha_use_struct_convention): Ditto. | |
879 | * config/alpha/tm-alpha.h: Update copyright years. | |
880 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
881 | (INNER_THAN): Use core_addr_lessthan. | |
882 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
883 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
884 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
885 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
886 | (FRAME_CHAIN): Remove unnecessary cast. | |
887 | ||
b4ceaee6 AC |
888 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
889 | ||
890 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
891 | obsolete. | |
892 | ||
0a65a603 AC |
893 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
894 | ||
895 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
896 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
897 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
898 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
899 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
900 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
901 | * x86-64-linux-nat.c: Ditto. | |
902 | ||
636a6dfc JT |
903 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
904 | ||
abf22e64 | 905 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
906 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
907 | (REGISTER_NAME): Define. | |
908 | ||
acceddb6 JT |
909 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
910 | ||
911 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
912 | ||
ec32e4be JT |
913 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
914 | ||
915 | * alpha-tdep.c: Update copyright years. | |
916 | (alpha_next_pc): New function. | |
917 | (alpha_software_single_step): Ditto. | |
918 | * config/alpha/tm-alpha.h: Add prototype for | |
919 | alpha_software_single_step. | |
920 | ||
e771a871 JT |
921 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
922 | ||
923 | * alphabsd-nat.c: Update copyright years. | |
924 | (fill_gregset): Use regcache_collect. | |
925 | (fill_fpregset): Likewise. | |
926 | (fetch_inferior_registers): Only fetch integer registers | |
927 | if requested to do so. | |
928 | (store_inferior_registers): Only store integer registers | |
929 | if requested to do so. | |
930 | ||
7708fa01 AC |
931 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
932 | ||
933 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
934 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
935 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
936 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
937 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
938 | * config/arm/linux.mh (XDEPFILES): Delete. | |
939 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
940 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
941 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
942 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
943 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
944 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
945 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
946 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
947 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
948 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
949 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
950 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
951 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
952 | * config/i386/go32.mh (XDEPFILES): Delete. | |
953 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
954 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
955 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
956 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
957 | * config/i386/linux.mh (XDEPFILES): Delete. | |
958 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
959 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
960 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
961 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
962 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
963 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
964 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
965 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
966 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
967 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
968 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
969 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
970 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
971 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
972 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
973 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
974 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
975 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
976 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
977 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
978 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
979 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
980 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
981 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
982 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
983 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
984 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
985 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
986 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
987 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
988 | * config/mips/linux.mh (XDEPFILES): Delete. | |
989 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
990 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
991 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
992 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
993 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
994 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
995 | (NATDEPFILES): Move core-aout.o to here. | |
996 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
997 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
998 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
999 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
1000 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
1001 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
1002 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
1003 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
1004 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
1005 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
1006 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
1007 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
1008 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
1009 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
1010 | * config/s390/s390.mh (XDEPFILES): Delete. | |
1011 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
1012 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
1013 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
1014 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
1015 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
1016 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
1017 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
1018 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
1019 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
1020 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
1021 | ||
375fc983 AC |
1022 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
1023 | ||
1024 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
1025 | Update queries to match. Default to quit and dump core. | |
1026 | ||
8926118c AC |
1027 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
1028 | ||
1029 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
1030 | copyright. | |
1031 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
1032 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
1033 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
1034 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
1035 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
1036 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
1037 | * mi/mi-main.c:Ditto. | |
1038 | ||
1039 | * stack.c, symfile.c: Update copyright. | |
1040 | ||
45b7b345 DJ |
1041 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
1042 | ||
db728ff7 DJ |
1043 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
1044 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
1045 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
1046 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 1047 | |
db728ff7 DJ |
1048 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
1049 | ||
1050 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
1051 | * gdbserver/low-lynx.c (myattach): Likewise. | |
1052 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
1053 | * gdbserver/low-sim.c (myattach): Likewise. | |
1054 | * gdbserver/low-sparc.c (myattach): Likewise. | |
1055 | * gdbserver/low-sun3.c (myattach): Likewise. | |
1056 | ||
1057 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 1058 | |
db728ff7 | 1059 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
1060 | (main): Handle "--attach". |
1061 | ||
8de3c354 AC |
1062 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
1063 | ||
1064 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
1065 | maintainer. | |
1066 | ||
b0129042 DJ |
1067 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
1068 | ||
1069 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
1070 | check for non-conversion operators. | |
1071 | ||
ba8679fb | 1072 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
1073 | |
1074 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
1075 | (read_mapping): New function, abstract and re-use code. | |
1076 | (linux_find_memory_regions): Use new func read_mapping. | |
1077 | (linux_info_proc_cmd): New function, implement "info proc". | |
1078 | (_initialize_linux_proc): Add new command "info proc". | |
1079 | ||
e4f9b4d5 MS |
1080 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
1081 | ||
1082 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
1083 | instead of manipulating bfd structure members directly. | |
1084 | (add_section_size_callback): New function, bfd sections callback | |
1085 | used by generic_load. | |
1086 | (load_sections_callback): New function, bfd sections callback | |
1087 | used by generic_load. | |
1088 | ||
08cf96df EZ |
1089 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
1090 | ||
abf22e64 | 1091 | [Based on work by Jim Blandy] |
08cf96df EZ |
1092 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
1093 | (builtin_type_vec128): Export. | |
1094 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
1095 | types. | |
1096 | (builtin_type_vec128): New builtin type for 128 bit vector | |
1097 | registers. | |
1098 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
1099 | builtin_type_v8hi. Create the vec128 register builtin type | |
1100 | structure. | |
1101 | (build_builtin_type_vec128): New function. | |
abf22e64 | 1102 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
1103 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
1104 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
1105 | AltiVec register to new builtin type. | |
1106 | ||
d7242108 DJ |
1107 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
1108 | ||
1109 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
1110 | to make_cv_type. | |
1111 | ||
4ee3352d AC |
1112 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
1113 | ||
1114 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
1115 | CLEAN_UP_REGISTER_VALUE. | |
1116 | * regcache.c (supply_register): Update only call. | |
1117 | ||
f015b2e7 AC |
1118 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
1119 | ||
1120 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
1121 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
1122 | a29k-*-vxworks* targets as obsolete. | |
1123 | ||
356ae49d MS |
1124 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
1125 | ||
1126 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
1127 | until we can resolve portability issues. | |
1128 | * gregset.h: Remove references to fpxregs. | |
1129 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
1130 | ||
ade8f45e AC |
1131 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1132 | ||
1133 | * signals.c (target_signal_to_name): Rewrite. Only use | |
1134 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 1135 | |
89c49e7a AC |
1136 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1137 | ||
1138 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
1139 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
1140 | bounds of the signals array. | |
1141 | ||
4daa9f9f AC |
1142 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1143 | ||
1144 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
1145 | ||
ba4bbdcb KS |
1146 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
1147 | ||
1148 | * stack.c (print_frame_info_base): Print the frame's pc | |
1149 | only if when print_frame_info_listing_hook is not defined. | |
1150 | ||
575bbeb6 KS |
1151 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
1152 | ||
1153 | * varobj.c (varobj_set_value): Make sure that there were no | |
1154 | errors evaluating the object before attempting to set its | |
1155 | value. | |
1156 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
1157 | so this offset adjustment is no longer necessary. | |
1158 | (create_child): Don't set the error flag if the child is | |
1159 | a CPLUS_FAKE_CHILD. | |
1160 | (value_of_child): If value_fetch_lazy fails, return NULL | |
1161 | so that callers will be notified that an error occurred. | |
1162 | (c_value_of_variable): Delay check of variable's validity | |
1163 | until later. We actually want all structs and unions to have | |
1164 | the value "{...}". | |
1165 | Do not return "???" for variables which could not be evaluated. | |
1166 | This error condition must be returned to the caller so that it | |
1167 | can get the error condition from gdb. | |
1168 | (cplus_name_of_child): Adjust index for vptr before figuring | |
1169 | out the name of the child. | |
1170 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
1171 | don't even bother trying to give a value for it. Just return | |
1172 | an error. Change all instances in this function. | |
1173 | (cplus_type_of_child): If our parent is one of the "fake" | |
1174 | parents, we need to get at the type of the real parent, and | |
1175 | derive the child's true type using this information. | |
1176 | ||
b76898ab AC |
1177 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1178 | ||
1179 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
1180 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
1181 | sources.redhat.com, and tweak some related URLs which had | |
1182 | suffered from linkrot. | |
1183 | ||
b6649e88 AC |
1184 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
1185 | ||
1186 | From Jeff law: | |
1187 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
1188 | structures passed in registers. | |
1189 | ||
82cc5033 EZ |
1190 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
1191 | ||
1192 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
1193 | white space which prevented compilation. Reported by DSK | |
1194 | <dsk@student.unsw.edu.au>. | |
1195 | ||
ba5f2f8a MS |
1196 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
1197 | ||
fbd35540 MS |
1198 | * symfile.c (build_section_addr_info_from_section_tab): |
1199 | Use bfd access method instead of manipulating bfd directly. | |
1200 | (syms_from_objfile): Ditto. | |
1201 | (simple_overlay_update_1): Ditto. | |
1202 | (simple_overlay_update): Ditto. | |
1203 | (generic_load): Ditto. | |
1204 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
1205 | (sections_overlap): FIXME comment, bfd access methods. | |
1206 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
1207 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
1208 | (section_is_mapped): FIXME comment, bfd access methods. | |
1209 | (section_is_overlay): FIXME comment, bfd access methods. | |
1210 | ||
ba5f2f8a MS |
1211 | * symfile.c (generic_load): Whitespace and long line cleanups. |
1212 | Remove duplicate variable, change several local variables to | |
1213 | more appropriate data types. | |
1214 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
1215 | ||
17df2af6 AC |
1216 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
1217 | ||
1218 | From Peter Schauer: | |
1219 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
1220 | convert NUM to a hex string. | |
1221 | ||
ec920329 EZ |
1222 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
1223 | ||
1224 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
1225 | the function. | |
538a76d6 | 1226 | Update Copyright year. |
ec920329 | 1227 | |
3abd2e01 AC |
1228 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
1229 | ||
1230 | * language.c (longest_raw_hex_string): Delete unused function. | |
1231 | ||
b21b22e0 PS |
1232 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
1233 | ||
1234 | * MAINTAINERS (write-after-approval): Add myself. | |
1235 | * dwarf2read.c (read_tag_string_type): Handling of | |
1236 | DW_AT_byte_size. | |
1237 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
1238 | first string size. | |
1239 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
1240 | ||
747fe712 RE |
1241 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
1242 | ||
1243 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
1244 | GETPID(inferior_ptid). | |
1245 | (store_inferior_registers): Likewise. | |
1246 | ||
f1bea926 JM |
1247 | 2002-01-10 Jason Merrill <jason@redhat.com> |
1248 | ||
1249 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
1250 | Fix DW_OP_minus. | |
1251 | ||
ae940673 AC |
1252 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
1253 | ||
1254 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
1255 | and bfd/elf32-sh-nbsd.c. | |
1256 | ||
00546b04 MS |
1257 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
1258 | ||
352ed7b4 MS |
1259 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
1260 | ||
c18be923 MS |
1261 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
1262 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
1263 | ||
00546b04 MS |
1264 | * main.c (captured_main): Add new command line option "--pid". |
1265 | If the second command line argument (following the symbol-file) | |
1266 | begins with a digit, try to attach to it before trying to open | |
1267 | it as a corefile. | |
1268 | (print_gdb_help): Document the "--pid" argument. | |
1269 | ||
db60ec62 EZ |
1270 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
1271 | ||
1272 | * completer.c (command_completer): New function. | |
1273 | ||
1274 | * completer.h <command_completer>: Add prototype. | |
1275 | ||
1276 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
1277 | completer for the "help" command. | |
1278 | ||
39c22d1a JM |
1279 | 2002-01-09 Jason Merrill <jason@redhat.com> |
1280 | ||
1281 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
1282 | ||
c564377f MS |
1283 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
1284 | ||
975aec09 MS |
1285 | * i386-linux-nat.c (fill_fpxregset): Make global. |
1286 | (store_fpxregset): Ditto. | |
1287 | ||
db4a10fa MS |
1288 | * gregset.h (gdb_fpxregset_t): Define. |
1289 | (supply_fpxregset): Prototype. | |
1290 | (fill_fpxregset): Prototype. | |
1291 | ||
c564377f MS |
1292 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
1293 | ||
c3d45d70 RE |
1294 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
1295 | ||
1296 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
1297 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
1298 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
1299 | ||
fcc87af1 AC |
1300 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
1301 | ||
1302 | * MAINTAINERS: Update target maintainer rules so that any | |
1303 | Maintainer can approve a tested patch for a maintenance-only | |
1304 | target. | |
1305 | ||
dd96c05b RE |
1306 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
1307 | ||
d4297db9 | 1308 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 1309 | |
d4297db9 | 1310 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
1311 | IN_SIGTRAMP. |
1312 | ||
145fdc6e MS |
1313 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
1314 | ||
1315 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
1316 | real name of the executable, rather than the /proc name. | |
1317 | ||
be4d1333 MS |
1318 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
1319 | ||
1320 | Implement a "generate-core-file" command in gdb, save target state. | |
1321 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
1322 | Save a corefile image of the current state of the inferior. | |
1323 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
1324 | * target.h (struct target_ops): Add new target vectors for saving | |
1325 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
1326 | (target_find_memory_regions): New macro. | |
1327 | (target_make_corefile_notes): New macro. | |
1328 | * target.c (update_current_target): Inherit new target methods. | |
1329 | (dummy_find_memory_regions): New place-holder method. | |
1330 | (dummy_make_corefile_notes): New place-holder method. | |
1331 | (init_dummy_target): Initialize new dummy target vectors. | |
1332 | * exec.c (exec_set_find_memory_regions): New function. | |
1333 | Allow the exec_ops vector for memory regions to be taken over. | |
1334 | (exec_make_note_section): New function, target vector method. | |
1335 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
1336 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
1337 | (procfs_make_note_section): New function, corefile method. | |
1338 | (init_procfs_ops): Set new target vector pointers. | |
1339 | (find_memory_regions_callback): New function. | |
1340 | (procfs_do_thread_registers): New function. | |
1341 | (procfs_corefile_thread_callback): New function. | |
1342 | * sol-thread.c (sol_find_memory_regions): New function. | |
1343 | (sol_make_note_section): New function. | |
1344 | (init_sol_thread_ops): Initialize new target vectors. | |
1345 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
1346 | Allow to_find_memory_regions vector to be taken over. | |
1347 | (inftarg_set_make_corefile_notes): New function. | |
1348 | Allow to_make_corefile_notes vector to be taken over. | |
1349 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
1350 | interface layer if not target_has_execution (may be a corefile). | |
1351 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
1352 | * config/sparc/sun4sol2.mh: Ditto. | |
1353 | * config/alpha/alpha-linux.mh: Ditto. | |
1354 | * config/arm/linux.mh: Ditto. | |
1355 | * config/i386/x86-64linux.mh: Ditto. | |
1356 | * config/ia64/linux.mh: Ditto. | |
1357 | * config/m68k/linux.mh: Ditto. | |
1358 | * config/mips/linux.mh: Ditto. | |
1359 | * config/powerpc/linux.mh: Ditto. | |
1360 | * config/sparc/linux.mh: Ditto. | |
1361 | ||
c6b92abd MS |
1362 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1363 | ||
1364 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
1365 | (registers[] and register_valid[]). | |
1366 | ||
4b09dc8c MS |
1367 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1368 | ||
abf22e64 AJ |
1369 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
1370 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
1371 | symbol file and shlibs. |
1372 | * Makefile.in: Add rule for linux-proc.o. | |
1373 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
1374 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
1375 | * config/arm/linux.mh: Ditto. | |
1376 | * config/i386/linux.mh: Ditto. | |
1377 | * config/i386/x86-64linux.mh: Ditto. | |
1378 | * config/ia64/linux.mh: Ditto. | |
1379 | * config/m68k/linux.mh: Ditto. | |
1380 | * config/mips/linux.mh: Ditto. | |
1381 | * config/powerpc/linux.mh: Ditto. | |
1382 | * config/sparc/linux.mh: Ditto. | |
1383 | ||
c25b74ac PM |
1384 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
1385 | ||
1386 | * win32-nat.c: Add i386-tdep.h dependency. | |
1387 | ||
94cd915f MS |
1388 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1389 | ||
c7cccb76 MS |
1390 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
1391 | instead of bfd_get_arch_size. Don't bail out just because | |
1392 | there's no exec_bfd. | |
abf22e64 | 1393 | |
34c0bd93 MS |
1394 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
1395 | * p-valprint.c (pascal_object_print_value): Ditto. | |
1396 | * somread.c (som_symtab_read): Ditto. | |
1397 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
1398 | * valops.c (value_assign): Ditto. | |
1399 | ||
21c1c920 MS |
1400 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
1401 | use tilde_expand and strerror for opening save-tracepoints file. | |
1402 | ||
5bbd998e MS |
1403 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
1404 | ||
94cd915f MS |
1405 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
1406 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 1407 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
1408 | can be overridden with whatever value is appropriate to the host). |
1409 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
1410 | alloca to allocate potentially large buffer. | |
1411 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
1412 | * symm-nat.c (child_xfer_memory): Ditto. | |
1413 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
1414 | ||
494e8a93 JSC |
1415 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
1416 | ||
1417 | From Nick Clifton <nickc@redhat.com> | |
1418 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
1419 | ||
d0e1d48e MS |
1420 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
1421 | ||
abf22e64 | 1422 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
1423 | Don't use exec_bfd if it's NULL. |
1424 | ||
290b2c7a MK |
1425 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
1426 | ||
abf22e64 | 1427 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 1428 | |
aef21287 AC |
1429 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1430 | ||
1431 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
1432 | * gnu-nat.c: Ditto. | |
1433 | ||
30efa627 AC |
1434 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1435 | ||
1436 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
1437 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
1438 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
1439 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
1440 | z8k-coff have not been multi-arched. Update z8k-coff build | |
1441 | status. | |
1442 | ||
9b4ff276 AC |
1443 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
1444 | ||
1445 | * MAINTAINERS: Mark a29k target as obsolete. | |
1446 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
1447 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
1448 | comments. | |
1449 | * NEWS: Note that a29k targets are obsolete. | |
1450 | * a29k-tdep.c: Mark as obsolete. | |
1451 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
1452 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
1453 | a29k-*-vxworks* targets as obsolete. | |
1454 | * remote-adapt.c: Obsolete. | |
1455 | * remote-eb.c: Obsolete. | |
1456 | * remote-mm.c: Obsolete. | |
1457 | * remote-udi.c: Obsolete. | |
1458 | * config/a29k/a29k-udi.mt: Obsolete. | |
1459 | * config/a29k/a29k.mt: Obsolete. | |
1460 | * config/a29k/tm-a29k.h: Obsolete. | |
1461 | * config/a29k/tm-vx29k.h: Obsolete. | |
1462 | * config/a29k/vx29k.mt: Obsolete. | |
1463 | ||
a9011d31 AC |
1464 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1465 | ||
1466 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
1467 | with BFD_ENDIAN_BIG. | |
1468 | ||
9299404e AC |
1469 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1470 | ||
1471 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
1472 | * configure, config.in: Re-generate. | |
1473 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
1474 | * defs.h: Do not include <endian.h>. | |
1475 | ||
7e89e357 JT |
1476 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
1477 | ||
1478 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
1479 | * config.in: Regenerate. | |
1480 | * configure.in: Update copyright years. | |
1481 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
1482 | * configure: Regenerate. | |
1483 | * i386bsd-nat.c: Update copyright years. | |
1484 | (fill_gregset): Use regcache_collect. | |
1485 | (fetch_inferior_registers): Only fetch integer registers | |
1486 | if requested to do so. Add support for XMM registers | |
1487 | using PT_GETXMMREGS. | |
1488 | (store_inferior_registers): Only store integer registers | |
1489 | if requested to do so. Add support for XMM registers | |
1490 | using PT_SETXMMREGS. | |
1491 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
1492 | (store_inferior_registers): Remove. | |
1493 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
1494 | (fetch_elfcore_registers): New function. | |
1495 | (i386nbsd_elfcore_fns): New. | |
1496 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
1497 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
1498 | i386bsd-nat.o. | |
1499 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
1500 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
1501 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
1502 | * config/i386/tm-nbsd.h: Update copyright years. | |
1503 | (HAVE_SSE_REGS): Define. | |
1504 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
1505 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
1506 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
1507 | (SIGCONTEXT_PC_OFFSET): Remove. | |
1508 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
1509 | ||
a752853e AC |
1510 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1511 | ||
1512 | * configure.tgt: Remove powerpc-*-macos* target. | |
1513 | * config/m68k/xm-mpw.h: Delete file. | |
1514 | * config/xm-mpw.h: Delete file. | |
1515 | * ser-mac.c: Delete file. | |
1516 | * mpw-make.sed: Delete file. | |
1517 | * mpw-config.in: Delete file. | |
1518 | * mac-xdep.c: Delete file. | |
1519 | * mac-gdb.r: Delete file. | |
1520 | * mac-defs.h: Delete file. | |
1521 | * mac-nat.c: Delete file. | |
1522 | * config/powerpc/macos.mh: Delete file. | |
1523 | * config/powerpc/macos.mt: Delete file. | |
1524 | * config/powerpc/nm-macos.h: Delete file. | |
1525 | * config/powerpc/tm-macos.h: Delete file. | |
1526 | * source.c (openp, open_source_file): Remove obsolete code. | |
1527 | * top.c (gdb_readline): Ditto. | |
1528 | * utils.c (query): Ditto. | |
1529 | * event-top.c (display_gdb_prompt): Ditto. | |
1530 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
1531 | * NEWS: Update. | |
1532 | ||
d7449b42 AC |
1533 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
1534 | ||
1535 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
1536 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
1537 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
1538 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
1539 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
1540 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
1541 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
1542 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
1543 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
1544 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
1545 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
1546 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
1547 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
1548 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
1549 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
1550 | * gdbarch.c: Re-generate. | |
1551 | ||
356374e8 DJ |
1552 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1553 | ||
1554 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
1555 | for core files. | |
1556 | ||
a2b8f8f8 JT |
1557 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1558 | ||
1559 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
1560 | ||
12466af9 AC |
1561 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
1562 | ||
1563 | * value.h (value_ptr): Delete typedef. | |
1564 | ||
3549ab40 JT |
1565 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1566 | ||
1567 | * i386nbsd-nat.c: Update copyright years. | |
1568 | Include i386-tdep.h. | |
1569 | ||
fedbd091 EZ |
1570 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
1571 | ||
1572 | * stabsread.c: Update copyright years. | |
1573 | ||
1574 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
1575 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
1576 | output for structs and unions. | |
fec8b34f | 1577 | Fix PR gdb/269. |
fedbd091 | 1578 | |
eb43544b DJ |
1579 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1580 | ||
1581 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
1582 | prototype. | |
1583 | ||
1514d34e DJ |
1584 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1585 | ||
1586 | * cp-abi.c: Fix whitespace. | |
1587 | (baseclass_offset): New wrapper function. | |
1588 | * cp-abi.h (baseclass_offset): Add prototype. | |
1589 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
1590 | ||
1591 | * valops.c (vb_match): Move to... | |
1592 | * gnu-v2-abi.c (vb_match): here. | |
1593 | * valops.c (baseclass_offset): Move to... | |
1594 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
1595 | ||
1596 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
1597 | ||
1598 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
1599 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
1600 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
1601 | ||
7f8c9282 DJ |
1602 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1603 | ||
1604 | * valops.c (find_overload_match): Accept obj as a | |
1605 | reference parameter. Update it before returning. | |
1606 | * value.h (find_overload_match): Update prototype. | |
1607 | * eval.c (evaluate_subexp_standard): Pass object to | |
1608 | find_overload_match by reference. | |
1609 | ||
f23631e4 AC |
1610 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
1611 | ||
1612 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
1613 | register attribute from value declarations. | |
1614 | * valops.c: Ditto. | |
1615 | * value.h: Ditto. | |
1616 | * scm-lang.c (scm_lookup_name): Ditto. | |
1617 | ||
79e10fab | 1618 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 1619 | |
79e10fab AC |
1620 | Abstract the functionality of iterating over mapped memory |
1621 | regions into a general purpose iterator function. | |
abf22e64 | 1622 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
1623 | iterator for memory sections. |
1624 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
1625 | (solib_mappings_callback): New function, callback for above. | |
1626 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
1627 | (info_mappings_callback): New function, callback for above. | |
1628 | ||
1629 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
1630 | ||
c5ad026a MK |
1631 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
1632 | ||
d2a7c97a MK |
1633 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
1634 | * i386-tdep.c: Include "elf-bfd.h". | |
1635 | (process_note_abi_tag_sections): New function. | |
1636 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
1637 | combinations. | |
1638 | ||
c5ad026a MK |
1639 | * maint.c (_initialize_maint_cmds): Add missing \ in |
1640 | string-literal. | |
1641 | ||
a1a5b71e | 1642 | For older changes see ChangeLog-2001 |
c906108c SS |
1643 | \f |
1644 | Local Variables: | |
1645 | mode: change-log | |
1646 | left-margin: 8 | |
1647 | fill-column: 74 | |
1648 | version-control: never | |
1649 | End: |